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

GEOMAlgo_Splitter Class Reference

Implementation of Gluing Operation Algorithm (GA)

#include <GEOMAlgo_Splitter.hxx>

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

virtual Standard_EXPORT ~GEOMAlgo_Splitter ()
virtual Standard_EXPORT void Clear ()
 Clears internal fields and arguments

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

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

Standard_EXPORT void SetLimit (const TopAbs_ShapeEnum aLimit)
Standard_EXPORT TopAbs_ShapeEnum Limit () const
Standard_EXPORT void SetLimitMode (const Standard_Integer aLimitMode)
Standard_EXPORT Standard_Integer LimitMode () const
Standard_EXPORT void AddToolCompound (const TopoDS_Shape &theShape)
 Adds Tool arguments of the operation as
shapes of upper level of container shape theShape
=====================================================

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

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 BuildResult (const TopAbs_ShapeEnum theType)
 Build the resulting shapes of type theType

virtual Standard_EXPORT void PostTreat ()
 Provides post-tratment actions

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

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

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

TopTools_ListOfShape myTools
TopTools_MapOfShape myMapTools
TopAbs_ShapeEnum myLimit
Standard_Integer myLimitMode
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_Splitter::GEOMAlgo_Splitter ( )

References myLimit, and myLimitMode.

GEOMAlgo_Splitter::~GEOMAlgo_Splitter ( ) [virtual]

Member Function Documentation

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

Reimplemented from GEOMAlgo_Builder.

void* GEOMAlgo_Splitter.operator new ( size_t  size)

Reimplemented from GEOMAlgo_Builder.

void GEOMAlgo_Splitter.operator delete ( void *  anAddress)

Reimplemented from GEOMAlgo_Builder.

void GEOMAlgo_Splitter::Clear ( ) [virtual]

Reimplemented from GEOMAlgo_Builder.

References myLimit, myMapTools, and myTools.

void GEOMAlgo_Splitter::AddTool ( const TopoDS_Shape &  theShape) [virtual]
const TopTools_ListOfShape & GEOMAlgo_Splitter::Tools ( ) const

References myTools.

void GEOMAlgo_Splitter::SetLimit ( const TopAbs_ShapeEnum  aLimit)

References myLimit.

TopAbs_ShapeEnum GEOMAlgo_Splitter::Limit ( ) const

References myLimit.

void GEOMAlgo_Splitter::SetLimitMode ( const Standard_Integer  aLimitMode)

References myLimitMode.

Standard_Integer GEOMAlgo_Splitter::LimitMode ( ) const

References myLimitMode.

void GEOMAlgo_Splitter::AddToolCompound ( const TopoDS_Shape &  theShape)

References AddTool().

void GEOMAlgo_Splitter::BuildResult ( const TopAbs_ShapeEnum  theType) [protected, virtual]
void GEOMAlgo_Splitter::PostTreat ( ) [protected, virtual]
void GEOMAlgo_Builder::Perform ( ) [virtual, inherited]
void GEOMAlgo_Builder::PerformWithFiller ( const NMTTools_PaveFiller theDSF) [virtual, inherited]
void GEOMAlgo_Builder::AddShape ( const TopoDS_Shape &  theShape) [virtual, inherited]
const TopTools_ListOfShape & GEOMAlgo_Builder::Shapes ( ) const [inherited]
const TopTools_ListOfShape & GEOMAlgo_Builder::Generated ( const TopoDS_Shape &  theS) [virtual, inherited]
const TopTools_ListOfShape & GEOMAlgo_Builder::Modified ( const TopoDS_Shape &  theS) [virtual, inherited]
Standard_Boolean GEOMAlgo_Builder::IsDeleted ( const TopoDS_Shape &  theS) [virtual, inherited]
void GEOMAlgo_Builder::AddCompound ( const TopoDS_Shape &  theShape) [inherited]
const TopTools_ListOfShape & GEOMAlgo_Builder::Shapes1 ( const Standard_Integer  theType) const [inherited]
const BRepAlgo_Image & GEOMAlgo_Builder::Images ( ) const [inherited]
const TopTools_ListOfShape & GEOMAlgo_Builder::InParts ( const TopoDS_Shape &  theShape) const [inherited]
void GEOMAlgo_Builder::PerformInternal ( const NMTTools_PaveFiller theDSF) [protected, virtual, inherited]
void GEOMAlgo_Builder::PrepareHistory ( ) [protected, virtual, inherited]
void GEOMAlgo_Builder::ClearInternals ( ) [protected, virtual, inherited]
void GEOMAlgo_Builder::Prepare ( ) [protected, virtual, inherited]
void GEOMAlgo_Builder::AddShape1 ( const TopoDS_Shape &  theShape) [protected, inherited]
void GEOMAlgo_Builder::FillImagesVertices ( ) [protected, inherited]
void GEOMAlgo_Builder::FillImagesEdges ( ) [protected, inherited]
void GEOMAlgo_Builder::FillImagesFaces ( ) [protected, inherited]
void GEOMAlgo_Builder::FillIn2DParts ( ) [protected, inherited]
void GEOMAlgo_Builder::BuildSplitFaces ( ) [protected, inherited]
void GEOMAlgo_Builder::FillSameDomainFaces ( ) [protected, inherited]
void GEOMAlgo_Builder::FillImagesFaces1 ( ) [protected, inherited]
void GEOMAlgo_Builder::FillInternalVertices ( ) [protected, inherited]
void GEOMAlgo_Builder::FillImagesContainers ( const TopAbs_ShapeEnum  theType) [protected, inherited]
void GEOMAlgo_Builder::FillImagesSolids ( ) [protected, inherited]
void GEOMAlgo_Builder::FillIn3DParts ( ) [protected, inherited]
void GEOMAlgo_Builder::BuildSplitSolids ( ) [protected, inherited]
void GEOMAlgo_Builder::FillInternalShapes ( ) [protected, inherited]
void GEOMAlgo_Builder::BuildDraftSolid ( const TopoDS_Shape &  theSolid,
TopoDS_Shape &  theDraftSolid,
TopTools_ListOfShape &  theInternalFaces 
) [protected, inherited]
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_Splitter.myTools [protected]
TopTools_MapOfShape GEOMAlgo_Splitter.myMapTools [protected]
TopAbs_ShapeEnum GEOMAlgo_Splitter.myLimit [protected]
Standard_Integer GEOMAlgo_Splitter.myLimitMode [protected]
TopTools_ListOfShape GEOMAlgo_Builder.myShapes [protected, inherited]
Standard_Integer GEOMAlgo_Builder.myNbTypes [protected, inherited]
TopTools_MapOfShape GEOMAlgo_Builder.myMapFence [protected, inherited]
TopTools_ListOfShape GEOMAlgo_Builder.myShapes1[9] [protected, inherited]
BRepAlgo_Image GEOMAlgo_Builder.myImages [protected, inherited]
TopTools_IndexedDataMapOfShapeListOfShape GEOMAlgo_Builder.myInParts [protected, inherited]
BRepAlgo_Image GEOMAlgo_Builder.mySplitFaces [protected, inherited]
TopTools_IndexedDataMapOfShapeShape GEOMAlgo_Builder.mySameDomainShapes [protected, inherited]
TopTools_IndexedDataMapOfShapeShape GEOMAlgo_Builder.myDraftSolids [protected, inherited]
Standard_Integer GEOMAlgo_Builder.myEntryPoint [protected, inherited]
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