]> OCCT Git - occt-copy.git/commit
0029787: Avoid in presentation edges of certain continuity class
authorasl <asl@opencascade.com>
Fri, 18 May 2018 13:31:40 +0000 (16:31 +0300)
committerasl <asl@opencascade.com>
Mon, 21 May 2018 08:07:06 +0000 (11:07 +0300)
commit7e5dd86f52ba8a4a54803afa83d4b719caf0c208
tree0853ce9d36cb21c9ae6ab714b7a5898c3a23f0af
parent746677a0f0ffb2d2eebce121ea9af42a4734e4e0
0029787: Avoid in presentation edges of certain continuity class

A new flag theMostAllowedEdgeClass is passed to the methods StdPrs_ShadedShape: Add, FillFaceBoundaries. It describes the most allowed continuity class of edges that will be included into the presentation. The edges with more continuity will be ignored. By default, the value is CN, i.e. all edges are included into the presentation.
The new methods in AIS_Shape: SetMostContinuityClass, MostContinuityClass allows specifying the most allowed continuity class of edges at the level of shape's presentation
src/AIS/AIS_Shape.cxx
src/AIS/AIS_Shape.hxx
src/StdPrs/StdPrs_ShadedShape.cxx
src/StdPrs/StdPrs_ShadedShape.hxx
src/ViewerTest/ViewerTest.cxx
tests/bugs/vis/bug29787 [new file with mode: 0644]