Open CASCADE Technology 6.6.0
|
Builds the mesh of a shape with respect of their
correctly triangulated parts
#include <BRepMesh_IncrementalMesh.hxx>
Public Member Functions | |
BRepMesh_IncrementalMesh () | |
virtual | ~BRepMesh_IncrementalMesh () |
BRepMesh_IncrementalMesh (const TopoDS_Shape &S, const Standard_Real D, const Standard_Boolean Relatif=Standard_False, const Standard_Real Ang=0.5, const Standard_Boolean InParallel=Standard_False) | |
If the boolean <Relatif> is True, the deflection used for the polygonalisation of each edge will be <D> * Size of Edge. the deflection used for the faces will be the maximum deflection of their edges. | |
void | SetRelative (const Standard_Boolean theFlag) |
Standard_Boolean | Relative () const |
virtual void | Perform () |
Compute triangulation for set shape. | |
void | Update (const TopoDS_Shape &S) |
Builds the incremental mesh of the shape | |
Standard_Boolean | IsModified () const |
Standard_Integer | GetStatusFlags () const |
void | SetParallel (const Standard_Boolean theInParallel) |
Request algorithm to launch in multiple threads to improve performance. | |
Standard_Boolean | IsParallel () const |
Returns the multi-threading usage flag. | |
Static Public Member Functions | |
static Standard_Integer | Discret (const TopoDS_Shape &theShape, const Standard_Real theDeflection, const Standard_Real theAngle, BRepMesh_PDiscretRoot &theAlgo) |
Plugin interface for the Mesh Factories. | |
static Standard_Boolean | IsParallelDefault () |
Returns multi-threading usage flag set by default in Discret() static method (thus applied only to Mesh Factories). | |
static void | SetParallelDefault (const Standard_Boolean theInParallel) |
Setup multi-threading usage flag set by default in Discret() static method (thus applied only to Mesh Factories). | |
Protected Member Functions | |
virtual void | Init () |
Protected Attributes | |
Standard_Boolean | myRelative |
Standard_Boolean | myInParallel |
TopTools_MapOfShape | myMap |
Handle_BRepMesh_FastDiscret | myMesh |
Standard_Boolean | myModified |
TopTools_DataMapOfShapeReal | mymapedge |
TopTools_IndexedDataMapOfShapeListOfShape | myancestors |
Standard_Real | mydtotale |
Bnd_Box | myBox |
Standard_Integer | myStatus |
BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh | ( | ) |
virtual BRepMesh_IncrementalMesh::~BRepMesh_IncrementalMesh | ( | ) | [virtual] |
BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh | ( | const TopoDS_Shape & | S, |
const Standard_Real | D, | ||
const Standard_Boolean | Relatif = Standard_False , |
||
const Standard_Real | Ang = 0.5 , |
||
const Standard_Boolean | InParallel = Standard_False |
||
) |
static Standard_Integer BRepMesh_IncrementalMesh::Discret | ( | const TopoDS_Shape & | theShape, |
const Standard_Real | theDeflection, | ||
const Standard_Real | theAngle, | ||
BRepMesh_PDiscretRoot & | theAlgo | ||
) | [static] |
Standard_Integer BRepMesh_IncrementalMesh::GetStatusFlags | ( | ) | const |
virtual void BRepMesh_IncrementalMesh::Init | ( | ) | [protected, virtual] |
Reimplemented from BRepMesh_DiscretRoot.
Standard_Boolean BRepMesh_IncrementalMesh::IsModified | ( | ) | const |
Standard_Boolean BRepMesh_IncrementalMesh::IsParallel | ( | ) | const |
static Standard_Boolean BRepMesh_IncrementalMesh::IsParallelDefault | ( | ) | [static] |
virtual void BRepMesh_IncrementalMesh::Perform | ( | ) | [virtual] |
Implements BRepMesh_DiscretRoot.
Standard_Boolean BRepMesh_IncrementalMesh::Relative | ( | ) | const |
void BRepMesh_IncrementalMesh::SetParallel | ( | const Standard_Boolean | theInParallel | ) |
static void BRepMesh_IncrementalMesh::SetParallelDefault | ( | const Standard_Boolean | theInParallel | ) | [static] |
void BRepMesh_IncrementalMesh::SetRelative | ( | const Standard_Boolean | theFlag | ) |
void BRepMesh_IncrementalMesh::Update | ( | const TopoDS_Shape & | S | ) |
Bnd_Box BRepMesh_IncrementalMesh::myBox [protected] |
Standard_Real BRepMesh_IncrementalMesh::mydtotale [protected] |
TopTools_MapOfShape BRepMesh_IncrementalMesh::myMap [protected] |
Handle_BRepMesh_FastDiscret BRepMesh_IncrementalMesh::myMesh [protected] |
Standard_Boolean BRepMesh_IncrementalMesh::myModified [protected] |
Standard_Boolean BRepMesh_IncrementalMesh::myRelative [protected] |
Standard_Integer BRepMesh_IncrementalMesh::myStatus [protected] |