0023407: Draw face outlines for XDE objects
authorapl <apl@opencascade.com>
Fri, 14 Sep 2012 10:37:57 +0000 (14:37 +0400)
committerapl <apl@opencascade.com>
Fri, 14 Sep 2012 10:37:57 +0000 (14:37 +0400)
commita2d5ab2e7f2c58d793e039f87b18f2790708ab31
tree4ebe3b239f8b241c232622b9269ba4a2eb768951
parentdd2c7137e0cfa49f2cba7116cdbc8e1c7b3a499e
0023407: Draw face outlines for XDE objects

FaceOutline aspect and flag added to AIS_Drawer, Prs3d_Drawer.cdl
FaceOutlines computed by StdPrs_ShadedShape and build upon the edge triangulation.
"vshowoutlines" draw command for testing outlines on AIS_Shapes,
"XShowOutlines" draw command for testing outlines on XCAF objects.
remarks corrected:
- FaceOutline renamed to FaceBoundary
- Graphic3d_ArrayOfSegments with edges used instead of Graphic3d_ArrayOfPolylines with bounds.
draw boundaries in separate Graphic3d_Group.
Adding test cases bugs/vis/CR23407_1 CR23407_2
12 files changed:
src/AIS/AIS_Drawer.cdl
src/AIS/AIS_Drawer.cxx
src/AIS/AIS_Drawer.lxx
src/Prs3d/Prs3d_Drawer.cdl
src/Prs3d/Prs3d_Drawer.cxx
src/StdPrs/StdPrs_ShadedShape.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/XDEDRAW/XDEDRAW.cxx
tests/bugs/end
tests/bugs/grids.list
tests/bugs/vis/CR23407_1 [new file with mode: 0755]
tests/bugs/vis/CR23407_2 [new file with mode: 0755]