MantisBT - Open CASCADE
View Issue Details
0024873Open CASCADE[OCCT] OCCT:DRAWpublic2014-04-25 22:132014-11-11 12:52
kgv 
bugmaster 
normalfeature 
closedfixed 
 
[OCCT] 6.8.0[OCCT] 6.8.0 
bugs demo(001) bug24873_1, bug24873_2
0024873: Draw Harness, ViewerTest - add command vbounding to show presentation bounding box
Command bounding can be used to show bounding box in axo viewer, however there is not analog for 3D viewer. Presentation has method Prs3d_Presentation::BoundBox() which can be used to implement this command.
pload MODELING VISUALIZATION
vinit View1
vclear
vaxo
vsetdispmode 1
psphere s 2
vdisplay s
vfit
vbounding s
vbounding -print s
No tags attached.
related to 0024307closed apn TKOpenGl - efficient culling of large number of presentations 
Issue History
2014-04-25 22:13kgvNew Issue
2014-04-25 22:13kgvAssigned To => mkv
2014-04-25 22:14kgvAssigned Tomkv => kgv
2014-04-25 22:14kgvStatusnew => assigned
2014-04-25 22:14kgvRelationship addedrelated to 0024307
2014-04-25 22:31kgvNote Added: 0029089
2014-04-25 22:31kgvAssigned Tokgv => san
2014-04-25 22:31kgvStatusassigned => resolved
2014-04-25 22:35kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7353#r7353
2014-04-29 10:17sanNote Added: 0029116
2014-04-29 10:17sanAssigned Tosan => bugmaster
2014-04-29 10:17sanStatusresolved => reviewed
2014-04-29 15:05mkvAssigned Tobugmaster => mkv
2014-05-06 12:08mkvNote Added: 0029209
2014-05-06 12:09mkvTest case number => bugs demo(001) bug24873_1, bug24873_2
2014-05-06 12:09mkvAssigned Tomkv => kgv
2014-05-06 12:09mkvStatusreviewed => assigned
2014-05-06 12:23kgvNote Added: 0029210
2014-05-06 12:23kgvAssigned Tokgv => bugmaster
2014-05-06 12:23kgvStatusassigned => resolved
2014-05-06 12:23kgvStatusresolved => reviewed
2014-05-07 10:46mkvAssigned Tobugmaster => mkv
2014-05-08 12:13mkvNote Added: 0029250
2014-05-08 12:14mkvAssigned Tomkv => bugmaster
2014-05-08 12:14mkvStatusreviewed => tested
2014-05-12 16:20bugmasterChangeset attached => occt master c2a388f8
2014-05-12 16:20bugmasterStatustested => verified
2014-05-12 16:20bugmasterResolutionopen => fixed
2014-11-11 12:47aivFixed in Version => 6.8.0
2014-11-11 12:52aivStatusverified => closed

Notes
(0029089)
kgv   
2014-04-25 22:31   
Patch is ready for review in branch CR24873.
(0029116)
san   
2014-04-29 10:17   
Branch CR24873 reviewed without remarks, ready for testing.
(0029209)
mkv   
2014-05-06 12:08   
Dear BugMaster,

Branch CR24873 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: af1fd8bb40df8a98489f3676c500b7bd5e388729

Number of compiler warnings:

occt component :
Linux: 19 (18 on master)
Windows: 0 (0 on master)

There is compilation error on Linux platform:
ViewerTest.cxx:2371, GNU C Compiler 4 (gcc), Priority: Normal
comparison between signed and unsigned integer expressions

products component :
Linux: 12 (12 on master)
Windows: 2 (2 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
http://occt-tests/CR24873-master-occt/Debian60-64/bugs/demo/bug24873_1.html [^]
http://occt-tests/CR24873-master-occt/Windows-32-VC9/bugs/demo/bug24873_1.html [^]
bugs demo(001) bug24873_1: OK

http://occt-tests/CR24873-master-occt/Debian60-64/bugs/demo/bug24873_2.html [^]
http://occt-tests/CR24873-master-occt/Windows-32-VC9/bugs/demo/bug24873_2.html [^]
bugs demo(001) bug24873_2: OK

Testing on Linux:
Total MEMORY difference: 354962652 / 354644212
Total CPU difference: 62547.56999999998 / 53204.47999999981

Testing on Windows:
Total MEMORY difference: 379472340 / 379843896
Total CPU difference: 38342.75 / 36615.28125

There are no differences in images found by testdiff.
(0029210)
kgv   
2014-05-06 12:23   
Compilation warning should be fixed now - please re-test compilation.
(0029250)
mkv   
2014-05-08 12:13   
Dear BugMaster,

Branch CR24873 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: bbb49da458cae0e600fdca3329b4abbcea7d08d7

Number of compiler warnings:

occt component :
Linux: 18 (18 on master)
Windows: 0 (0 on master)

products component :
Linux: 11 (12 on master)
Windows: 2 (2 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Testing cases:
http://occt-tests/CR24873-master-occt/Debian60-64/bugs/demo/bug24873_1.html [^]
http://occt-tests/CR24873-master-occt/Windows-32-VC9/bugs/demo/bug24873_1.html [^]
bugs demo(001) bug24873_1: OK

http://occt-tests/CR24873-master-occt/Debian60-64/bugs/demo/bug24873_2.html [^]
http://occt-tests/CR24873-master-occt/Windows-32-VC9/bugs/demo/bug24873_2.html [^]
bugs demo(001) bug24873_2: OK

Testing on Linux:
Total MEMORY difference: 355554664 / 355682284
Total CPU difference: 52280.16999999991 / 52178.399999999936

Testing on Windows:
Total MEMORY difference: 379819484 / 380388308
Total CPU difference: 49573.40625 / 37765.75

There are no differences in images found by testdiff.