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

ModelingAlgorithms
TKBO
BOPTools


BOPTools_DSFiller Class Reference

class that provides
1. creation of the data structure (DS)
2. creation of the interferences' pool
3. invokation of PaveFiller->Perform() to fill the DS

#include <BOPTools_DSFiller.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BOPTools_DSFiller ()
 Empty constructor
.
Standard_EXPORT void Destroy ()
 Destructor
.
 ~BOPTools_DSFiller ()
Standard_EXPORT void SetShapes (const TopoDS_Shape &aS1, const TopoDS_Shape &aS2)
 Modifier
Sets the arguments of boolean operation
.
Standard_EXPORT const TopoDS_Shape & Shape1 () const
 Selector
.
Standard_EXPORT const TopoDS_Shape & Shape2 () const
 Selector
.
Standard_EXPORT void Perform ()
 Performs the filling of the DS

.
Standard_EXPORT void InitFillersAndPools ()
Standard_EXPORT void PartialPerform (const TColStd_SetOfInteger &anObjSubSet, const TColStd_SetOfInteger &aToolSubSet)
Standard_EXPORT void ToCompletePerform ()
Standard_EXPORT void Perform (const BOPTools_SSIntersectionAttribute &theSectionAttribute)
 Performs the filling of the DS
.
Standard_EXPORT const BooleanOperations_ShapesDataStructureDS () const
 Selector
.
Standard_EXPORT const BOPTools_InterferencePoolInterfPool () const
 Selector
.
Standard_EXPORT const BOPTools_PavePoolPavePool () const
 Selector
.
Standard_EXPORT const BOPTools_CommonBlockPoolCommonBlockPool () const
 Selector
.
Standard_EXPORT const BOPTools_SplitShapesPoolSplitShapesPool () const
 Selector
.
Standard_EXPORT const BOPTools_PaveFillerPaveFiller () const
 Selector
.
Standard_EXPORT Standard_Boolean IsNewFiller () const
 Returns TRUE if new DS and the interferences' pool has been created
.
Standard_EXPORT void SetNewFiller (const Standard_Boolean aFlag) const
 Modifier
.
Standard_EXPORT Standard_Boolean IsDone () const
 Selector
.
const TColStd_DataMapOfIntegerListOfInteger & SplitFacePool () const
TColStd_DataMapOfIntegerListOfInteger & ChangeSplitFacePool ()

Static Public Member Functions

static Standard_EXPORT Standard_Integer TreatCompound (const TopoDS_Shape &theShape, TopoDS_Shape &theShapeResult)
 Finds sub-shapes of theShape having equal type
and store them in theShapeResult.
Returns the following status codes:
0 - OK
1 - Error: theShape is a COMPSOLID
2 - Error: theShape is not a COMPOUND
3 - Error: theShape contains shapes of COMPSOLID type
4 - Error: Subshape of theShape have unkown type
5 - Error: theShape contains shapes of different type
.

Private Member Functions

Standard_EXPORT void Clear ()
 Clear contents of the DS and the interferences' pool
.

Private Attributes

TopoDS_Shape myShape1
TopoDS_Shape myShape2
BooleanOperations_PShapesDataStructure myDS
BOPTools_PInterferencePool myInterfPool
BOPTools_PPaveFiller myPaveFiller
Standard_Boolean myIsDone
TColStd_DataMapOfIntegerListOfInteger mySplitFacePool
Standard_Boolean myNewFiller


Constructor & Destructor Documentation

Standard_EXPORT BOPTools_DSFiller::BOPTools_DSFiller  ) 
 

BOPTools_DSFiller::~BOPTools_DSFiller  )  [inline]
 


Member Function Documentation

TColStd_DataMapOfIntegerListOfInteger & BOPTools_DSFiller::ChangeSplitFacePool  )  [inline]
 

Standard_EXPORT void BOPTools_DSFiller::Clear  )  [private]
 

Standard_EXPORT const BOPTools_CommonBlockPool& BOPTools_DSFiller::CommonBlockPool  )  const
 

Standard_EXPORT void BOPTools_DSFiller::Destroy  ) 
 

Standard_EXPORT const BooleanOperations_ShapesDataStructure& BOPTools_DSFiller::DS  )  const
 

Standard_EXPORT void BOPTools_DSFiller::InitFillersAndPools  ) 
 

Standard_EXPORT const BOPTools_InterferencePool& BOPTools_DSFiller::InterfPool  )  const
 

Standard_EXPORT Standard_Boolean BOPTools_DSFiller::IsDone  )  const
 

Standard_EXPORT Standard_Boolean BOPTools_DSFiller::IsNewFiller  )  const
 

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

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

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

Standard_EXPORT void BOPTools_DSFiller::PartialPerform const TColStd_SetOfInteger &  anObjSubSet,
const TColStd_SetOfInteger &  aToolSubSet
 

Standard_EXPORT const BOPTools_PaveFiller& BOPTools_DSFiller::PaveFiller  )  const
 

Standard_EXPORT const BOPTools_PavePool& BOPTools_DSFiller::PavePool  )  const
 

Standard_EXPORT void BOPTools_DSFiller::Perform const BOPTools_SSIntersectionAttribute theSectionAttribute  ) 
 

Standard_EXPORT void BOPTools_DSFiller::Perform  ) 
 

Standard_EXPORT void BOPTools_DSFiller::SetNewFiller const Standard_Boolean  aFlag  )  const
 

Standard_EXPORT void BOPTools_DSFiller::SetShapes const TopoDS_Shape &  aS1,
const TopoDS_Shape &  aS2
 

Standard_EXPORT const TopoDS_Shape& BOPTools_DSFiller::Shape1  )  const
 

Standard_EXPORT const TopoDS_Shape& BOPTools_DSFiller::Shape2  )  const
 

const TColStd_DataMapOfIntegerListOfInteger & BOPTools_DSFiller::SplitFacePool  )  const [inline]
 

Standard_EXPORT const BOPTools_SplitShapesPool& BOPTools_DSFiller::SplitShapesPool  )  const
 

Standard_EXPORT void BOPTools_DSFiller::ToCompletePerform  ) 
 

static Standard_EXPORT Standard_Integer BOPTools_DSFiller::TreatCompound const TopoDS_Shape &  theShape,
TopoDS_Shape &  theShapeResult
[static]
 


Field Documentation

BooleanOperations_PShapesDataStructure BOPTools_DSFiller::myDS [private]
 

BOPTools_PInterferencePool BOPTools_DSFiller::myInterfPool [private]
 

Standard_Boolean BOPTools_DSFiller::myIsDone [private]
 

Standard_Boolean BOPTools_DSFiller::myNewFiller [private]
 

BOPTools_PPaveFiller BOPTools_DSFiller::myPaveFiller [private]
 

TopoDS_Shape BOPTools_DSFiller::myShape1 [private]
 

TopoDS_Shape BOPTools_DSFiller::myShape2 [private]
 

TColStd_DataMapOfIntegerListOfInteger BOPTools_DSFiller::mySplitFacePool [private]
 


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