Open CASCADE Technology 6.6.0
|
This is a common interface for meshing algorithms
instantiated by Mesh Factory and implemented by plugins.
#include <BRepMesh_DiscretRoot.hxx>
Public Member Functions | |
void | SetDeflection (const Standard_Real theDeflection) |
Setup linear deflection. | |
virtual | ~BRepMesh_DiscretRoot () |
Standard_Real | Deflection () const |
Returns linear deflection. | |
void | SetAngle (const Standard_Real theAngle) |
Setup angular deflection. | |
Standard_Real | Angle () const |
Returns angular deflection. | |
void | SetShape (const TopoDS_Shape &theShape) |
Set the shape to triangulate. | |
const TopoDS_Shape & | Shape () const |
virtual void | Perform ()=0 |
Compute triangulation for set shape. | |
Standard_Boolean | IsDone () const |
Returns true if triangualtion was performed and has success. | |
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 |
virtual BRepMesh_DiscretRoot::~BRepMesh_DiscretRoot | ( | ) | [virtual] |
BRepMesh_DiscretRoot::BRepMesh_DiscretRoot | ( | ) | [protected] |
Standard_Real BRepMesh_DiscretRoot::Angle | ( | ) | const |
Standard_Real BRepMesh_DiscretRoot::Deflection | ( | ) | const |
virtual void BRepMesh_DiscretRoot::Init | ( | ) | [protected, virtual] |
Reimplemented in BRepMesh_IncrementalMesh.
Standard_Boolean BRepMesh_DiscretRoot::IsDone | ( | ) | const |
virtual void BRepMesh_DiscretRoot::Perform | ( | ) | [pure virtual] |
Implemented in BRepMesh_IncrementalMesh.
void BRepMesh_DiscretRoot::SetAngle | ( | const Standard_Real | theAngle | ) |
void BRepMesh_DiscretRoot::SetDeflection | ( | const Standard_Real | theDeflection | ) |
void BRepMesh_DiscretRoot::SetDone | ( | ) | [protected] |
void BRepMesh_DiscretRoot::SetNotDone | ( | ) | [protected] |
void BRepMesh_DiscretRoot::SetShape | ( | const TopoDS_Shape & | theShape | ) |
const TopoDS_Shape& BRepMesh_DiscretRoot::Shape | ( | ) | const |
Standard_Real BRepMesh_DiscretRoot::myAngle [protected] |
Standard_Real BRepMesh_DiscretRoot::myDeflection [protected] |
Standard_Boolean BRepMesh_DiscretRoot::myIsDone [protected] |
TopoDS_Shape BRepMesh_DiscretRoot::myShape [protected] |