Open CASCADE Technology  7.0.0
Public Member Functions | Protected Member Functions | Protected Attributes

BOPAlgo_BuilderSolid Class Reference

The algorithm to build solids from set of faces. More...

#include <BOPAlgo_BuilderSolid.hxx>

Inheritance diagram for BOPAlgo_BuilderSolid:
Inheritance graph
[legend]

Public Member Functions

 BOPAlgo_BuilderSolid ()
 
virtual ~BOPAlgo_BuilderSolid ()
 
 BOPAlgo_BuilderSolid (const BOPCol_BaseAllocator &theAllocator)
 
void SetSolid (const TopoDS_Solid &theSolid)
 Sets the source solid <theSolid> More...
 
const TopoDS_SolidSolid () const
 Returns the source solid. More...
 
virtual void Perform () override
 Performs the algorithm. More...
 
- Public Member Functions inherited from BOPAlgo_BuilderArea
void SetContext (const Handle< IntTools_Context > &theContext)
 
const BOPCol_ListOfShapeShapes () const
 
void SetShapes (const BOPCol_ListOfShape &theLS)
 
const BOPCol_ListOfShapeLoops () const
 
const BOPCol_ListOfShapeAreas () const
 
- Public Member Functions inherited from BOPAlgo_Algo
Standard_Integer ErrorStatus () const
 
Standard_Integer WarningStatus () const
 
const BOPCol_BaseAllocatorAllocator () const
 
void SetRunParallel (const Standard_Boolean theFlag)
 Set the flag of parallel processing if <theFlag> is true the parallel processing is switched on if <theFlag> is false the parallel processing is switched off. More...
 
Standard_Boolean RunParallel () const
 Returns the flag of parallel processing. More...
 
void SetProgressIndicator (const Handle< Message_ProgressIndicator > &theObj)
 Set the Progress Indicator object. More...
 

Protected Member Functions

virtual void PerformShapesToAvoid () override
 Collect the faces that a) are internal b) are the same and have different orientation. More...
 
virtual void PerformLoops () override
 Build draft shells a)myLoops - draft shells that consist of boundary faces b)myLoopsInternal - draft shells that contains inner faces. More...
 
virtual void PerformAreas () override
 Build draft solids that contains boundary faces. More...
 
virtual void PerformInternalShapes () override
 Build finalized solids with internal shells. More...
 
- Protected Member Functions inherited from BOPAlgo_BuilderArea
 BOPAlgo_BuilderArea ()
 
virtual ~BOPAlgo_BuilderArea ()
 
 BOPAlgo_BuilderArea (const BOPCol_BaseAllocator &theAllocator)
 
- Protected Member Functions inherited from BOPAlgo_Algo
 BOPAlgo_Algo ()
 
virtual ~BOPAlgo_Algo ()
 
 BOPAlgo_Algo (const BOPCol_BaseAllocator &theAllocator)
 
virtual void CheckData ()
 
virtual void CheckResult ()
 
void UserBreak () const
 Breaks the execution if the break signal is indicated by myProgressIndicator. More...
 

Protected Attributes

TopoDS_Solid mySolid
 
- Protected Attributes inherited from BOPAlgo_BuilderArea
Handle< IntTools_ContextmyContext
 
BOPCol_ListOfShape myShapes
 
BOPCol_ListOfShape myLoops
 
BOPCol_ListOfShape myLoopsInternal
 
BOPCol_ListOfShape myAreas
 
BOPCol_IndexedMapOfOrientedShape myShapesToAvoid
 
- Protected Attributes inherited from BOPAlgo_Algo
BOPCol_BaseAllocator myAllocator
 
Standard_Integer myErrorStatus
 
Standard_Integer myWarningStatus
 
Standard_Boolean myRunParallel
 
Handle< Message_ProgressIndicatormyProgressIndicator
 

Additional Inherited Members

- Static Public Member Functions inherited from BOPAlgo_Algo
static Standard_Boolean GetParallelMode ()
 
static void SetParallelMode (const Standard_Boolean theNewMode)
 

Detailed Description

The algorithm to build solids from set of faces.

Constructor & Destructor Documentation

BOPAlgo_BuilderSolid::BOPAlgo_BuilderSolid ( )
virtual BOPAlgo_BuilderSolid::~BOPAlgo_BuilderSolid ( )
virtual
BOPAlgo_BuilderSolid::BOPAlgo_BuilderSolid ( const BOPCol_BaseAllocator theAllocator)

Member Function Documentation

virtual void BOPAlgo_BuilderSolid::Perform ( )
overridevirtual

Performs the algorithm.

Implements BOPAlgo_Algo.

virtual void BOPAlgo_BuilderSolid::PerformAreas ( )
overrideprotectedvirtual

Build draft solids that contains boundary faces.

Implements BOPAlgo_BuilderArea.

virtual void BOPAlgo_BuilderSolid::PerformInternalShapes ( )
overrideprotectedvirtual

Build finalized solids with internal shells.

Implements BOPAlgo_BuilderArea.

virtual void BOPAlgo_BuilderSolid::PerformLoops ( )
overrideprotectedvirtual

Build draft shells a)myLoops - draft shells that consist of boundary faces b)myLoopsInternal - draft shells that contains inner faces.

Implements BOPAlgo_BuilderArea.

virtual void BOPAlgo_BuilderSolid::PerformShapesToAvoid ( )
overrideprotectedvirtual

Collect the faces that a) are internal b) are the same and have different orientation.

Implements BOPAlgo_BuilderArea.

void BOPAlgo_BuilderSolid::SetSolid ( const TopoDS_Solid theSolid)

Sets the source solid <theSolid>

const TopoDS_Solid& BOPAlgo_BuilderSolid::Solid ( ) const

Returns the source solid.

Field Documentation

TopoDS_Solid BOPAlgo_BuilderSolid::mySolid
protected

The documentation for this class was generated from the following file: