#include <GEOMAlgo_Gluer2.hxx>
Public Member Functions | |
Standard_EXPORT | GEOMAlgo_Gluer2 () |
virtual Standard_EXPORT | ~GEOMAlgo_Gluer2 () |
Standard_EXPORT void | SetShapesToGlue (const TopTools_DataMapOfShapeListOfShape &aM) |
Standard_EXPORT const TopTools_DataMapOfShapeListOfShape & | ShapesToGlue () const |
Standard_EXPORT void | SetKeepNonSolids (const Standard_Boolean theFlag) |
Standard_EXPORT Standard_Boolean | KeepNonSolids () const |
virtual Standard_EXPORT void | Clear () |
virtual Standard_EXPORT void | Perform () |
virtual Standard_EXPORT void | CheckData () |
Standard_EXPORT void | Detect () |
Standard_EXPORT const TopTools_DataMapOfShapeListOfShape & | ShapesDetected () const |
Standard_EXPORT const TopTools_DataMapOfShapeListOfShape & | ImagesToWork () const |
virtual Standard_EXPORT const TopTools_ListOfShape & | Generated (const TopoDS_Shape &theS) |
Returns the list of shapes generated from the shape theS. More... | |
virtual Standard_EXPORT const TopTools_ListOfShape & | Modified (const TopoDS_Shape &theS) |
Returns the list of shapes modified from the shape theS. More... | |
virtual Standard_EXPORT Standard_Boolean | IsDeleted (const TopoDS_Shape &theS) |
Returns true if the shape theS has been deleted. More... | |
Standard_EXPORT const TopTools_IndexedDataMapOfShapeListOfShape & | StickedShapes () |
Public Member Functions inherited from GEOMAlgo_GluerAlgo | |
Standard_EXPORT | GEOMAlgo_GluerAlgo () |
virtual Standard_EXPORT | ~GEOMAlgo_GluerAlgo () |
virtual Standard_EXPORT void | SetArgument (const TopoDS_Shape &theShape) |
Standard_EXPORT const TopoDS_Shape & | Argument () const |
Standard_EXPORT void | SetTolerance (const Standard_Real aT) |
Standard_EXPORT Standard_Real | Tolerance () const |
Standard_EXPORT void | SetCheckGeometry (const Standard_Boolean aFlag) |
Standard_EXPORT Standard_Boolean | CheckGeometry () const |
Standard_EXPORT void | SetContext (const Handle(BOPInt_Context)&) |
Standard_EXPORT const | Handle (BOPInt_Context)&Context() |
Standard_EXPORT const TopTools_DataMapOfShapeListOfShape & | Images () const |
Standard_EXPORT const TopTools_DataMapOfShapeShape & | Origins () const |
Public Member Functions inherited from GEOMAlgo_BuilderShape | |
Standard_EXPORT const TopoDS_Shape & | Shape () const |
Returns the result of algorithm More... | |
Standard_EXPORT Standard_Boolean | HasDeleted () const |
Returns true if the at least one shape(or sub-shape) of arguments has been deleted. More... | |
Standard_EXPORT Standard_Boolean | HasGenerated () const |
Returns true if the at least one shape(or sub-shape) of arguments has generated shapes. More... | |
Standard_EXPORT Standard_Boolean | HasModified () const |
Returns true if the at least one shape(or sub-shape) of arguments has modified shapes. More... | |
Standard_EXPORT const TopTools_IndexedDataMapOfShapeListOfShape & | ImagesResult () const |
Public Member Functions inherited from GEOMAlgo_Algo | |
Standard_EXPORT Standard_Integer | ErrorStatus () const |
Standard_EXPORT Standard_Integer | WarningStatus () const |
Standard_EXPORT void | ComputeInternalShapes (const Standard_Boolean theFlag) |
Allows to omit of creation of internal shapes (manifold topology). More... | |
Static Public Member Functions | |
static Standard_EXPORT void | MakeVertex (const TopTools_ListOfShape &theLV, TopoDS_Vertex &theV) |
static Standard_EXPORT void | MapBRepShapes (const TopoDS_Shape &theS, TopTools_MapOfShape &theM) |
static Standard_EXPORT void | MapShapes (const TopoDS_Shape &theS, TopTools_MapOfShape &theM) |
Protected Member Functions | |
Standard_EXPORT void | PerformShapesToWork () |
Standard_EXPORT void | FillVertices () |
Standard_EXPORT void | FillEdges () |
Standard_EXPORT void | FillWires () |
Standard_EXPORT void | FillFaces () |
Standard_EXPORT void | FillShells () |
Standard_EXPORT void | FillSolids () |
Standard_EXPORT void | FillCompSolids () |
Standard_EXPORT void | FillCompounds () |
Standard_EXPORT void | BuildResult () |
Standard_EXPORT void | FillBRepShapes (const TopAbs_ShapeEnum theType) |
Standard_EXPORT void | FillContainers (const TopAbs_ShapeEnum theType) |
Standard_EXPORT void | FillCompound (const TopoDS_Shape &theC) |
virtual Standard_EXPORT void | PrepareHistory () |
Prepare information for history support More... | |
Standard_EXPORT Standard_Boolean | HasImage (const TopoDS_Shape &theC) |
Standard_EXPORT void | MakeBRepShapes (const TopoDS_Shape &theS, TopoDS_Shape &theSnew) |
Standard_EXPORT void | MakeEdge (const TopoDS_Edge &theE, TopoDS_Edge &theEnew) |
Standard_EXPORT void | MakeFace (const TopoDS_Face &theF, TopoDS_Face &theFnew) |
Standard_EXPORT void | TreatPair (const GEOMAlgo_CoupleOfShapes &theCS, GEOMAlgo_ListOfCoupleOfShapes &theLCS) |
Protected Member Functions inherited from GEOMAlgo_GluerAlgo | |
Handle (BOPInt_Context) myContext | |
Protected Member Functions inherited from GEOMAlgo_BuilderShape | |
Standard_EXPORT | GEOMAlgo_BuilderShape () |
Empty constructor More... | |
virtual Standard_EXPORT | ~GEOMAlgo_BuilderShape () |
Protected Member Functions inherited from GEOMAlgo_Algo | |
Standard_EXPORT | GEOMAlgo_Algo () |
virtual Standard_EXPORT | ~GEOMAlgo_Algo () |
virtual Standard_EXPORT void | CheckResult () |
Protected Attributes | |
TopTools_DataMapOfShapeListOfShape | myShapesToGlue |
TopTools_DataMapOfShapeListOfShape | myImagesDetected |
TopTools_DataMapOfShapeShape | myOriginsDetected |
TopTools_DataMapOfShapeListOfShape | myImagesToWork |
TopTools_DataMapOfShapeShape | myOriginsToWork |
Standard_Boolean | myKeepNonSolids |
GEOMAlgo_GlueDetector | myDetector |
Protected Attributes inherited from GEOMAlgo_GluerAlgo | |
TopoDS_Shape | myArgument |
Standard_Real | myTolerance |
Standard_Boolean | myCheckGeometry |
TopTools_DataMapOfShapeListOfShape | myImages |
TopTools_DataMapOfShapeShape | myOrigins |
Protected Attributes inherited from GEOMAlgo_BuilderShape | |
TopoDS_Shape | myShape |
TopTools_ListOfShape | myHistShapes |
TopTools_MapOfShape | myMapShape |
Standard_Boolean | myHasDeleted |
Standard_Boolean | myHasGenerated |
Standard_Boolean | myHasModified |
TopTools_IndexedDataMapOfShapeListOfShape | myImagesResult |
Protected Attributes inherited from GEOMAlgo_Algo | |
Standard_Integer | myErrorStatus |
Standard_Integer | myWarningStatus |
Standard_Boolean | myComputeInternalShapes |
GEOMAlgo_Gluer2::GEOMAlgo_Gluer2 | ( | ) |
References GEOMAlgo_GluerAlgo::myTolerance.
|
virtual |
|
protected |
|
virtual |
Reimplemented from GEOMAlgo_Algo.
References GEOMAlgo_Algo::myErrorStatus, myShapesToGlue, and GEOMAlgo_Algo::myWarningStatus.
|
virtual |
Reimplemented from GEOMAlgo_GluerAlgo.
References GEOMAlgo_GluerAlgo::Clear(), myDetector, GEOMAlgo_Algo::myErrorStatus, myImagesDetected, myImagesToWork, myKeepNonSolids, myOriginsDetected, myOriginsToWork, myShapesToGlue, and GEOMAlgo_Algo::myWarningStatus.
void GEOMAlgo_Gluer2::Detect | ( | ) |
References GEOMAlgo_GluerAlgo::Clear(), GEOMAlgo_Algo::ErrorStatus(), iErr, GEOMAlgo_GluerAlgo::Images(), GEOMAlgo_GluerAlgo::myArgument, myDetector, GEOMAlgo_Algo::myErrorStatus, myImagesDetected, myOriginsDetected, GEOMAlgo_GluerAlgo::myTolerance, GEOMAlgo_Algo::myWarningStatus, GEOMAlgo_GlueDetector::Perform(), GEOMAlgo_GluerAlgo::SetArgument(), GEOMAlgo_GluerAlgo::SetCheckGeometry(), GEOMAlgo_GluerAlgo::SetContext(), GEOMAlgo_GluerAlgo::SetTolerance(), and GEOMAlgo_Algo::WarningStatus().
|
protected |
|
protected |
|
protected |
|
protected |
References FillContainers().
|
protected |
|
protected |
References FillBRepShapes().
|
protected |
References FillBRepShapes().
|
protected |
References FillContainers().
|
protected |
References FillContainers().
|
protected |
|
protected |
References FillContainers().
|
virtual |
|
protected |
References GEOMAlgo_GluerAlgo::myOrigins.
const TopTools_DataMapOfShapeListOfShape & GEOMAlgo_Gluer2::ImagesToWork | ( | ) | const |
References myImagesToWork.
|
virtual |
Reimplemented from GEOMAlgo_BuilderShape.
References GEOMAlgo_BuilderShape::myMapShape, and GEOMAlgo_GluerAlgo::myOrigins.
Standard_Boolean GEOMAlgo_Gluer2::KeepNonSolids | ( | ) | const |
References myKeepNonSolids.
|
protected |
References MakeEdge(), MakeFace(), and GEOMAlgo_Algo::myErrorStatus.
|
protected |
References aTol, GEOMAlgo_Algo::myErrorStatus, GEOMAlgo_GluerAlgo::myOrigins, and GEOM::Vertices.
|
protected |
|
static |
|
static |
|
static |
|
virtual |
Reimplemented from GEOMAlgo_BuilderShape.
References IsDeleted(), GEOMAlgo_BuilderShape::myHistShapes, and GEOMAlgo_GluerAlgo::myOrigins.
|
virtual |
Reimplemented from GEOMAlgo_GluerAlgo.
References BuildResult(), CheckData(), FillCompounds(), FillCompSolids(), FillEdges(), FillFaces(), FillShells(), FillSolids(), FillVertices(), FillWires(), GEOMAlgo_GluerAlgo::myArgument, GEOMAlgo_Algo::myErrorStatus, GEOMAlgo_BuilderShape::myShape, GEOMAlgo_GluerAlgo::myTolerance, GEOMAlgo_Algo::myWarningStatus, GEOMAlgo_GluerAlgo::Perform(), PerformShapesToWork(), and PrepareHistory().
|
protected |
|
protectedvirtual |
Reimplemented from GEOMAlgo_BuilderShape.
References MapShapes(), GEOMAlgo_BuilderShape::myMapShape, GEOMAlgo_BuilderShape::myShape, and GEOMAlgo_BuilderShape::PrepareHistory().
void GEOMAlgo_Gluer2::SetKeepNonSolids | ( | const Standard_Boolean | theFlag | ) |
References myKeepNonSolids.
void GEOMAlgo_Gluer2::SetShapesToGlue | ( | const TopTools_DataMapOfShapeListOfShape & | aM | ) |
const TopTools_DataMapOfShapeListOfShape & GEOMAlgo_Gluer2::ShapesDetected | ( | ) | const |
References myImagesDetected.
const TopTools_DataMapOfShapeListOfShape & GEOMAlgo_Gluer2::ShapesToGlue | ( | ) | const |
References myShapesToGlue.
const TopTools_IndexedDataMapOfShapeListOfShape & GEOMAlgo_Gluer2::StickedShapes | ( | ) |
References myDetector, and GEOMAlgo_GlueDetector::StickedShapes().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |