Open CASCADE Technology 6.5.2
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
BOP_Builder Class Reference

#include <BOP_Builder.hxx>

Inheritance diagram for BOP_Builder:
Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
void SetShapes (const TopoDS_Shape &aS1, const TopoDS_Shape &aS2)
 Set shapes (arguments) to perform BO

void SetOperation (const BOP_Operation anOp)
 Set type of the BO to perform


void SetManifoldFlag (const Standard_Boolean aFlag)
 Set the flag to allow the result
be manifold or non-manifold (not used)

const TopoDS_ShapeShape1 () const
 Selector

const TopoDS_ShapeShape2 () const
 Selector

BOP_Operation Operation () const
 Selector


Standard_Boolean ManifoldFlag () const
 Selector


Standard_Boolean IsDone () const
 Selector


Standard_Integer ErrorStatus () const
 Selector

const TopoDS_ShapeResult () const
 Returns the result of the BO


virtual void Do ()
 Does the BO from the beggining to the end,
i.e. create new DataStructure, DSFiller,
compute all interferences, compute states,
build result etc

virtual void DoWithFiller (const BOPTools_DSFiller &aDSF)
 Does the BO using existing Filler to the end


virtual void BuildResult ()
 Constructs the final result of the BO


virtual void Destroy ()
 Destructor


virtual ~BOP_Builder ()
const TopTools_ListOfShapeModified (const TopoDS_Shape &aS) const
 Returns the list of shapes modified from the shape aS


Standard_Boolean IsDeleted (const TopoDS_Shape &aS) const
 Returns TRUE if the result does not contain the shape aS


const TopTools_ListOfShapeSectionEdges () const
 Returns the list of shapes that are parts of BO "Section"
for given arguments.
For Internal usage


virtual void SetHistoryCollector (const Handle< BOP_HistoryCollector > &theHistory)
Handle_BOP_HistoryCollector GetHistoryCollector () const

Static Public Member Functions

static void SortTypes (TopAbs_ShapeEnum &aType1, TopAbs_ShapeEnum &aType2)
 Sort types of shapes as integers in increasing order


Protected Member Functions

 BOP_Builder ()
 Empty constructor;


void FillModified ()
 Fill the list of shapes modified from the shape aS.
For Internal usage


void FillModified (const TopoDS_Shape &aS, const TopTools_ListOfShape &aL)
 Fill the list of shapes modified from the shape aS.
For Internal usage


void FillModified (const TopoDS_Shape &aE, const TopoDS_Shape &aSp)
 Fill the list of shapes modified from the shape aS
For Internal usage


Protected Attributes

TopoDS_Shape myShape1
TopoDS_Shape myShape2
BOP_Operation myOperation
Standard_Boolean myManifoldFlag
Standard_Boolean myIsDone
Standard_Integer myErrorStatus
TopoDS_Shape myResult
Standard_Integer myDraw
BOPTools_PDSFiller myDSFiller
TopTools_IndexedMapOfShape myResultMap
TopTools_IndexedDataMapOfShapeListOfShape myModifiedMap
TopTools_ListOfShape myEmptyList
TopTools_ListOfShape mySectionEdges
Handle_BOP_HistoryCollector myHistory

Constructor & Destructor Documentation

virtual BOP_Builder::~BOP_Builder ( ) [inline, virtual]
BOP_Builder::BOP_Builder ( ) [protected]

Member Function Documentation

virtual void BOP_Builder::BuildResult ( ) [virtual]
virtual void BOP_Builder::Destroy ( ) [virtual]
virtual void BOP_Builder::Do ( ) [virtual]
virtual void BOP_Builder::DoWithFiller ( const BOPTools_DSFiller aDSF) [virtual]
Standard_Integer BOP_Builder::ErrorStatus ( ) const
void BOP_Builder::FillModified ( ) [protected]
void BOP_Builder::FillModified ( const TopoDS_Shape aS,
const TopTools_ListOfShape aL 
) [protected]
void BOP_Builder::FillModified ( const TopoDS_Shape aE,
const TopoDS_Shape aSp 
) [protected]
Handle_BOP_HistoryCollector BOP_Builder::GetHistoryCollector ( ) const
Standard_Boolean BOP_Builder::IsDeleted ( const TopoDS_Shape aS) const
Standard_Boolean BOP_Builder::IsDone ( ) const
Standard_Boolean BOP_Builder::ManifoldFlag ( ) const
const TopTools_ListOfShape& BOP_Builder::Modified ( const TopoDS_Shape aS) const
BOP_Operation BOP_Builder::Operation ( ) const
void BOP_Builder::operator delete ( void *  anAddress) [inline]
void* BOP_Builder::operator new ( size_t  size) [inline]
void* BOP_Builder::operator new ( size_t  ,
void *  anAddress 
) [inline]
const TopoDS_Shape& BOP_Builder::Result ( ) const
const TopTools_ListOfShape& BOP_Builder::SectionEdges ( ) const
virtual void BOP_Builder::SetHistoryCollector ( const Handle< BOP_HistoryCollector > &  theHistory) [virtual]
void BOP_Builder::SetManifoldFlag ( const Standard_Boolean  aFlag)
void BOP_Builder::SetOperation ( const BOP_Operation  anOp)
void BOP_Builder::SetShapes ( const TopoDS_Shape aS1,
const TopoDS_Shape aS2 
)
const TopoDS_Shape& BOP_Builder::Shape1 ( ) const
const TopoDS_Shape& BOP_Builder::Shape2 ( ) const
static void BOP_Builder::SortTypes ( TopAbs_ShapeEnum aType1,
TopAbs_ShapeEnum aType2 
) [static]

Field Documentation

Handle_BOP_HistoryCollector BOP_Builder::myHistory [protected]

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