Archived issue #0024873
Draw Harness, ViewerTest - add command vbounding to show presentation bounding box
Description
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.
Steps to reproduce
pload MODELING VISUALIZATION vinit View1 vclear vaxo vsetdispmode 1 psphere s 2 vdisplay s vfit vbounding s vbounding -print s
Public activity
5 archived notes
Participants are labeled by their role within this record.
Patch is ready for review in branch CR24873.
Branch CR24873 reviewed without remarks, ready for testing.
Dear Commenter 1,
Branch CR24873 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
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.
Branch CR24873 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
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.
Compilation warning should be fixed now - please re-test compilation.
Dear Commenter 1,
Branch CR24873 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
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.
Branch CR24873 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
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.
Related records