Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

void SetDeflection (const Standard_Real theDeflection)
 Setup linear deflection.
More...
 
virtual ~BRepMesh_DiscretRoot ()
 
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
 
virtual void Perform ()=0
 Compute triangulation for set shape.
More...
 
Standard_Boolean IsDone () const
 Returns true if triangualtion was performed and has success.
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 void ShallowDump (Standard_OStream &) const
 
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 ()
 
void SetDone ()
 
void SetNotDone ()
 
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
BRepMesh_DiscretRoot::BRepMesh_DiscretRoot ( )
protected

Member Function Documentation

Standard_Real BRepMesh_DiscretRoot::Angle ( ) const

Returns angular deflection.

Standard_Real BRepMesh_DiscretRoot::Deflection ( ) const

Returns linear deflection.

virtual void BRepMesh_DiscretRoot::Init ( )
protectedvirtual

Reimplemented in BRepMesh_IncrementalMesh.

Standard_Boolean BRepMesh_DiscretRoot::IsDone ( ) const

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)

Setup angular deflection.

void BRepMesh_DiscretRoot::SetDeflection ( const Standard_Real  theDeflection)

Setup linear deflection.

void BRepMesh_DiscretRoot::SetDone ( )
protected
void BRepMesh_DiscretRoot::SetNotDone ( )
protected
void BRepMesh_DiscretRoot::SetShape ( const TopoDS_Shape theShape)

Set the shape to triangulate.

const TopoDS_Shape& BRepMesh_DiscretRoot::Shape ( ) const

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: