Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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

DEFINE_STANDARD_ALLOC 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 <br>



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, <br>
      i.e.  create new DataStructure, DSFiller, <br>
      compute all  interferences, compute states, <br>
      build result etc <br>



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]
Handle_BOP_HistoryCollector BOP_Builder::GetHistoryCollector ( ) const
virtual void BOP_Builder::SetHistoryCollector ( const Handle< BOP_HistoryCollector > &  theHistory) [virtual]
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: