Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
BOP_ShapeSet Class Reference

#include <BOP_ShapeSet.hxx>

Inheritance diagram for BOP_ShapeSet:
Inheritance graph
[legend]

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_ListOfShapeStartElements () const
 Selector.



Iteration on the shapes of AddShape()


void InitShapes ()
 Internal purpose


Standard_Boolean MoreShapes () const
 Internal purpose


void NextShape ()
 Internal purpose


const TopoDS_ShapeShape () const
void InitStartElements ()
Standard_Boolean MoreStartElements () const
 Internal purpose


void NextStartElement ()
 Internal purpose


const TopoDS_ShapeStartElement () 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_ShapeNeighbour () const
 Internal purpose


TopTools_ListOfShapeChangeStartShapes ()
 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

Constructor & Destructor Documentation

virtual BOP_ShapeSet::~BOP_ShapeSet ( ) [inline, virtual]

Member Function Documentation

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.

Reimplemented in BOP_WireEdgeSet.

virtual void BOP_ShapeSet::Delete ( ) [virtual]
virtual void BOP_ShapeSet::FindNeighbours ( ) [virtual]

Reimplemented in BOP_WireEdgeSet.

Reimplemented in BOP_WireEdgeSet.

Reimplemented in BOP_WireEdgeSet.


Field Documentation


The documentation for this class was generated from the following file: