Open CASCADE Technology  6.9.1
Public Member Functions | Protected Member Functions
MgtBRep_TranslateTool Class Reference

The TranslateTool class is provided to support the translation of BRep topological data structures. Used to call the MgtTopoDS methods. More...

#include <MgtBRep_TranslateTool.hxx>

Inheritance diagram for MgtBRep_TranslateTool:
Inheritance graph
[legend]

Public Member Functions

 MgtBRep_TranslateTool (const MgtBRep_TriangleMode aTriMode)
 Creates a new TranslateTool. More...
 
void Add (TopoDS_Shape &S1, const TopoDS_Shape &S2) const
 
void MakeVertex (TopoDS_Shape &S) const
 
void MakeVertex (const Handle< PTopoDS_HShape > &S) const
 
void MakeEdge (TopoDS_Shape &S) const
 
void MakeEdge (const Handle< PTopoDS_HShape > &S) const
 
void MakeWire (TopoDS_Shape &S) const
 
void MakeWire (const Handle< PTopoDS_HShape > &S) const
 
void MakeFace (TopoDS_Shape &S) const
 
void MakeFace (const Handle< PTopoDS_HShape > &S) const
 
void MakeShell (TopoDS_Shape &S) const
 
void MakeShell (const Handle< PTopoDS_HShape > &S) const
 
void MakeSolid (TopoDS_Shape &S) const
 
void MakeSolid (const Handle< PTopoDS_HShape > &S) const
 
void MakeCompSolid (TopoDS_Shape &S) const
 
void MakeCompSolid (const Handle< PTopoDS_HShape > &S) const
 
void MakeCompound (TopoDS_Shape &S) const
 
void MakeCompound (const Handle< PTopoDS_HShape > &S) const
 
virtual void UpdateVertex (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2, PTColStd_TransientPersistentMap &M) const
 
virtual void UpdateVertex (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2, PTColStd_PersistentTransientMap &M) const
 
virtual void UpdateEdge (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2, PTColStd_TransientPersistentMap &M) const
 
virtual void UpdateEdge (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2, PTColStd_PersistentTransientMap &M) const
 
virtual void UpdateFace (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2, PTColStd_TransientPersistentMap &M) const
 
virtual void UpdateFace (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2, PTColStd_PersistentTransientMap &M) const
 
- Public Member Functions inherited from MgtTopoDS_TranslateTool
void UpdateShape (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2) const
 Basic update method. More...
 
void UpdateShape (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2) const
 Basic update method. More...
 
virtual void UpdateWire (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2) const
 
virtual void UpdateWire (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2) const
 
virtual void UpdateShell (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2) const
 
virtual void UpdateShell (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2) const
 
virtual void UpdateSolid (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2) const
 
virtual void UpdateSolid (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2) const
 
virtual void UpdateCompSolid (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2) const
 
virtual void UpdateCompSolid (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2) const
 
virtual void UpdateCompound (const TopoDS_Shape &S1, const Handle< PTopoDS_HShape > &S2) const
 
virtual void UpdateCompound (const Handle< PTopoDS_HShape > &S1, TopoDS_Shape &S2) const
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const Handle_Standard_Type & DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Protected Member Functions

Handle< PGeom_CurveTranslate (const Handle< Geom_Curve > &TC, PTColStd_TransientPersistentMap &M) const
 Translates a Transient Curve onto a Persistent Curve. More...
 
Handle< Geom_CurveTranslate (const Handle< PGeom_Curve > &PC, PTColStd_PersistentTransientMap &M) const
 Translates a Persistent Curve onto a Transient Curve. More...
 
Handle< PGeom2d_CurveTranslate (const Handle< Geom2d_Curve > &TC, PTColStd_TransientPersistentMap &M) const
 Translates a Transient Curve2d onto a Persistent Curve. More...
 
Handle< Geom2d_CurveTranslate (const Handle< PGeom2d_Curve > &PC, PTColStd_PersistentTransientMap &M) const
 Translates a Persistent Curve2d onto a Transient Curve. More...
 
Handle< PGeom_SurfaceTranslate (const Handle< Geom_Surface > &TS, PTColStd_TransientPersistentMap &M) const
 Translates a Transient Surface onto a Persistent Curve. More...
 
Handle< Geom_SurfaceTranslate (const Handle< PGeom_Surface > &PS, PTColStd_PersistentTransientMap &M) const
 Translates a Persistent Surface onto a Transient Curve. More...
 

Detailed Description

The TranslateTool class is provided to support the translation of BRep topological data structures. Used to call the MgtTopoDS methods.

Constructor & Destructor Documentation

MgtBRep_TranslateTool::MgtBRep_TranslateTool ( const MgtBRep_TriangleMode  aTriMode)

Creates a new TranslateTool.

Member Function Documentation

