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

GEOMAlgo_Builder Class Reference

#include <GEOMAlgo_Builder.hxx>

Inheritance diagram for GEOMAlgo_Builder:
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 GEOMAlgo_Builder ()
 Empty constructor

virtual Standard_EXPORT ~GEOMAlgo_Builder ()
virtual Standard_EXPORT void Perform ()
 Performs calculations

virtual Standard_EXPORT void PerformWithFiller (const NMTTools_PaveFiller &theDSF)
 Performs calculations using prepared PaveFiller
object theDSF

virtual Standard_EXPORT void AddShape (const TopoDS_Shape &theShape)
 Adds argument theShape of the operation

virtual Standard_EXPORT void Clear ()
 Clears internal fields and arguments

Standard_EXPORT const
TopTools_ListOfShape & 
Shapes () const
 Returns the arguments of the operation

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 void AddCompound (const TopoDS_Shape &theShape)
 Adds arguments of the operation as
shapes of upper level of container shape theShape

Standard_EXPORT const
TopTools_ListOfShape & 
Shapes1 (const Standard_Integer theType) const
 Returns list of arguments of type theType

Standard_EXPORT const
BRepAlgo_Image & 
Images () const
 Returns image shapes

Standard_EXPORT const
TopTools_ListOfShape & 
InParts (const TopoDS_Shape &theShape) const
 Returns split-parts of shapes that have
state IN for the domain of shape theShape

Standard_EXPORT const
TopoDS_Shape & 
Shape () const
 Returns the result of algorithm

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
Standard_EXPORT Standard_Integer ErrorStatus () const
Standard_EXPORT Standard_Integer WarningStatus () const
Standard_EXPORT void ComputeInternalShapes (const Standard_Boolean theFlag)

Protected Member Functions

virtual Standard_EXPORT void PerformInternal (const NMTTools_PaveFiller &theDSF)
 Performs calculations using prepared DSFiller
object theDSF

virtual Standard_EXPORT void PrepareHistory ()
 Prepare information for history support

virtual Standard_EXPORT void ClearInternals ()
 Clears internal fields

virtual Standard_EXPORT void Prepare ()
 Provides preparing actions

virtual Standard_EXPORT void PostTreat ()
 Provides post-tratment actions

Standard_EXPORT void AddShape1 (const TopoDS_Shape &theShape)
 Append the argument theShape to
typified lists of arguments myShapes1

virtual Standard_EXPORT void BuildResult (const TopAbs_ShapeEnum theType)
 Build the resulting shapes of type theType

Standard_EXPORT void FillImagesVertices ()
 Fill Images for vertices

Standard_EXPORT void FillImagesEdges ()
 Fill Images for edges

Standard_EXPORT void FillImagesFaces ()
 Fill Images for faces

Standard_EXPORT void FillIn2DParts ()
 For each interferred face find split edges
that are in 2-D domain of the face

Standard_EXPORT void BuildSplitFaces ()
 Build draft faces

Standard_EXPORT void FillSameDomainFaces ()
 Among draft faces find same domain faces

Standard_EXPORT void FillImagesFaces1 ()
 Fill Images for faces
taking into account same domain faces

Standard_EXPORT void FillInternalVertices ()
 Update Images for faces by
internal vertices

Standard_EXPORT void FillImagesContainers (const TopAbs_ShapeEnum theType)
 Fill Images for Wires, Shells, Compsolids, Compounds

Standard_EXPORT void FillImagesSolids ()
 Fill Images for solids

Standard_EXPORT void FillIn3DParts ()
 For each interferred solid find split faces
that are in 3-D domain of the solid

Standard_EXPORT void BuildSplitSolids ()
 Build draft solids

Standard_EXPORT void FillInternalShapes ()
 Update draft solids by
internal shells, edges, vertices

Standard_EXPORT void BuildDraftSolid (const TopoDS_Shape &theSolid, TopoDS_Shape &theDraftSolid, TopTools_ListOfShape &theInternalFaces)
 Build solid theDraftSolid that consists of
non-internal split faces of the solid
theSolid.
virtual Standard_EXPORT void CheckData ()
virtual Standard_EXPORT void CheckResult ()

Protected Attributes

NMTTools_PPaveFiller myPaveFiller
TopTools_ListOfShape myShapes
Standard_Integer myNbTypes
TopTools_MapOfShape myMapFence
TopTools_ListOfShape myShapes1 [9]
BRepAlgo_Image myImages
TopTools_IndexedDataMapOfShapeListOfShape myInParts
BRepAlgo_Image mySplitFaces
TopTools_IndexedDataMapOfShapeShape mySameDomainShapes
TopTools_IndexedDataMapOfShapeShape myDraftSolids
Standard_Integer myEntryPoint
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_Builder::GEOMAlgo_Builder ( )

References myEntryPoint, myNbTypes, and myPaveFiller.

GEOMAlgo_Builder::~GEOMAlgo_Builder ( ) [virtual]

References myEntryPoint, and myPaveFiller.


Member Function Documentation

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

Reimplemented from GEOMAlgo_BuilderShape.

Reimplemented in GEOMAlgo_Splitter.

void* GEOMAlgo_Builder.operator new ( size_t  size)

Reimplemented from GEOMAlgo_BuilderShape.

Reimplemented in GEOMAlgo_Splitter.

void GEOMAlgo_Builder.operator delete ( void *  anAddress)

Reimplemented from GEOMAlgo_BuilderShape.

Reimplemented in GEOMAlgo_Splitter.

void GEOMAlgo_Builder::Perform ( ) [virtual]
void GEOMAlgo_Builder::PerformWithFiller ( const NMTTools_PaveFiller theDSF) [virtual]

References myEntryPoint, and PerformInternal().

void GEOMAlgo_Builder::AddShape ( const TopoDS_Shape &  theShape) [virtual]

References myMapFence, and myShapes.

void GEOMAlgo_Builder::Clear ( ) [virtual]

Reimplemented in GEOMAlgo_Splitter.

References ClearInternals(), and myShapes.

const TopTools_ListOfShape & GEOMAlgo_Builder::Shapes ( ) const

References myShapes.

const TopTools_ListOfShape & GEOMAlgo_Builder::Generated ( const TopoDS_Shape &  theS) [virtual]
const TopTools_ListOfShape & GEOMAlgo_Builder::Modified ( const TopoDS_Shape &  theS) [virtual]
Standard_Boolean GEOMAlgo_Builder::IsDeleted ( const TopoDS_Shape &  theS) [virtual]
void GEOMAlgo_Builder::AddCompound ( const TopoDS_Shape &  theShape)

References AddShape().

const TopTools_ListOfShape & GEOMAlgo_Builder::Shapes1 ( const Standard_Integer  theType) const

References myShapes1.

const BRepAlgo_Image & GEOMAlgo_Builder::Images ( ) const

References myImages.

const TopTools_ListOfShape & GEOMAlgo_Builder::InParts ( const TopoDS_Shape &  theShape) const

References myInParts.

void GEOMAlgo_Builder::PerformInternal ( const NMTTools_PaveFiller theDSF) [protected, virtual]
void GEOMAlgo_Builder::PrepareHistory ( ) [protected, virtual]
void GEOMAlgo_Builder::ClearInternals ( ) [protected, virtual]
void GEOMAlgo_Builder::Prepare ( ) [protected, virtual]
void GEOMAlgo_Builder::PostTreat ( ) [protected, virtual]
void GEOMAlgo_Builder::AddShape1 ( const TopoDS_Shape &  theShape) [protected]

References myShapes1.

void GEOMAlgo_Builder::BuildResult ( const TopAbs_ShapeEnum  theType) [protected, virtual]
void GEOMAlgo_Builder::FillImagesVertices ( ) [protected]
void GEOMAlgo_Builder::FillImagesEdges ( ) [protected]
void GEOMAlgo_Builder::FillImagesFaces ( ) [protected]
void GEOMAlgo_Builder::FillIn2DParts ( ) [protected]
void GEOMAlgo_Builder::BuildSplitFaces ( ) [protected]
void GEOMAlgo_Builder::FillSameDomainFaces ( ) [protected]
void GEOMAlgo_Builder::FillImagesFaces1 ( ) [protected]
void GEOMAlgo_Builder::FillInternalVertices ( ) [protected]
void GEOMAlgo_Builder::FillImagesContainers ( const TopAbs_ShapeEnum  theType) [protected]
void GEOMAlgo_Builder::FillImagesSolids ( ) [protected]
void GEOMAlgo_Builder::FillIn3DParts ( ) [protected]
void GEOMAlgo_Builder::BuildSplitSolids ( ) [protected]
void GEOMAlgo_Builder::FillInternalShapes ( ) [protected]
void GEOMAlgo_Builder::BuildDraftSolid ( const TopoDS_Shape &  theSolid,
TopoDS_Shape &  theDraftSolid,
TopTools_ListOfShape &  theInternalFaces 
) [protected]
const TopoDS_Shape & GEOMAlgo_BuilderShape::Shape ( ) const [inherited]
Standard_Boolean GEOMAlgo_BuilderShape::HasDeleted ( ) const [inherited]
Standard_Boolean GEOMAlgo_BuilderShape::HasGenerated ( ) const [inherited]
Standard_Boolean GEOMAlgo_BuilderShape::HasModified ( ) const [inherited]
const TopTools_IndexedDataMapOfShapeListOfShape & GEOMAlgo_BuilderShape::ImagesResult ( ) const [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

TopTools_ListOfShape GEOMAlgo_Builder.myShapes [protected]
Standard_Integer GEOMAlgo_Builder.myNbTypes [protected]
TopTools_MapOfShape GEOMAlgo_Builder.myMapFence [protected]
TopTools_ListOfShape GEOMAlgo_Builder.myShapes1[9] [protected]
BRepAlgo_Image GEOMAlgo_Builder.myImages [protected]
TopTools_IndexedDataMapOfShapeListOfShape GEOMAlgo_Builder.myInParts [protected]
BRepAlgo_Image GEOMAlgo_Builder.mySplitFaces [protected]
TopTools_IndexedDataMapOfShapeShape GEOMAlgo_Builder.mySameDomainShapes [protected]
TopTools_IndexedDataMapOfShapeShape GEOMAlgo_Builder.myDraftSolids [protected]
Standard_Integer GEOMAlgo_Builder.myEntryPoint [protected]
TopoDS_Shape GEOMAlgo_BuilderShape.myShape [protected, inherited]
TopTools_ListOfShape GEOMAlgo_BuilderShape.myHistShapes [protected, inherited]
TopTools_MapOfShape GEOMAlgo_BuilderShape.myMapShape [protected, inherited]
Standard_Boolean GEOMAlgo_BuilderShape.myHasDeleted [protected, inherited]
Standard_Boolean GEOMAlgo_BuilderShape.myHasGenerated [protected, inherited]
Standard_Boolean GEOMAlgo_BuilderShape.myHasModified [protected, inherited]
TopTools_IndexedDataMapOfShapeListOfShape GEOMAlgo_BuilderShape.myImagesResult [protected, inherited]
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