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

ModelingAlgorithms
TKBool
BRepAlgo


BRepAlgo_BooleanOperation Class Reference

The abstract class BooleanOperation is the root
class of Boolean operations.
A BooleanOperation object stores the two shapes in
preparation for the Boolean operation specified in
one of the classes inheriting from this one. These include:
- Common
- Cut
- Fuse
- Section.
.

#include <BRepAlgo_BooleanOperation.hxx>

Inheritance diagram for BRepAlgo_BooleanOperation:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
virtual Standard_EXPORT void Delete ()
virtual Standard_EXPORT ~BRepAlgo_BooleanOperation ()
Standard_EXPORT void PerformDS ()
Standard_EXPORT void Perform (const TopAbs_State St1, const TopAbs_State St2)
Standard_EXPORT Handle_TopOpeBRepBuild_HBuilder Builder () const
Standard_EXPORT const TopoDS_Shape & Shape1 () const
 Returns the first shape involved in this Boolean operation.
.
Standard_EXPORT const TopoDS_Shape & Shape2 () const
 Returns the second shape involved in this Boolean operation.
.
virtual Standard_EXPORT const
TopTools_ListOfShape & 
Modified (const TopoDS_Shape &S)
 Returns the list of shapes modified from the shape
<s>.
.
virtual Standard_EXPORT Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns true if the shape S has been deleted.
.

Protected Member Functions

Standard_EXPORT BRepAlgo_BooleanOperation (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Prepares the operations for S1 and S2.
.
Standard_EXPORT void BuilderCanWork (const Standard_Boolean B)
Standard_EXPORT Standard_Boolean BuilderCanWork () const
virtual Standard_EXPORT void InitParameters ()

Protected Attributes

Handle_TopOpeBRepBuild_HBuilder myHBuilder
TopoDS_Shape myS1
TopoDS_Shape myS2

Private Attributes

TopTools_MapOfShape myMap
Standard_Boolean myBuilderCanWork
TopTools_DataMapOfShapeShape topToSew

Constructor & Destructor Documentation

virtual Standard_EXPORT BRepAlgo_BooleanOperation::~BRepAlgo_BooleanOperation  )  [inline, virtual]
 

Standard_EXPORT BRepAlgo_BooleanOperation::BRepAlgo_BooleanOperation const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
[protected]
 


Member Function Documentation

Standard_EXPORT Handle_TopOpeBRepBuild_HBuilder BRepAlgo_BooleanOperation::Builder  )  const
 

Standard_EXPORT Standard_Boolean BRepAlgo_BooleanOperation::BuilderCanWork  )  const [protected]
 

Standard_EXPORT void BRepAlgo_BooleanOperation::BuilderCanWork const Standard_Boolean  B  )  [protected]
 

virtual Standard_EXPORT void BRepAlgo_BooleanOperation::Delete  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

virtual Standard_EXPORT void BRepAlgo_BooleanOperation::InitParameters  )  [protected, virtual]
 

Reimplemented in BRepAlgo_Section.

virtual Standard_EXPORT Standard_Boolean BRepAlgo_BooleanOperation::IsDeleted const TopoDS_Shape &  S  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

virtual Standard_EXPORT const TopTools_ListOfShape& BRepAlgo_BooleanOperation::Modified const TopoDS_Shape &  S  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

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

Reimplemented from BRepBuilderAPI_MakeShape.

Reimplemented in BRepAlgo_Common, BRepAlgo_Cut, BRepAlgo_Fuse, and BRepAlgo_Section.

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

Reimplemented from BRepBuilderAPI_MakeShape.

Reimplemented in BRepAlgo_Common, BRepAlgo_Cut, BRepAlgo_Fuse, and BRepAlgo_Section.

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

Reimplemented from BRepBuilderAPI_MakeShape.

Reimplemented in BRepAlgo_Common, BRepAlgo_Cut, BRepAlgo_Fuse, and BRepAlgo_Section.

Standard_EXPORT void BRepAlgo_BooleanOperation::Perform const TopAbs_State  St1,
const TopAbs_State  St2
 

Standard_EXPORT void BRepAlgo_BooleanOperation::PerformDS  ) 
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_BooleanOperation::Shape1  )  const
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_BooleanOperation::Shape2  )  const
 


Field Documentation

Standard_Boolean BRepAlgo_BooleanOperation::myBuilderCanWork [private]
 

Handle_TopOpeBRepBuild_HBuilder BRepAlgo_BooleanOperation::myHBuilder [protected]
 

TopTools_MapOfShape BRepAlgo_BooleanOperation::myMap [private]
 

TopoDS_Shape BRepAlgo_BooleanOperation::myS1 [protected]
 

TopoDS_Shape BRepAlgo_BooleanOperation::myS2 [protected]
 

TopTools_DataMapOfShapeShape BRepAlgo_BooleanOperation::topToSew [private]
 


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