void MgtBRep_TranslateTool::Add ( TopoDS_Shape S1,
const TopoDS_Shape S2 
) const
virtual
void MgtBRep_TranslateTool::MakeCompound ( TopoDS_Shape S) const
virtual
void MgtBRep_TranslateTool::MakeCompound ( const Handle< PTopoDS_HShape > &  S) const
virtual
void MgtBRep_TranslateTool::MakeCompSolid ( TopoDS_Shape S) const
virtual
void MgtBRep_TranslateTool::MakeCompSolid ( const Handle< PTopoDS_HShape > &  S) const
virtual
void MgtBRep_TranslateTool::MakeEdge ( TopoDS_Shape S) const
virtual
void MgtBRep_TranslateTool::MakeEdge ( const Handle< PTopoDS_HShape > &  S) const
virtual
void MgtBRep_TranslateTool::MakeFace ( TopoDS_Shape S) const
virtual
void MgtBRep_TranslateTool::MakeFace ( const Handle< PTopoDS_HShape > &  S) const
virtual
void MgtBRep_TranslateTool::MakeShell ( TopoDS_Shape S) const
virtual
void MgtBRep_TranslateTool::MakeShell ( const Handle< PTopoDS_HShape > &  S) const
virtual
void MgtBRep_TranslateTool::MakeSolid ( TopoDS_Shape S) const
virtual
void MgtBRep_TranslateTool::MakeSolid ( const Handle< PTopoDS_HShape > &  S) const
virtual
void MgtBRep_TranslateTool::MakeVertex ( TopoDS_Shape S) const
virtual
void MgtBRep_TranslateTool::MakeVertex ( const Handle< PTopoDS_HShape > &  S) const
virtual
void MgtBRep_TranslateTool::MakeWire ( TopoDS_Shape S) const
virtual
void MgtBRep_TranslateTool::MakeWire ( const Handle< PTopoDS_HShape > &  S) const
virtual
Handle< PGeom_Curve > MgtBRep_TranslateTool::Translate ( const Handle< Geom_Curve > &  TC,
PTColStd_TransientPersistentMap M 
) const
protected

Translates a Transient Curve onto a Persistent Curve.

Handle< Geom_Curve > MgtBRep_TranslateTool::Translate ( const Handle< PGeom_Curve > &  PC,
PTColStd_PersistentTransientMap M 
) const
protected

Translates a Persistent Curve onto a Transient Curve.

Handle< PGeom2d_Curve > MgtBRep_TranslateTool::Translate ( const Handle< Geom2d_Curve > &  TC,
PTColStd_TransientPersistentMap M 
) const
protected

Translates a Transient Curve2d onto a Persistent Curve.

Handle< Geom2d_Curve > MgtBRep_TranslateTool::Translate ( const Handle< PGeom2d_Curve > &  PC,
PTColStd_PersistentTransientMap M 
) const
protected

Translates a Persistent Curve2d onto a Transient Curve.

Handle< PGeom_Surface > MgtBRep_TranslateTool::Translate ( const Handle< Geom_Surface > &  TS,
PTColStd_TransientPersistentMap M 
) const
protected

Translates a Transient Surface onto a Persistent Curve.

Handle< Geom_Surface > MgtBRep_TranslateTool::Translate ( const Handle< PGeom_Surface > &  PS,
PTColStd_PersistentTransientMap M 
) const
protected

Translates a Persistent Surface onto a Transient Curve.

virtual void MgtBRep_TranslateTool::UpdateEdge ( const TopoDS_Shape S1,
const Handle< PTopoDS_HShape > &  S2,
PTColStd_TransientPersistentMap M 
) const
virtual

Reimplemented from MgtTopoDS_TranslateTool.

virtual void MgtBRep_TranslateTool::UpdateEdge ( const Handle< PTopoDS_HShape > &  S1,
TopoDS_Shape S2,
PTColStd_PersistentTransientMap M 
) const
virtual

Reimplemented from MgtTopoDS_TranslateTool.

virtual void MgtBRep_TranslateTool::UpdateFace ( const TopoDS_Shape S1,
const Handle< PTopoDS_HShape > &  S2,
PTColStd_TransientPersistentMap M 
) const
virtual

Reimplemented from MgtTopoDS_TranslateTool.

virtual void MgtBRep_TranslateTool::UpdateFace ( const Handle< PTopoDS_HShape > &  S1,
TopoDS_Shape S2,
PTColStd_PersistentTransientMap M 
) const
virtual

Reimplemented from MgtTopoDS_TranslateTool.

virtual void MgtBRep_TranslateTool::UpdateVertex ( const TopoDS_Shape S1,
const Handle< PTopoDS_HShape > &  S2,
PTColStd_TransientPersistentMap M 
) const
virtual

Reimplemented from MgtTopoDS_TranslateTool.

virtual void MgtBRep_TranslateTool::UpdateVertex ( const Handle< PTopoDS_HShape > &  S1,
TopoDS_Shape S2,
PTColStd_PersistentTransientMap M 
) const
virtual

Reimplemented from MgtTopoDS_TranslateTool.


The documentation for this class was generated from the following file: