0023200: Visualization - prevent multiple triangulating of a shape that already has...
authorosa <osa@opencascade.com>
Thu, 5 Mar 2015 11:48:42 +0000 (14:48 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 5 Mar 2015 11:49:32 +0000 (14:49 +0300)
commit4c5133866b71812e8c02e1a7fb63ae4be9ddef08
tree126361cdb8863253f98b784241c82fd03cf6b3da
parent5149c3f34bc78740ad716686e90ca5d81b1480dc
0023200: Visualization - prevent multiple triangulating of a shape that already has been triangulated

Add new flag IsAutoTriangulated to Prs3d_Drawer. It is True by default.
If this flag is True automatic re-triangulation with deflection-check logic will be applied.
Else this feature will be disable and triangulation is expected to be computed by application itself.

Change the syntax of vdefalts command.
Add new parameter -autoTriang for check of AutoTriangulated functionality.

Adjust camera position in test case bugs/xde/bug23969
19 files changed:
src/AIS/AIS_ColoredShape.cxx
src/AIS/AIS_ConnectedInteractive.cxx
src/AIS/AIS_Shape.cxx
src/AIS/AIS_TexturedShape.cxx
src/Prs3d/Prs3d_Drawer.cxx
src/Prs3d/Prs3d_Drawer.hxx
src/StdPrs/StdPrs_HLRPolyShape.cxx
src/StdPrs/StdPrs_ShadedShape.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/bug21753
tests/bugs/vis/bug23200 [new file with mode: 0644]
tests/bugs/vis/bug23200_1 [new file with mode: 0644]
tests/bugs/vis/bug23886_1
tests/bugs/vis/bug23886_2
tests/bugs/vis/bug23886_3
tests/bugs/xde/bug23969
tests/v3d/glsl/phong_couple
tests/v3d/glsl/phong_fuse
tests/v3d/glsl/phong_fuse2