#include <GEOMAlgo_Builder.hxx>

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 |
| GEOMAlgo_Builder::GEOMAlgo_Builder | ( | ) |
References myEntryPoint, myNbTypes, and myPaveFiller.
| GEOMAlgo_Builder::~GEOMAlgo_Builder | ( | ) | [virtual] |
References myEntryPoint, and myPaveFiller.
| 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] |
Implements GEOMAlgo_Algo.
References myEntryPoint, GEOMAlgo_Algo.myErrorStatus, myShapes, NMTTools_PaveFiller.Perform(), PerformInternal(), and NMTTools_PaveFiller.SetCompositeShape().
| 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] |
Reimplemented from GEOMAlgo_BuilderShape.
References myImages, GEOMAlgo_BuilderShape.myMapShape, and mySameDomainShapes.
| 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] |
Reimplemented from GEOMAlgo_BuilderShape.
References IsDeleted(), MapShapes(), GEOMAlgo_BuilderShape.myHasDeleted, GEOMAlgo_BuilderShape.myHasGenerated, GEOMAlgo_BuilderShape.myHasModified, myImages, GEOMAlgo_BuilderShape.myImagesResult, GEOMAlgo_BuilderShape.myMapShape, mySameDomainShapes, GEOMAlgo_BuilderShape.myShape, and myShapes.
| void GEOMAlgo_Builder::ClearInternals | ( | ) | [protected, virtual] |
References PAL_MESH_030_geometry.i, myDraftSolids, myImages, myInParts, myMapFence, myNbTypes, mySameDomainShapes, myShapes1, and mySplitFaces.
| void GEOMAlgo_Builder::Prepare | ( | ) | [protected, virtual] |
References AddShape1(), GEOMAlgo_Algo.myErrorStatus, GEOMAlgo_BuilderShape.myShape, and myShapes.
| void GEOMAlgo_Builder::PostTreat | ( | ) | [protected, virtual] |
Reimplemented in GEOMAlgo_Splitter.
References GEOMAlgo_Tools.CorrectWires(), and GEOMAlgo_BuilderShape.myShape.
| void GEOMAlgo_Builder::AddShape1 | ( | const TopoDS_Shape & | theShape | ) | [protected] |
References myShapes1.
| void GEOMAlgo_Builder::BuildResult | ( | const TopAbs_ShapeEnum | theType | ) | [protected, virtual] |
Reimplemented in GEOMAlgo_Splitter.
References GEOMAlgo_Algo.myErrorStatus, myImages, GEOMAlgo_BuilderShape.myShape, and myShapes.
| void GEOMAlgo_Builder::FillImagesVertices | ( | ) | [protected] |
| void GEOMAlgo_Builder::FillImagesEdges | ( | ) | [protected] |
References NMTTools_PaveFiller.ChangeCommonBlockPool(), NMTTools_PaveFiller.ChangeContext(), NMTTools_PaveFiller.DS(), PAL_MESH_030_geometry.i, GEOMAlgo_Tools3D.IsSplitToReverse(), GEOMAlgo_Algo.myErrorStatus, myImages, myPaveFiller, mySameDomainShapes, NMTTools_PaveFiller.RealPaveBlock(), and NMTTools_PaveFiller.SplitShapesPool().
| void GEOMAlgo_Builder::FillImagesFaces | ( | ) | [protected] |
| void GEOMAlgo_Builder::FillIn2DParts | ( | ) | [protected] |
References NMTTools_PaveFiller.ChangeCommonBlockPool(), NMTTools_PaveFiller.DS(), NMTTools_CommonBlockPool.Extent(), NMTTools_ListIteratorOfListOfCommonBlock.Initialize(), NMTTools_PaveFiller.IP(), NMTTools_CommonBlock.IsPaveBlockOnFace(), NMTTools_ListIteratorOfListOfCommonBlock.More(), myInParts, myPaveFiller, NMTTools_ListIteratorOfListOfCommonBlock.Next(), NMTTools_CommonBlock.PaveBlock1(), NMTDS_InterfPool.SSInterferences(), and NMTTools_ListIteratorOfListOfCommonBlock.Value().
| void GEOMAlgo_Builder::BuildSplitFaces | ( | ) | [protected] |
References GEOMAlgo_ShapeSet.Add(), GEOMAlgo_WireEdgeSet.AddStartElement(), GEOMAlgo_BuilderArea.Areas(), NMTTools_PaveFiller.ChangeContext(), NMTTools_PaveFiller.DS(), PAL_MESH_030_geometry.i, NMTDS_ShapesDataStructure.Init(), NMTTools_PaveFiller.IP(), GEOMAlgo_ShapeSet.IsEqual(), myImages, myInParts, myPaveFiller, mySplitFaces, GEOMAlgo_BuilderFace.Perform(), GEOMAlgo_BuilderArea.SetContext(), GEOMAlgo_BuilderFace.SetFace(), GEOMAlgo_WireEdgeSet.SetFace(), GEOMAlgo_BuilderArea.SetShapes(), NMTDS_InterfPool.SSInterferences(), and GEOMAlgo_WireEdgeSet.StartElements().
| void GEOMAlgo_Builder::FillSameDomainFaces | ( | ) | [protected] |
References NMTTools_ListOfCoupleOfShape.Append(), NMTTools_Tools.AreFacesSameDomain(), NMTTools_PaveFiller.ChangeContext(), NMTDS_BoxBndTreeSelector.Clear(), NMTTools_PaveFiller.DS(), NMTTools_ListOfCoupleOfShape.Extent(), FindChains(), NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.FindKey(), PAL_MESH_030_geometry.i, NMTDS_BoxBndTreeSelector.Indices(), NMTTools_PaveFiller.IP(), myPaveFiller, mySameDomainShapes, mySplitFaces, NMTDS_BoxBndTreeSelector.SetBox(), NMTTools_CoupleOfShape.SetShape1(), NMTTools_CoupleOfShape.SetShape2(), and NMTDS_InterfPool.SSInterferences().
| void GEOMAlgo_Builder::FillImagesFaces1 | ( | ) | [protected] |
| void GEOMAlgo_Builder::FillInternalVertices | ( | ) | [protected] |
References NMTTools_PaveFiller.AloneVertices(), NMTTools_PaveFiller.ChangeContext(), NMTTools_IndexedDataMapOfIndexedMapOfInteger.Contains(), GEOMAlgo_Tools3D.CopyFace(), NMTTools_PaveFiller.DS(), NMTDS_InterfPool.ESInterferences(), NMTTools_IndexedDataMapOfIndexedMapOfInteger.FindFromKey(), NMTTools_PaveFiller.FindSDVertex(), PAL_MESH_030_geometry.i, NMTTools_PaveFiller.IP(), myImages, myPaveFiller, NMTDS_InterfPool.SSInterferences(), geompy.Tolerance(), UpdateCandidates(), and NMTDS_InterfPool.VSInterferences().
| void GEOMAlgo_Builder::FillImagesContainers | ( | const TopAbs_ShapeEnum | theType | ) | [protected] |
| void GEOMAlgo_Builder::FillImagesSolids | ( | ) | [protected] |
References BuildSplitSolids(), FillIn3DParts(), FillInternalShapes(), and GEOMAlgo_Algo.myErrorStatus.
| void GEOMAlgo_Builder::FillIn3DParts | ( | ) | [protected] |
References BuildDraftSolid(), NMTTools_PaveFiller.ChangeContext(), NMTTools_PaveFiller.DS(), PAL_MESH_030_geometry.i, GEOMAlgo_Tools3D.IsInternalFace(), GEOMAlgo_Tools3D.MakeConnexityBlock(), MapShapes(), myDraftSolids, GEOMAlgo_Algo.myErrorStatus, myImages, myInParts, myPaveFiller, and mySameDomainShapes.
| void GEOMAlgo_Builder::BuildSplitSolids | ( | ) | [protected] |
References GEOMAlgo_ShapeSet.Add(), GEOMAlgo_BuilderArea.Areas(), GEOMAlgo_DataMapOfShapeShapeSet.Bind(), NMTTools_PaveFiller.ChangeContext(), GEOMAlgo_ShapeSet.Clear(), GEOMAlgo_Algo.ComputeInternalShapes(), GEOMAlgo_ShapeSet.Contains(), NMTTools_PaveFiller.DS(), GEOMAlgo_Algo.ErrorStatus(), GEOMAlgo_ShapeSet.GetSet(), PAL_MESH_030_geometry.i, GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet.Initialize(), GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet.Key(), GEOMAlgo_Algo.myComputeInternalShapes, myDraftSolids, GEOMAlgo_Algo.myErrorStatus, myImages, myInParts, myPaveFiller, mySameDomainShapes, GEOMAlgo_BuilderSolid.Perform(), GEOMAlgo_BuilderArea.SetContext(), GEOMAlgo_BuilderArea.SetShapes(), GEOMAlgo_ShapeSet.Subtract(), and GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet.Value().
| void GEOMAlgo_Builder::FillInternalShapes | ( | ) | [protected] |
| void GEOMAlgo_Builder::BuildDraftSolid | ( | const TopoDS_Shape & | theSolid, |
| TopoDS_Shape & | theDraftSolid, | ||
| TopTools_ListOfShape & | theInternalFaces | ||
| ) | [protected] |
All splits of internal faces of
theSolid are in the list: theInternalFaces
References NMTTools_PaveFiller.ChangeContext(), NMTTools_PaveFiller.DS(), GEOMAlgo_Tools3D.IsSplitToReverse(), GEOMAlgo_Algo.myErrorStatus, myImages, myPaveFiller, and mySameDomainShapes.
| const TopoDS_Shape & GEOMAlgo_BuilderShape::Shape | ( | ) | const [inherited] |
References GEOMAlgo_BuilderShape.myShape.
| Standard_Boolean GEOMAlgo_BuilderShape::HasDeleted | ( | ) | const [inherited] |
References GEOMAlgo_BuilderShape.myHasDeleted.
| Standard_Boolean GEOMAlgo_BuilderShape::HasGenerated | ( | ) | const [inherited] |
References GEOMAlgo_BuilderShape.myHasGenerated.
| Standard_Boolean GEOMAlgo_BuilderShape::HasModified | ( | ) | const [inherited] |
References GEOMAlgo_BuilderShape.myHasModified.
| const TopTools_IndexedDataMapOfShapeListOfShape & GEOMAlgo_BuilderShape::ImagesResult | ( | ) | const [inherited] |
References GEOMAlgo_BuilderShape.myImagesResult.
| Standard_Integer GEOMAlgo_Algo::ErrorStatus | ( | ) | const [inherited] |
References GEOMAlgo_Algo.myErrorStatus.
| Standard_Integer GEOMAlgo_Algo::WarningStatus | ( | ) | const [inherited] |
References GEOMAlgo_Algo.myWarningStatus.
| void GEOMAlgo_Algo::ComputeInternalShapes | ( | const Standard_Boolean | theFlag | ) | [inherited] |
References GEOMAlgo_Algo.myComputeInternalShapes.
| void GEOMAlgo_Algo::CheckData | ( | ) | [protected, virtual, inherited] |
Reimplemented in GEOMAlgo_FinderShapeOn, GEOMAlgo_FinderShapeOn1, GEOMAlgo_FinderShapeOn2, GEOMAlgo_FinderShapeOnQuad, GEOMAlgo_Gluer, GEOMAlgo_Gluer2, GEOMAlgo_ShapeInfoFiller, and GEOMAlgo_WESScaler.
References GEOMAlgo_Algo.myErrorStatus.
| void GEOMAlgo_Algo::CheckResult | ( | ) | [protected, virtual, inherited] |
Reimplemented in GEOMAlgo_Gluer.
References GEOMAlgo_Algo.myErrorStatus.
NMTTools_PPaveFiller GEOMAlgo_Builder.myPaveFiller [protected] |
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] |