OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBO
BOP


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)
Standard_EXPORT BOP_ShapeSet (const TopAbs_ShapeEnum SubShapeType)
 Creates a ShapeSet in order to build shapes connected
by <subshapetype> shapes.
.
virtual Standard_EXPORT void Delete ()
 Destructor
.
virtual Standard_EXPORT ~BOP_ShapeSet ()
virtual Standard_EXPORT void AddShape (const TopoDS_Shape &S)
 Adds <s> to the list of shapes. (wires or shells).
.
virtual Standard_EXPORT void AddStartElement (const TopoDS_Shape &S)
 Add S to the list of starting shapes used for reconstructions.
apply AddElement(S).
.
virtual Standard_EXPORT 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.
.
Standard_EXPORT const TopTools_ListOfShape & StartElements () const
 Selector.
.
Standard_EXPORT void InitShapes ()
 Internal purpose
.
Standard_EXPORT Standard_Boolean MoreShapes () const
 Internal purpose
.
Standard_EXPORT void NextShape ()
 Internal purpose
.
Standard_EXPORT const TopoDS_Shape & Shape () const
Standard_EXPORT void InitStartElements ()
Standard_EXPORT Standard_Boolean MoreStartElements () const
 Internal purpose
.
Standard_EXPORT void NextStartElement ()
 Internal purpose
.
Standard_EXPORT const TopoDS_Shape & StartElement () const
 Iteration on the neighbours of a shape of type myShapeType
through its subshapes of type mySubShapeType.
.
virtual Standard_EXPORT void InitNeighbours (const TopoDS_Shape &S)
Standard_EXPORT Standard_Boolean MoreNeighbours ()
 Internal purpose
.
Standard_EXPORT void NextNeighbour ()
 Internal purpose
.
Standard_EXPORT const TopoDS_Shape & Neighbour () const
 Internal purpose
.
Standard_EXPORT TopTools_ListOfShape & ChangeStartShapes ()
 Modifier
.
virtual Standard_EXPORT void FindNeighbours ()
 Build the list of neighbour shapes of myCurrentShape
(neighbour shapes and myCurrentShapes are of type t)
Initialize myIncidentShapesIter on neighbour shapes.
.
virtual Standard_EXPORT const
TopTools_ListOfShape & 
MakeNeighboursList (const TopoDS_Shape &E, const TopoDS_Shape &V)
Standard_EXPORT Standard_Integer MaxNumberSubShape (const TopoDS_Shape &Shape)
Standard_EXPORT void ClearContents ()
 Clears myStartShapes,mySubShapeMap,myShapes
.

Protected Member Functions

Standard_EXPORT void ProcessAddShape (const TopoDS_Shape &S)
 Internal purpose
.
Standard_EXPORT void ProcessAddStartElement (const TopoDS_Shape &S)
 Internal purpose
.
Standard_EXPORT 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

Standard_EXPORT BOP_ShapeSet::BOP_ShapeSet const TopAbs_ShapeEnum  SubShapeType  ) 
 

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


Member Function Documentation

virtual Standard_EXPORT void BOP_ShapeSet::AddElement const TopoDS_Shape &  S  )  [virtual]
 

Reimplemented in BOP_WireEdgeSet.

virtual Standard_EXPORT void BOP_ShapeSet::AddShape const TopoDS_Shape &  S  )  [virtual]
 

Reimplemented in BOP_WireEdgeSet.

virtual Standard_EXPORT void BOP_ShapeSet::AddStartElement const TopoDS_Shape &  S  )  [virtual]
 

Reimplemented in BOP_WireEdgeSet.

Standard_EXPORT TopTools_ListOfShape& BOP_ShapeSet::ChangeStartShapes  ) 
 

Standard_EXPORT void BOP_ShapeSet::ClearContents  ) 
 

virtual Standard_EXPORT void BOP_ShapeSet::Delete  )  [virtual]
 

virtual Standard_EXPORT void BOP_ShapeSet::FindNeighbours  )  [virtual]
 

Reimplemented in BOP_WireEdgeSet.

virtual Standard_EXPORT void BOP_ShapeSet::InitNeighbours const TopoDS_Shape &  S  )  [virtual]
 

Reimplemented in BOP_WireEdgeSet.

Standard_EXPORT void BOP_ShapeSet::InitShapes  ) 
 

Standard_EXPORT void BOP_ShapeSet::InitStartElements  ) 
 

virtual Standard_EXPORT const TopTools_ListOfShape& BOP_ShapeSet::MakeNeighboursList const TopoDS_Shape &  E,
const TopoDS_Shape &  V
[virtual]
 

Reimplemented in BOP_WireEdgeSet.

Standard_EXPORT Standard_Integer BOP_ShapeSet::MaxNumberSubShape const TopoDS_Shape &  Shape  ) 
 

Standard_EXPORT Standard_Boolean BOP_ShapeSet::MoreNeighbours  ) 
 

Standard_EXPORT Standard_Boolean BOP_ShapeSet::MoreShapes  )  const
 

Standard_EXPORT Standard_Boolean BOP_ShapeSet::MoreStartElements  )  const
 

Standard_EXPORT const TopoDS_Shape& BOP_ShapeSet::Neighbour  )  const
 

Standard_EXPORT void BOP_ShapeSet::NextNeighbour  ) 
 

Standard_EXPORT void BOP_ShapeSet::NextShape  ) 
 

Standard_EXPORT void BOP_ShapeSet::NextStartElement  ) 
 

void BOP_ShapeSet::operator delete void *  anAddress  )  [inline]
 

Reimplemented in BOP_ShellFaceSet, and BOP_WireEdgeSet.

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

Reimplemented in BOP_ShellFaceSet, and BOP_WireEdgeSet.

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

Reimplemented in BOP_ShellFaceSet, and BOP_WireEdgeSet.

Standard_EXPORT void BOP_ShapeSet::ProcessAddElement const TopoDS_Shape &  S  )  [protected]
 

Standard_EXPORT void BOP_ShapeSet::ProcessAddShape const TopoDS_Shape &  S  )  [protected]
 

Standard_EXPORT void BOP_ShapeSet::ProcessAddStartElement const TopoDS_Shape &  S  )  [protected]
 

Standard_EXPORT const TopoDS_Shape& BOP_ShapeSet::Shape  )  const
 

Standard_EXPORT const TopoDS_Shape& BOP_ShapeSet::StartElement  )  const
 

Standard_EXPORT const TopTools_ListOfShape& BOP_ShapeSet::StartElements  )  const
 


Field Documentation

TopoDS_Shape BOP_ShapeSet::myCurrentShape [protected]
 

TopTools_ListOfShape BOP_ShapeSet::myCurrentShapeNeighbours [protected]
 

TopTools_ListIteratorOfListOfShape BOP_ShapeSet::myIncidentShapesIter [protected]
 

TopTools_ListOfShape BOP_ShapeSet::myShapes [protected]
 

TopTools_ListIteratorOfListOfShape BOP_ShapeSet::myShapesIter [protected]
 

TopAbs_ShapeEnum BOP_ShapeSet::myShapeType [protected]
 

TopTools_ListOfShape BOP_ShapeSet::myStartShapes [protected]
 

TopTools_ListIteratorOfListOfShape BOP_ShapeSet::myStartShapesIter [protected]
 

TopExp_Explorer BOP_ShapeSet::mySubShapeExplorer [protected]
 

TopTools_IndexedDataMapOfShapeListOfShape BOP_ShapeSet::mySubShapeMap [protected]
 

TopAbs_ShapeEnum BOP_ShapeSet::mySubShapeType [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:40:40 2008 for OpenCASCADE by  doxygen 1.4.1