SHAPER  9.12.0
GEOMAlgo_BuilderShape Class Referenceabstract

Root class for algorithms that has shape as result
More...

Inheritance diagram for GEOMAlgo_BuilderShape:
Inheritance graph

Public Member Functions

GEOMALGOIMPL_EXPORT const TopoDS_Shape & Shape () const
 Returns the result of algorithm
More...
 
virtual GEOMALGOIMPL_EXPORT const TopTools_ListOfShape & Generated (const TopoDS_Shape &theS)
 Returns the list of shapes generated from the
shape theS. More...
 
virtual GEOMALGOIMPL_EXPORT const TopTools_ListOfShape & Modified (const TopoDS_Shape &theS)
 Returns the list of shapes modified from the
shape theS. More...
 
virtual GEOMALGOIMPL_EXPORT Standard_Boolean IsDeleted (const TopoDS_Shape &theS)
 Returns true if the shape theS has been deleted.
More...
 
GEOMALGOIMPL_EXPORT Standard_Boolean HasDeleted () const
 Returns true if the at least one shape(or sub-shape)
of arguments has been deleted. More...
 
GEOMALGOIMPL_EXPORT Standard_Boolean HasGenerated () const
 Returns true if the at least one shape(or sub-shape)
of arguments has generated shapes. More...
 
GEOMALGOIMPL_EXPORT Standard_Boolean HasModified () const
 Returns true if the at least one shape(or sub-shape)
of arguments has modified shapes. More...
 
GEOMALGOIMPL_EXPORT const TopTools_IndexedDataMapOfShapeListOfShape & ImagesResult () const
 
virtual GEOMALGOIMPL_EXPORT void Perform ()=0
 
GEOMALGOIMPL_EXPORT Standard_Integer ErrorStatus () const
 
GEOMALGOIMPL_EXPORT Standard_Integer WarningStatus () const
 
GEOMALGOIMPL_EXPORT void ComputeInternalShapes (const Standard_Boolean theFlag)
 Allows to omit of creation of internal shapes (manifold topology). More...
 

Protected Member Functions

GEOMALGOIMPL_EXPORT GEOMAlgo_BuilderShape ()
 Empty constructor
More...
 
virtual GEOMALGOIMPL_EXPORT void PrepareHistory ()
 Prepare information for history support
More...
 
virtual GEOMALGOIMPL_EXPORT void CheckData ()
 
virtual GEOMALGOIMPL_EXPORT void CheckResult ()
 

Protected Attributes

TopoDS_Shape myShape
 
TopTools_ListOfShape myHistShapes
 
TopTools_MapOfShape myMapShape
 
Standard_Boolean myHasDeleted
 
Standard_Boolean myHasGenerated
 
Standard_Boolean myHasModified
 
TopTools_IndexedDataMapOfShapeListOfShape myImagesResult
 
Standard_Integer myErrorStatus
 
Standard_Integer myWarningStatus
 
Standard_Boolean myComputeInternalShapes
 

Detailed Description

Root class for algorithms that has shape as result

Constructor & Destructor Documentation

◆ GEOMAlgo_BuilderShape()

GEOMAlgo_BuilderShape::GEOMAlgo_BuilderShape ( )
protected

Empty constructor

Member Function Documentation

◆ Shape()

const TopoDS_Shape & GEOMAlgo_BuilderShape::Shape ( ) const

Returns the result of algorithm

◆ Generated()

const TopTools_ListOfShape & GEOMAlgo_BuilderShape::Generated ( const TopoDS_Shape &  theS)
virtual

Returns the list of shapes generated from the
shape theS.


Reimplemented in GEOMAlgo_Gluer2.

◆ Modified()

const TopTools_ListOfShape & GEOMAlgo_BuilderShape::Modified ( const TopoDS_Shape &  theS)
virtual

Returns the list of shapes modified from the
shape theS.


Reimplemented in GEOMAlgo_Gluer2.

◆ IsDeleted()

Standard_Boolean GEOMAlgo_BuilderShape::IsDeleted ( const TopoDS_Shape &  theS)
virtual

Returns true if the shape theS has been deleted.

Reimplemented in GEOMAlgo_Gluer2.

◆ HasDeleted()

Standard_Boolean GEOMAlgo_BuilderShape::HasDeleted ( ) const

Returns true if the at least one shape(or sub-shape)
of arguments has been deleted.


◆ HasGenerated()

Standard_Boolean GEOMAlgo_BuilderShape::HasGenerated ( ) const

Returns true if the at least one shape(or sub-shape)
of arguments has generated shapes.


◆ HasModified()

Standard_Boolean GEOMAlgo_BuilderShape::HasModified ( ) const

Returns true if the at least one shape(or sub-shape)
of arguments has modified shapes.


◆ PrepareHistory()

void GEOMAlgo_BuilderShape::PrepareHistory ( )
protectedvirtual

Prepare information for history support

Reimplemented in GEOMAlgo_Gluer2.

◆ ComputeInternalShapes()

void GEOMAlgo_Algo::ComputeInternalShapes ( const Standard_Boolean  theFlag)
inherited

Allows to omit of creation of internal shapes (manifold topology).


Needed for the SALOME/TRIPOLI module.