0025300: Visualization - Build wireframe representation consistent with the shape...
authorvpa <vpa@opencascade.com>
Tue, 21 Apr 2015 21:53:37 +0000 (00:53 +0300)
committerski <ski@opencascade.com>
Thu, 20 Aug 2015 13:45:54 +0000 (16:45 +0300)
commit5ad8c033aa1cc1f91e49dc423491499ae8445faf
treefbec4a69e294ccb4416d635e1f58a23dfa417822
parent9ebaae37976435407c038f10187394dfc693dd59
0025300: Visualization - Build wireframe representation consistent with the shape's triangulation

1) Remove duplicating presentation algorithms for shapes StdPrs_WFShape, StdPrs_WFDeflectionShape.
2) Rewrite Prs3d_WFShape to use deflection for non-triangulated shapes and rename it to StdPrs_WFShape.
3) Revise and correct references in code.
4) Rename StdPrs_ToolShadedShape to StdPrs_ToolTriangulatedShape (reused in StdPrs_WFShape, StdPrs_ShadedShape).
5) Add StdPrs_BndBox for drawing bounding box presentation.
6) Implemented on-triangulation isoline builder.
7) Add option -isoontriangulation to vaspects command to enable on-triangulation isoline builder for shape.
8) Drawer's maximum UV parameter value is taken into account in isolines calculation correctly.
9) Add option -setMaxParamValue to vaspects command to change drawer's maximum UV parameter value.
50 files changed:
samples/mfc/standard/01_Geometry/src/StdAfx.h
samples/mfc/standard/Common/ISession2D/ISession2D_Shape.cpp
samples/mfc/standard/Common/StdAfx.h
samples/mfc/standard/Common/User_Cylinder.cxx
src/AIS/AIS.cxx
src/AIS/AIS_ColoredShape.cxx
src/AIS/AIS_ConnectedInteractive.cxx
src/AIS/AIS_IdenticRelation.cxx
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_InteractiveContext.hxx
src/AIS/AIS_InteractiveObject.cxx
src/AIS/AIS_InteractiveObject.hxx
src/AIS/AIS_OffsetDimension.cxx
src/AIS/AIS_PointCloud.cxx
src/AIS/AIS_Relation.cxx
src/AIS/AIS_Shape.cxx
src/AIS/AIS_TexturedShape.cxx
src/Prs3d/FILES
src/Prs3d/Prs3d_Drawer.cxx
src/Prs3d/Prs3d_Drawer.hxx
src/Prs3d/Prs3d_WFShape.cxx [deleted file]
src/Prs3d/Prs3d_WFShape.hxx [deleted file]
src/StdPrs/FILES
src/StdPrs/StdPrs_BndBox.cxx [new file with mode: 0644]
src/StdPrs/StdPrs_BndBox.hxx [new file with mode: 0644]
src/StdPrs/StdPrs_Curve.cxx
src/StdPrs/StdPrs_Curve.hxx
src/StdPrs/StdPrs_Isolines.cxx [new file with mode: 0644]
src/StdPrs/StdPrs_Isolines.hxx [new file with mode: 0644]
src/StdPrs/StdPrs_ShadedShape.cxx
src/StdPrs/StdPrs_ShadedShape.hxx
src/StdPrs/StdPrs_ToolShadedShape.cxx [deleted file]
src/StdPrs/StdPrs_ToolShadedShape.hxx [deleted file]
src/StdPrs/StdPrs_ToolTriangulatedShape.cxx [new file with mode: 0644]
src/StdPrs/StdPrs_ToolTriangulatedShape.hxx [new file with mode: 0644]
src/StdPrs/StdPrs_WFDeflectionRestrictedFace.cxx
src/StdPrs/StdPrs_WFDeflectionRestrictedFace.hxx
src/StdPrs/StdPrs_WFDeflectionShape.hxx [deleted file]
src/StdPrs/StdPrs_WFRestrictedFace.cxx
src/StdPrs/StdPrs_WFRestrictedFace.hxx
src/StdPrs/StdPrs_WFShape.cxx [new file with mode: 0644]
src/StdPrs/StdPrs_WFShape.hxx
src/StdPrs/StdPrs_WFSurface.cxx
src/StdSelect/StdSelect_Shape.cxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
tests/bugs/vis/bug129_2
tests/bugs/vis/bug25300_1 [new file with mode: 0644]
tests/bugs/vis/bug25300_2 [new file with mode: 0644]
tests/bugs/vis/bug25935