Open CASCADE Technology  6.9.0
Public Member Functions | Protected Member Functions | Protected Attributes
BRepMesh_DiscretRoot Class Referenceabstract

This is a common interface for meshing algorithms instantiated by Mesh Factory and implemented by plugins. More...

#include <BRepMesh_DiscretRoot.hxx>

Inheritance diagram for BRepMesh_DiscretRoot:
Inheritance graph
[legend]

Public Member Functions

virtual ~BRepMesh_DiscretRoot ()
 Destructor. More...
 
void SetDeflection (const Standard_Real theDeflection)
 Setup linear deflection. More...
 
Standard_Real Deflection () const
 Returns linear deflection. More...
 
void SetAngle (const Standard_Real theAngle)
 Setup angular deflection. More...
 
Standard_Real Angle () const
 Returns angular deflection. More...
 
void SetShape (const TopoDS_Shape &theShape)
 Set the shape to triangulate. More...
 
const TopoDS_ShapeShape () const
 
Standard_Boolean IsDone () const
 Returns true if triangualtion was performed and has success. More...
 
virtual void Perform ()=0
 Compute triangulation for set shape. 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 void Delete () const
 Memory deallocator for transient classes. 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

 BRepMesh_DiscretRoot ()
 Constructor. More...
 
void setDone ()
 Sets IsDone flag. More...
 
void setNotDone ()
 Clears IsDone flag. More...
 
virtual void init ()
 

Protected Attributes

Standard_Real myDeflection
 
Standard_Real myAngle
 
TopoDS_Shape myShape
 
Standard_Boolean myIsDone
 

Detailed Description

This is a common interface for meshing algorithms instantiated by Mesh Factory and implemented by plugins.

Constructor & Destructor Documentation

virtual BRepMesh_DiscretRoot::~BRepMesh_DiscretRoot ( )
virtual

Destructor.

BRepMesh_DiscretRoot::BRepMesh_DiscretRoot ( )
protected

Constructor.

Member Function Documentation

Standard_Real BRepMesh_DiscretRoot::Angle ( ) const
inline

Returns angular deflection.

Standard_Real BRepMesh_DiscretRoot::Deflection ( ) const
inline

Returns linear deflection.

virtual void BRepMesh_DiscretRoot::init ( )
protectedvirtual

Reimplemented in BRepMesh_IncrementalMesh.

Standard_Boolean BRepMesh_DiscretRoot::IsDone ( ) const
inline

Returns true if triangualtion was performed and has success.

virtual void BRepMesh_DiscretRoot::Perform ( )
pure virtual

Compute triangulation for set shape.

Implemented in BRepMesh_IncrementalMesh.

void BRepMesh_DiscretRoot::SetAngle ( const Standard_Real  theAngle)
inline

Setup angular deflection.

void BRepMesh_DiscretRoot::SetDeflection ( const Standard_Real  theDeflection)
inline

Setup linear deflection.

void BRepMesh_DiscretRoot::setDone ( )
inlineprotected

Sets IsDone flag.

void BRepMesh_DiscretRoot::setNotDone ( )
inlineprotected

Clears IsDone flag.

void BRepMesh_DiscretRoot::SetShape ( const TopoDS_Shape theShape)
inline

Set the shape to triangulate.

const TopoDS_Shape& BRepMesh_DiscretRoot::Shape ( ) const
inline

Field Documentation

Standard_Real BRepMesh_DiscretRoot::myAngle
protected
Standard_Real BRepMesh_DiscretRoot::myDeflection
protected
Standard_Boolean BRepMesh_DiscretRoot::myIsDone
protected
TopoDS_Shape BRepMesh_DiscretRoot::myShape
protected

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