![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Auxiliary class providing an exploration of a set of shapes to build faces or solids. To build faces : shapes are wires, elements are edges. To build solids : shapes are shells, elements are faces. The ShapeSet stores a list of shapes, a list of elements to start reconstructions, and a map to search neighbours. The map stores the connection between elements through subshapes of type <SubShapeType> given in constructor. <SubShapeType> is: More...
#include <TopOpeBRepBuild_ShapeSet.hxx>

Public Member Functions | |
| TopOpeBRepBuild_ShapeSet (const TopAbs_ShapeEnum SubShapeType, const bool checkshape=true) | |
| Creates a ShapeSet in order to build shapes connected by <SubShapeType> shapes. <checkshape>:check (or not) the shapes, startelements, elements added. | |
| virtual | ~TopOpeBRepBuild_ShapeSet () |
| virtual void | AddShape (const TopoDS_Shape &S) |
| Adds | |
| virtual void | AddStartElement (const TopoDS_Shape &S) |
| (S is a face or edge) Add S to the list of starting shapes used for reconstructions. apply AddElement(S). | |
| virtual void | AddElement (const TopoDS_Shape &S) |
| for each subshape SE of S of type mySubShapeType | |
| const NCollection_List< TopoDS_Shape > & | StartElements () const |
| return a reference on myStartShapes | |
| void | InitShapes () |
| bool | MoreShapes () const |
| void | NextShape () |
| const TopoDS_Shape & | Shape () const |
| void | InitStartElements () |
| bool | MoreStartElements () const |
| void | NextStartElement () |
| const TopoDS_Shape & | StartElement () const |
| virtual void | InitNeighbours (const TopoDS_Shape &S) |
| bool | MoreNeighbours () |
| void | NextNeighbour () |
| const TopoDS_Shape & | Neighbour () const |
| NCollection_List< TopoDS_Shape > & | ChangeStartShapes () |
| virtual void | FindNeighbours () |
| Build the list of neighbour shapes of myCurrentShape (neighbour shapes and myCurrentShapes are of type t) Initialize myIncidentShapesIter on neighbour shapes. | |
| virtual const NCollection_List< TopoDS_Shape > & | MakeNeighboursList (const TopoDS_Shape &E, const TopoDS_Shape &V) |
| int | MaxNumberSubShape (const TopoDS_Shape &Shape) |
| void | CheckShape (const bool checkshape) |
| bool | CheckShape () const |
| bool | CheckShape (const TopoDS_Shape &S, const bool checkgeom=false) |
| void | DumpName (Standard_OStream &OS, const TCollection_AsciiString &str) const |
| void | DumpCheck (Standard_OStream &OS, const TCollection_AsciiString &str, const TopoDS_Shape &S, const bool chk) const |
| virtual void | DumpSS () |
| virtual void | DumpBB () |
| void | DEBName (const TCollection_AsciiString &N) |
| const TCollection_AsciiString & | DEBName () const |
| void | DEBNumber (const int I) |
| int | DEBNumber () const |
| virtual TCollection_AsciiString | SName (const TopoDS_Shape &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const |
| virtual TCollection_AsciiString | SNameori (const TopoDS_Shape &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const |
| virtual TCollection_AsciiString | SName (const NCollection_List< TopoDS_Shape > &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const |
| virtual TCollection_AsciiString | SNameori (const NCollection_List< TopoDS_Shape > &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const |
Protected Member Functions | |
| void | ProcessAddShape (const TopoDS_Shape &S) |
| void | ProcessAddStartElement (const TopoDS_Shape &S) |
| void | ProcessAddElement (const TopoDS_Shape &S) |
Auxiliary class providing an exploration of a set of shapes to build faces or solids. To build faces : shapes are wires, elements are edges. To build solids : shapes are shells, elements are faces. The ShapeSet stores a list of shapes, a list of elements to start reconstructions, and a map to search neighbours. The map stores the connection between elements through subshapes of type <SubShapeType> given in constructor. <SubShapeType> is:
Signature needed by the BlockBuilder: InitStartElements(me : in out) MoreStartElements(me) returns Boolean; NextStartElement(me : in out); StartElement(me) returns Shape; —C++: return const & InitNeighbours(me : in out; S : Shape); MoreNeighbours(me) returns Boolean; NextNeighbour(me : in out); Neighbour(me) returns Shape; —C++: return const &
| TopOpeBRepBuild_ShapeSet::TopOpeBRepBuild_ShapeSet | ( | const TopAbs_ShapeEnum | SubShapeType, |
| const bool | checkshape = true ) |
Creates a ShapeSet in order to build shapes connected by <SubShapeType> shapes. <checkshape>:check (or not) the shapes, startelements, elements added.
|
virtual |
|
virtual |
for each subshape SE of S of type mySubShapeType
Reimplemented in TopOpeBRepBuild_ShellFaceSet, and TopOpeBRepBuild_WireEdgeSet.
|
virtual |
Adds to the list of shapes. (wires or shells).
Reimplemented in TopOpeBRepBuild_ShellFaceSet, and TopOpeBRepBuild_WireEdgeSet.
|
virtual |
(S is a face or edge) Add S to the list of starting shapes used for reconstructions. apply AddElement(S).
Reimplemented in TopOpeBRepBuild_ShellFaceSet, and TopOpeBRepBuild_WireEdgeSet.
| NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_ShapeSet::ChangeStartShapes | ( | ) |
| bool TopOpeBRepBuild_ShapeSet::CheckShape | ( | ) | const |
| void TopOpeBRepBuild_ShapeSet::CheckShape | ( | const bool | checkshape | ) |
| bool TopOpeBRepBuild_ShapeSet::CheckShape | ( | const TopoDS_Shape & | S, |
| const bool | checkgeom = false ) |
| const TCollection_AsciiString & TopOpeBRepBuild_ShapeSet::DEBName | ( | ) | const |
| void TopOpeBRepBuild_ShapeSet::DEBName | ( | const TCollection_AsciiString & | N | ) |
| int TopOpeBRepBuild_ShapeSet::DEBNumber | ( | ) | const |
| void TopOpeBRepBuild_ShapeSet::DEBNumber | ( | const int | I | ) |
|
virtual |
| void TopOpeBRepBuild_ShapeSet::DumpCheck | ( | Standard_OStream & | OS, |
| const TCollection_AsciiString & | str, | ||
| const TopoDS_Shape & | S, | ||
| const bool | chk ) const |
| void TopOpeBRepBuild_ShapeSet::DumpName | ( | Standard_OStream & | OS, |
| const TCollection_AsciiString & | str ) const |
|
virtual |
Reimplemented in TopOpeBRepBuild_ShellFaceSet, and TopOpeBRepBuild_WireEdgeSet.
|
virtual |
Build the list of neighbour shapes of myCurrentShape (neighbour shapes and myCurrentShapes are of type t) Initialize myIncidentShapesIter on neighbour shapes.
Reimplemented in TopOpeBRepBuild_WireEdgeSet.
|
virtual |
Reimplemented in TopOpeBRepBuild_WireEdgeSet.
| void TopOpeBRepBuild_ShapeSet::InitShapes | ( | ) |
| void TopOpeBRepBuild_ShapeSet::InitStartElements | ( | ) |
|
virtual |
Reimplemented in TopOpeBRepBuild_WireEdgeSet.
| int TopOpeBRepBuild_ShapeSet::MaxNumberSubShape | ( | const TopoDS_Shape & | Shape | ) |
| bool TopOpeBRepBuild_ShapeSet::MoreNeighbours | ( | ) |
| bool TopOpeBRepBuild_ShapeSet::MoreShapes | ( | ) | const |
| bool TopOpeBRepBuild_ShapeSet::MoreStartElements | ( | ) | const |
| const TopoDS_Shape & TopOpeBRepBuild_ShapeSet::Neighbour | ( | ) | const |
| void TopOpeBRepBuild_ShapeSet::NextNeighbour | ( | ) |
| void TopOpeBRepBuild_ShapeSet::NextShape | ( | ) |
| void TopOpeBRepBuild_ShapeSet::NextStartElement | ( | ) |
|
protected |
|
protected |
|
protected |
| const TopoDS_Shape & TopOpeBRepBuild_ShapeSet::Shape | ( | ) | const |
|
virtual |
Reimplemented in TopOpeBRepBuild_ShellFaceSet, and TopOpeBRepBuild_WireEdgeSet.
|
virtual |
Reimplemented in TopOpeBRepBuild_ShellFaceSet, and TopOpeBRepBuild_WireEdgeSet.
|
virtual |
Reimplemented in TopOpeBRepBuild_ShellFaceSet, and TopOpeBRepBuild_WireEdgeSet.
|
virtual |
Reimplemented in TopOpeBRepBuild_ShellFaceSet, and TopOpeBRepBuild_WireEdgeSet.
| const TopoDS_Shape & TopOpeBRepBuild_ShapeSet::StartElement | ( | ) | const |
| const NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_ShapeSet::StartElements | ( | ) | const |
return a reference on myStartShapes
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |