#include <GEOMAlgo_ShapeInfoFiller.hxx>
Public Member Functions | |
Standard_EXPORT | GEOMAlgo_ShapeInfoFiller () |
virtual Standard_EXPORT | ~GEOMAlgo_ShapeInfoFiller () |
Standard_EXPORT void | SetShape (const TopoDS_Shape &aS) |
Standard_EXPORT const TopoDS_Shape & | Shape () const |
Standard_EXPORT void | SetTolerance (const Standard_Real aT) |
Standard_EXPORT Standard_Real | Tolerance () const |
Standard_EXPORT const GEOMAlgo_ShapeInfo & | Info () const |
Standard_EXPORT const GEOMAlgo_ShapeInfo & | Info (const TopoDS_Shape &aS) const |
virtual Standard_EXPORT void | Perform () |
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... | |
Protected Member Functions | |
virtual Standard_EXPORT void | CheckData () |
Standard_EXPORT void | FillNbSubShapes (const TopoDS_Shape &aS, GEOMAlgo_ShapeInfo &aInfo) |
Standard_EXPORT void | FillSubShapes (const TopoDS_Shape &aS) |
Standard_EXPORT void | FillShape (const TopoDS_Shape &aS) |
Standard_EXPORT void | FillVertex (const TopoDS_Shape &aS) |
Standard_EXPORT void | FillEdge (const TopoDS_Shape &aS) |
Standard_EXPORT void | FillFace (const TopoDS_Shape &aS) |
Standard_EXPORT void | FillSolid (const TopoDS_Shape &aS) |
Standard_EXPORT void | FillContainer (const TopoDS_Shape &aS) |
Standard_EXPORT void | FillDetails (const TopoDS_Face &aF, const gp_Pln &aPln) |
Standard_EXPORT void | FillDetails (const TopoDS_Face &aF, const gp_Sphere &aSph) |
Standard_EXPORT void | FillDetails (const TopoDS_Face &aF, const gp_Cylinder &aCyl) |
Standard_EXPORT void | FillDetails (const TopoDS_Face &aF, const gp_Cone &aCone) |
Standard_EXPORT void | FillDetails (const TopoDS_Face &aF, const gp_Torus &aTorus) |
Standard_EXPORT void | FillDetails (const TopoDS_Solid &aS) |
Standard_EXPORT Standard_Boolean | TreatStepSphere (const TopoDS_Solid &aS) |
Protected Member Functions inherited from GEOMAlgo_Algo | |
Standard_EXPORT | GEOMAlgo_Algo () |
virtual Standard_EXPORT | ~GEOMAlgo_Algo () |
virtual Standard_EXPORT void | CheckResult () |
Static Protected Member Functions | |
static Standard_EXPORT Standard_Boolean | IsAllowedType (const GeomAbs_CurveType aCT) |
static Standard_EXPORT Standard_Boolean | IsAllowedType (const GeomAbs_SurfaceType aST) |
static Standard_EXPORT Standard_Integer | NbWires (const TopoDS_Face &aF) |
static Standard_EXPORT Standard_Integer | NbShells (const TopoDS_Solid &aS) |
Protected Attributes | |
TopoDS_Shape | myShape |
GEOMAlgo_ShapeInfo | myEmptyInfo |
GEOMAlgo_IndexedDataMapOfShapeShapeInfo | myMapInfo |
Standard_Real | myTolerance |
Protected Attributes inherited from GEOMAlgo_Algo | |
Standard_Integer | myErrorStatus |
Standard_Integer | myWarningStatus |
Standard_Boolean | myComputeInternalShapes |
GEOMAlgo_ShapeInfoFiller::GEOMAlgo_ShapeInfoFiller | ( | ) |
References myTolerance.
|
virtual |
|
protectedvirtual |
Reimplemented from GEOMAlgo_Algo.
References GEOMAlgo_Algo::myErrorStatus, and myShape.
|
protected |
|
protected |
References GEOMAlgo_ShapeInfo::Direction(), GEOMAlgo_KD_ARBITRARY, GEOMAlgo_KD_SPECIFIED, GEOMAlgo_KN_CIRCLE, GEOMAlgo_KN_DISKCIRCLE, GEOMAlgo_KN_DISKELLIPSE, GEOMAlgo_KN_ELLIPSE, GEOMAlgo_KN_POLYGON, GEOMAlgo_KN_QUADRANGLE, GEOMAlgo_KN_RECTANGLE, GEOMAlgo_KN_SEGMENT, GEOMAlgo_KN_TRIANGLE, GEOMAlgo_ShapeInfo::KindOfName(), GEOMAlgo_ShapeInfo::Location(), myMapInfo, myTolerance, GEOMAlgo_ShapeInfo::NbSubShapes(), GEOMAlgo_ShapeInfo::Position(), GEOMAlgo_ShapeInfo::Radius1(), GEOMAlgo_ShapeInfo::Radius2(), GEOMAlgo_ShapeInfo::SetKindOfDef(), GEOMAlgo_ShapeInfo::SetKindOfName(), GEOMAlgo_ShapeInfo::SetLength(), GEOMAlgo_ShapeInfo::SetLocation(), GEOMAlgo_ShapeInfo::SetPosition(), GEOMAlgo_ShapeInfo::SetRadius1(), GEOMAlgo_ShapeInfo::SetRadius2(), and GEOMAlgo_ShapeInfo::SetWidth().
|
protected |
|
protected |
References aHeight, GEOMAlgo_KC_CLOSED, GEOMAlgo_KD_ARBITRARY, GEOMAlgo_KD_SPECIFIED, GEOMAlgo_KN_CIRCLE, GEOMAlgo_KN_SEGMENT, GEOMAlgo_ShapeInfo::KindOfClosed(), GEOMAlgo_ShapeInfo::KindOfName(), GEOMAlgo_ShapeInfo::Location(), myMapInfo, GEOMAlgo_ShapeInfo::NbSubShapes(), GEOMAlgo_ShapeInfo::SetHeight(), GEOMAlgo_ShapeInfo::SetKindOfDef(), GEOMAlgo_ShapeInfo::SetLocation(), and GEOMAlgo_ShapeInfo::SetPosition().
|
protected |
References aHeight, GEOMAlgo_KC_CLOSED, GEOMAlgo_KD_ARBITRARY, GEOMAlgo_KD_SPECIFIED, GEOMAlgo_KN_CIRCLE, GEOMAlgo_KN_SEGMENT, GEOMAlgo_KS_DEGENERATED, GEOMAlgo_ShapeInfo::KindOfClosed(), GEOMAlgo_ShapeInfo::KindOfName(), GEOMAlgo_ShapeInfo::KindOfShape(), GEOMAlgo_ShapeInfo::Location(), myMapInfo, GEOMAlgo_ShapeInfo::NbSubShapes(), GEOMAlgo_ShapeInfo::Radius1(), GEOMAlgo_ShapeInfo::SetHeight(), GEOMAlgo_ShapeInfo::SetKindOfDef(), GEOMAlgo_ShapeInfo::SetLocation(), GEOMAlgo_ShapeInfo::SetPosition(), GEOMAlgo_ShapeInfo::SetRadius1(), and GEOMAlgo_ShapeInfo::SetRadius2().
|
protected |
|
protected |
References aHeight, GEOMAlgo_KD_SPECIFIED, GEOMAlgo_KN_BOX, GEOMAlgo_KN_CONE, GEOMAlgo_KN_CYLINDER, GEOMAlgo_KN_DISKCIRCLE, GEOMAlgo_KN_POLYGON, GEOMAlgo_KN_POLYHEDRON, GEOMAlgo_KN_QUADRANGLE, GEOMAlgo_KN_RECTANGLE, GEOMAlgo_KN_SOLID, GEOMAlgo_KN_SPHERE, GEOMAlgo_KN_TORUS, GEOMAlgo_KN_TRIANGLE, GEOMAlgo_KN_UNKNOWN, GEOMAlgo_ShapeInfo::Height(), GEOMAlgo_ShapeInfo::KindOfDef(), GEOMAlgo_ShapeInfo::KindOfName(), GEOMAlgo_ShapeInfo::Location(), myMapInfo, NbShells(), GEOMAlgo_ShapeInfo::Position(), GEOMAlgo_ShapeInfo::Radius1(), GEOMAlgo_ShapeInfo::Radius2(), GEOMAlgo_ShapeInfo::SetHeight(), GEOMAlgo_ShapeInfo::SetKindOfName(), GEOMAlgo_ShapeInfo::SetLength(), GEOMAlgo_ShapeInfo::SetLocation(), GEOMAlgo_ShapeInfo::SetPosition(), GEOMAlgo_ShapeInfo::SetRadius1(), GEOMAlgo_ShapeInfo::SetRadius2(), GEOMAlgo_ShapeInfo::SetWidth(), and TreatStepSphere().
|
protected |
References Curve(), FillNbSubShapes(), FillSubShapes(), GEOMAlgo_KB_INFINITE, GEOMAlgo_KB_TRIMMED, GEOMAlgo_KC_CLOSED, GEOMAlgo_KC_NOTCLOSED, GEOMAlgo_KN_ARCCIRCLE, GEOMAlgo_KN_ARCELLIPSE, GEOMAlgo_KN_CIRCLE, GEOMAlgo_KN_ELLIPSE, GEOMAlgo_KN_LINE, GEOMAlgo_KN_SEGMENT, GEOMAlgo_KS_BSPLINE, GEOMAlgo_KS_CIRCLE, GEOMAlgo_KS_DEGENERATED, GEOMAlgo_KS_ELLIPSE, GEOMAlgo_KS_LINE, Handle(), IsAllowedType(), GEOMAlgo_Algo::myErrorStatus, myMapInfo, GEOMAlgo_ShapeInfo::NbSubShapes(), GEOMAlgo_ShapeInfo::SetDirection(), GEOMAlgo_ShapeInfo::SetKindOfBounds(), GEOMAlgo_ShapeInfo::SetKindOfClosed(), GEOMAlgo_ShapeInfo::SetKindOfName(), GEOMAlgo_ShapeInfo::SetKindOfShape(), GEOMAlgo_ShapeInfo::SetLength(), GEOMAlgo_ShapeInfo::SetLocation(), GEOMAlgo_ShapeInfo::SetPnt1(), GEOMAlgo_ShapeInfo::SetPnt2(), GEOMAlgo_ShapeInfo::SetPosition(), GEOMAlgo_ShapeInfo::SetRadius1(), GEOMAlgo_ShapeInfo::SetRadius2(), and GEOMAlgo_ShapeInfo::SetType().
|
protected |
References aPln, FillDetails(), FillNbSubShapes(), FillSubShapes(), GEOMAlgo_KB_INFINITE, GEOMAlgo_KB_TRIMMED, GEOMAlgo_KC_CLOSED, GEOMAlgo_KC_NOTCLOSED, GEOMAlgo_KN_CONE, GEOMAlgo_KN_CYLINDER, GEOMAlgo_KN_PLANE, GEOMAlgo_KN_SPHERE, GEOMAlgo_KN_TORUS, GEOMAlgo_KS_CONE, GEOMAlgo_KS_CYLINDER, GEOMAlgo_KS_PLANE, GEOMAlgo_KS_SPHERE, GEOMAlgo_KS_TORUS, Handle(), IsAllowedType(), GEOMAlgo_Algo::myErrorStatus, myMapInfo, GEOMAlgo_ShapeInfo::SetHeight(), GEOMAlgo_ShapeInfo::SetKindOfBounds(), GEOMAlgo_ShapeInfo::SetKindOfClosed(), GEOMAlgo_ShapeInfo::SetKindOfName(), GEOMAlgo_ShapeInfo::SetKindOfShape(), GEOMAlgo_ShapeInfo::SetLocation(), GEOMAlgo_ShapeInfo::SetPosition(), GEOMAlgo_ShapeInfo::SetRadius1(), GEOMAlgo_ShapeInfo::SetRadius2(), and GEOMAlgo_ShapeInfo::SetType().
|
protected |
References GEOMAlgo_Algo::myErrorStatus, and GEOMAlgo_ShapeInfo::SetNbSubShapes().
|
protected |
References FillContainer(), FillEdge(), FillFace(), FillSolid(), and FillVertex().
|
protected |
|
protected |
References FillShape().
|
protected |
const GEOMAlgo_ShapeInfo & GEOMAlgo_ShapeInfoFiller::Info | ( | ) | const |
References myShape.
const GEOMAlgo_ShapeInfo & GEOMAlgo_ShapeInfoFiller::Info | ( | const TopoDS_Shape & | aS | ) | const |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
virtual |
Implements GEOMAlgo_Algo.
References CheckData(), FillShape(), GEOMAlgo_Algo::myErrorStatus, myMapInfo, and myShape.
void GEOMAlgo_ShapeInfoFiller::SetShape | ( | const TopoDS_Shape & | aS | ) |
References myShape.
void GEOMAlgo_ShapeInfoFiller::SetTolerance | ( | const Standard_Real | aT | ) |
References myTolerance.
const TopoDS_Shape & GEOMAlgo_ShapeInfoFiller::Shape | ( | ) | const |
References myShape.
Standard_Real GEOMAlgo_ShapeInfoFiller::Tolerance | ( | ) | const |
References myTolerance.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |