Open CASCADE Technology 6.5.2
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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 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.

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

BOP_ShapeSet::BOP_ShapeSet ( const TopAbs_ShapeEnum  SubShapeType)
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.

virtual void BOP_ShapeSet::AddStartElement ( const TopoDS_Shape S) [virtual]

Reimplemented in BOP_WireEdgeSet.

TopTools_ListOfShape& BOP_ShapeSet::ChangeStartShapes ( )
void BOP_ShapeSet::ClearContents ( )
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.

void BOP_ShapeSet::InitShapes ( )
void BOP_ShapeSet::InitStartElements ( )
virtual const TopTools_ListOfShape& BOP_ShapeSet::MakeNeighboursList ( const TopoDS_Shape E,
const TopoDS_Shape V 
) [virtual]

Reimplemented in BOP_WireEdgeSet.

Standard_Integer BOP_ShapeSet::MaxNumberSubShape ( const TopoDS_Shape Shape)
Standard_Boolean BOP_ShapeSet::MoreNeighbours ( )
Standard_Boolean BOP_ShapeSet::MoreShapes ( ) const
Standard_Boolean BOP_ShapeSet::MoreStartElements ( ) const
const TopoDS_Shape& BOP_ShapeSet::Neighbour ( ) const
void BOP_ShapeSet::NextNeighbour ( )
void BOP_ShapeSet::NextShape ( )
void BOP_ShapeSet::NextStartElement ( )
void BOP_ShapeSet::operator delete ( void *  anAddress) [inline]

Reimplemented in BOP_WireEdgeSet, and BOP_ShellFaceSet.

void* BOP_ShapeSet::operator new ( size_t  size) [inline]

Reimplemented in BOP_WireEdgeSet, and BOP_ShellFaceSet.

void* BOP_ShapeSet::operator new ( size_t  ,
void *  anAddress 
) [inline]

Reimplemented in BOP_WireEdgeSet, and BOP_ShellFaceSet.

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

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines