occt: master 31c0e219

Author Committer Branch Timestamp Parent
aba apn master 2014-06-19 07:41:34 master 7bbe90f2
Changeset 0024902: Visualization, StdPrs_ShadedShape - advanced processing of Compounds containing mixture of closed Solids and open Shells

StdPrs_ShadedShape, add flag theToExploreSolids to method ::Add().
Previously the tool collected triagnulations from all Faces into single graphic group.
The automated algorithm for back-face culling activation has to disable culling
when within closed Solids single Compound contains also open Shells.
Now tool is able to optionally (enabled by default) split these two categories of primitives
into dedicated groups with independent back-face culling settings.

In addition, this closed flag is now stored in Graphic3d_Group::myIsClosed which allows
capping algorithm OpenGl_CappingAlgo to automatically filter improper groups.
mod - src/Graphic3d/Graphic3d_Group.cdl Diff File
mod - src/Graphic3d/Graphic3d_Group.cxx Diff File
mod - src/OpenGl/OpenGl_CappingAlgo.cxx Diff File
mod - src/StdPrs/StdPrs_ShadedShape.cdl Diff File
mod - src/StdPrs/StdPrs_ShadedShape.cxx Diff File
add - tests/bugs/vis/bug24902_1 Diff File
add - tests/bugs/vis/bug24902_2 Diff File