Version: 6.3.1
Public Member Functions | Protected Member Functions | Protected Attributes

GEOMAlgo_BuilderShape Class Reference

Root class for algorithms that has shape as result

#include <GEOMAlgo_BuilderShape.hxx>

Inheritance diagram for GEOMAlgo_BuilderShape:
Inheritance graph

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT const
TopoDS_Shape & 
Shape () const
 Returns the result of algorithm

virtual Standard_EXPORT const
TopTools_ListOfShape & 
Generated (const TopoDS_Shape &theS)
 Returns the list of shapes generated from the
shape theS.
virtual Standard_EXPORT const
TopTools_ListOfShape & 
Modified (const TopoDS_Shape &theS)
 Returns the list of shapes modified from the
shape theS.
virtual Standard_EXPORT
Standard_Boolean 
IsDeleted (const TopoDS_Shape &theS)
 Returns true if the shape theS has been deleted.

Standard_EXPORT Standard_Boolean HasDeleted () const
 Returns true if the at least one shape(or subshape)
of arguments has been deleted.
Standard_EXPORT Standard_Boolean HasGenerated () const
 Returns true if the at least one shape(or subshape)
of arguments has generated shapes.
Standard_EXPORT Standard_Boolean HasModified () const
 Returns true if the at least one shape(or subshape)
of arguments has modified shapes.
Standard_EXPORT const
TopTools_IndexedDataMapOfShapeListOfShape & 
ImagesResult () const
virtual Standard_EXPORT void Perform ()=0
Standard_EXPORT Standard_Integer ErrorStatus () const
Standard_EXPORT Standard_Integer WarningStatus () const
Standard_EXPORT void ComputeInternalShapes (const Standard_Boolean theFlag)

Protected Member Functions

Standard_EXPORT GEOMAlgo_BuilderShape ()
 Empty constructor

virtual Standard_EXPORT ~GEOMAlgo_BuilderShape ()
virtual Standard_EXPORT void PrepareHistory ()
 Prepare information for history support

virtual Standard_EXPORT void CheckData ()
virtual Standard_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

Constructor & Destructor Documentation

GEOMAlgo_BuilderShape::GEOMAlgo_BuilderShape ( ) [protected]
GEOMAlgo_BuilderShape::~GEOMAlgo_BuilderShape ( ) [protected, virtual]

Member Function Documentation

void* GEOMAlgo_BuilderShape.operator new ( size_t  ,
void *  anAddress 
)

Reimplemented from GEOMAlgo_Algo.

Reimplemented in GEOMAlgo_Builder, and GEOMAlgo_Splitter.

void* GEOMAlgo_BuilderShape.operator new ( size_t  size)

Reimplemented from GEOMAlgo_Algo.

Reimplemented in GEOMAlgo_Builder, and GEOMAlgo_Splitter.

void GEOMAlgo_BuilderShape.operator delete ( void *  anAddress)

Reimplemented from GEOMAlgo_Algo.

Reimplemented in GEOMAlgo_Builder, and GEOMAlgo_Splitter.

const TopoDS_Shape & GEOMAlgo_BuilderShape::Shape ( ) const

References myShape.

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


Reimplemented in GEOMAlgo_Builder, and GEOMAlgo_Gluer2.

References myHistShapes.

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


Reimplemented in GEOMAlgo_Builder, and GEOMAlgo_Gluer2.

References myHistShapes.

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

Reimplemented in GEOMAlgo_Builder, and GEOMAlgo_Gluer2.

References myMapShape.

Standard_Boolean GEOMAlgo_BuilderShape::HasDeleted ( ) const


References myHasDeleted.

Standard_Boolean GEOMAlgo_BuilderShape::HasGenerated ( ) const


References myHasGenerated.

Standard_Boolean GEOMAlgo_BuilderShape::HasModified ( ) const


References myHasModified.

const TopTools_IndexedDataMapOfShapeListOfShape & GEOMAlgo_BuilderShape::ImagesResult ( ) const

References myImagesResult.

void GEOMAlgo_BuilderShape::PrepareHistory ( ) [protected, virtual]
virtual Standard_EXPORT void GEOMAlgo_Algo.Perform ( ) [pure virtual, inherited]
Standard_Integer GEOMAlgo_Algo::ErrorStatus ( ) const [inherited]
Standard_Integer GEOMAlgo_Algo::WarningStatus ( ) const [inherited]
void GEOMAlgo_Algo::ComputeInternalShapes ( const Standard_Boolean  theFlag) [inherited]
void GEOMAlgo_Algo::CheckData ( ) [protected, virtual, inherited]
void GEOMAlgo_Algo::CheckResult ( ) [protected, virtual, inherited]

Reimplemented in GEOMAlgo_Gluer.

References GEOMAlgo_Algo.myErrorStatus.


Field Documentation

TopoDS_Shape GEOMAlgo_BuilderShape.myShape [protected]
TopTools_ListOfShape GEOMAlgo_BuilderShape.myHistShapes [protected]
TopTools_MapOfShape GEOMAlgo_BuilderShape.myMapShape [protected]
Standard_Boolean GEOMAlgo_BuilderShape.myHasDeleted [protected]
Standard_Boolean GEOMAlgo_BuilderShape.myHasGenerated [protected]
Standard_Boolean GEOMAlgo_BuilderShape.myHasModified [protected]
TopTools_IndexedDataMapOfShapeListOfShape GEOMAlgo_BuilderShape.myImagesResult [protected]
Standard_Integer GEOMAlgo_Algo.myErrorStatus [protected, inherited]
Standard_Integer GEOMAlgo_Algo.myWarningStatus [protected, inherited]
Standard_Boolean GEOMAlgo_Algo.myComputeInternalShapes [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS