0024902: Visualization, StdPrs_ShadedShape - advanced processing of Compounds contain...
authoraba <aba@opencascade.com>
Thu, 19 Jun 2014 07:41:34 +0000 (11:41 +0400)
committerapn <apn@opencascade.com>
Thu, 26 Jun 2014 08:47:54 +0000 (12:47 +0400)
commit31c0e2194ee587f0ff03f3438704c4aca3f9a042
tree2f708b0cfbd0b5299d368f255767c41a3a508460
parent7bbe90f2a78e87644050a1ff1c0b0ca1d32a8786
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.
src/Graphic3d/Graphic3d_Group.cdl
src/Graphic3d/Graphic3d_Group.cxx
src/OpenGl/OpenGl_CappingAlgo.cxx
src/StdPrs/StdPrs_ShadedShape.cdl
src/StdPrs/StdPrs_ShadedShape.cxx
tests/bugs/vis/bug24902_1 [new file with mode: 0644]
tests/bugs/vis/bug24902_2 [new file with mode: 0644]