Open CASCADE Technology
6.5.4
|
#include <BOP_ShapeSet.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BOP_ShapeSet (const TopAbs_ShapeEnum SubShapeType) |
Creates a ShapeSet in order to build shapes connected by <SubShapeType> shapes. | |
virtual void | Delete () |
Destructor | |
virtual | ~BOP_ShapeSet () |
virtual void | AddShape (const TopoDS_Shape &S) |
Adds <S> to the list of shapes. (wires or shells). | |
virtual void | AddStartElement (const TopoDS_Shape &S) |
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 Add subshapes of S to the map of subshapes (mySubShapeMap) Add S to the list of shape incident to subshapes of S. | |
const TopTools_ListOfShape & | StartElements () const |
Selector. Iteration on the shapes of AddShape() | |
void | InitShapes () |
Internal purpose | |
Standard_Boolean | MoreShapes () const |
Internal purpose | |
void | NextShape () |
Internal purpose | |
const TopoDS_Shape & | Shape () const |
void | InitStartElements () |
Standard_Boolean | MoreStartElements () const |
Internal purpose | |
void | NextStartElement () |
Internal purpose | |
const TopoDS_Shape & | StartElement () const |
Iteration on the neighbours of a shape of type myShapeType through its subshapes of type mySubShapeType. | |
virtual void | InitNeighbours (const TopoDS_Shape &S) |
Standard_Boolean | MoreNeighbours () |
Internal purpose | |
void | NextNeighbour () |
Internal purpose | |
const TopoDS_Shape & | Neighbour () const |
Internal purpose | |
TopTools_ListOfShape & | ChangeStartShapes () |
Modifier | |
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 TopTools_ListOfShape & | MakeNeighboursList (const TopoDS_Shape &E, const TopoDS_Shape &V) |
Standard_Integer | MaxNumberSubShape (const TopoDS_Shape &Shape) |
void | ClearContents () |
Clears myStartShapes,mySubShapeMap,myShapes | |
Protected Member Functions | |
void | ProcessAddShape (const TopoDS_Shape &S) |
Internal purpose | |
void | ProcessAddStartElement (const TopoDS_Shape &S) |
Internal purpose | |
void | ProcessAddElement (const TopoDS_Shape &S) |
Internal purpose | |
Protected Attributes | |
TopAbs_ShapeEnum | myShapeType |
TopAbs_ShapeEnum | mySubShapeType |
TopExp_Explorer | mySubShapeExplorer |
TopTools_ListOfShape | myStartShapes |
TopTools_ListIteratorOfListOfShape | myStartShapesIter |
TopTools_IndexedDataMapOfShapeListOfShape | mySubShapeMap |
TopTools_ListIteratorOfListOfShape | myIncidentShapesIter |
TopTools_ListOfShape | myShapes |
TopTools_ListIteratorOfListOfShape | myShapesIter |
TopoDS_Shape | myCurrentShape |
TopTools_ListOfShape | myCurrentShapeNeighbours |
DEFINE_STANDARD_ALLOC BOP_ShapeSet::BOP_ShapeSet | ( | const TopAbs_ShapeEnum | SubShapeType | ) |
virtual BOP_ShapeSet::~BOP_ShapeSet | ( | ) | [inline, virtual] |
virtual void BOP_ShapeSet::AddElement | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented in BOP_WireEdgeSet.
virtual void BOP_ShapeSet::AddShape | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented in BOP_WireEdgeSet.
virtual void BOP_ShapeSet::AddStartElement | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented in BOP_WireEdgeSet.
virtual void BOP_ShapeSet::Delete | ( | ) | [virtual] |
virtual void BOP_ShapeSet::FindNeighbours | ( | ) | [virtual] |
Reimplemented in BOP_WireEdgeSet.
virtual void BOP_ShapeSet::InitNeighbours | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented in BOP_WireEdgeSet.
virtual const TopTools_ListOfShape& BOP_ShapeSet::MakeNeighboursList | ( | const TopoDS_Shape & | E, |
const TopoDS_Shape & | V | ||
) | [virtual] |
Reimplemented in BOP_WireEdgeSet.
Standard_Boolean BOP_ShapeSet::MoreShapes | ( | ) | const |
const TopoDS_Shape& BOP_ShapeSet::Neighbour | ( | ) | const |
void BOP_ShapeSet::ProcessAddElement | ( | const TopoDS_Shape & | S | ) | [protected] |
void BOP_ShapeSet::ProcessAddShape | ( | const TopoDS_Shape & | S | ) | [protected] |
void BOP_ShapeSet::ProcessAddStartElement | ( | const TopoDS_Shape & | S | ) | [protected] |
const TopoDS_Shape& BOP_ShapeSet::Shape | ( | ) | const |
const TopoDS_Shape& BOP_ShapeSet::StartElement | ( | ) | const |
const TopTools_ListOfShape& BOP_ShapeSet::StartElements | ( | ) | const |
TopoDS_Shape BOP_ShapeSet::myCurrentShape [protected] |
TopTools_ListOfShape BOP_ShapeSet::myShapes [protected] |
TopAbs_ShapeEnum BOP_ShapeSet::myShapeType [protected] |
TopTools_ListOfShape BOP_ShapeSet::myStartShapes [protected] |
TopExp_Explorer BOP_ShapeSet::mySubShapeExplorer [protected] |
TopAbs_ShapeEnum BOP_ShapeSet::mySubShapeType [protected] |