Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ()
 Performs the algorithm
More...
 
- Public Member Functions inherited from BOPAlgo_BuilderArea
void SetContext (const Handle< BOPInt_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 <br>

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...
 

Protected Member Functions

virtual void PerformShapesToAvoid ()
 Collect the faces that
a) are internal
b) are the same and have different orientation
More...
 
virtual void PerformLoops ()
 Build draft shells
a)myLoops - draft shells that consist of
boundary faces
b)myLoopsInternal - draft shells that contains
inner faces
More...
 
virtual void PerformAreas ()
 Build draft solids that contains boundary faces
More...
 
virtual void PerformInternalShapes ()
 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 ()
 

Protected Attributes

TopoDS_Solid mySolid
 
- Protected Attributes inherited from BOPAlgo_BuilderArea
Handle_BOPInt_Context myContext
 
BOPCol_ListOfShape myShapes
 
BOPCol_ListOfShape myLoops
 
BOPCol_ListOfShape myLoopsInternal
 
BOPCol_ListOfShape myAreas
 
BOPCol_MapOfOrientedShape myShapesToAvoid
 
- Protected Attributes inherited from BOPAlgo_Algo
BOPCol_BaseAllocator myAllocator
 
Standard_Integer myErrorStatus
 
Standard_Integer myWarningStatus
 
Standard_Boolean myRunParallel
 

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 ( )
virtual

Performs the algorithm

Implements BOPAlgo_Algo.

virtual void BOPAlgo_BuilderSolid::PerformAreas ( )
protectedvirtual

Build draft solids that contains boundary faces

Implements BOPAlgo_BuilderArea.

virtual void BOPAlgo_BuilderSolid::PerformInternalShapes ( )
protectedvirtual

Build finalized solids with internal shells

Implements BOPAlgo_BuilderArea.

virtual void BOPAlgo_BuilderSolid::PerformLoops ( )
protectedvirtual

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 ( )
protectedvirtual

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: