|
Open CASCADE Technology
6.7.1
|
Builds the mesh of a shape with respect of their
correctly triangulated parts
More...
#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. More... | |
| void | SetRelative (const Standard_Boolean theFlag) |
| Standard_Boolean | Relative () const |
| virtual void | Perform () |
| Compute triangulation for set shape. More... | |
| void | Update (const TopoDS_Shape &S) |
| Builds the incremental mesh of the shape More... | |
| Standard_Boolean | IsModified () const |
| Standard_Integer | GetStatusFlags () const |
| void | SetParallel (const Standard_Boolean theInParallel) |
| Request algorithm to launch in multiple threads to improve performance. More... | |
| Standard_Boolean | IsParallel () const |
| Returns the multi-threading usage flag. More... | |
Public Member Functions inherited from BRepMesh_DiscretRoot | |
| 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_Shape & | Shape () const |
| 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_Transient & | operator= (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... | |
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. More... | |
| static Standard_Boolean | IsParallelDefault () |
| Returns multi-threading usage flag set by default in Discret() static method (thus applied only to Mesh Factories). More... | |
| 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). More... | |
Protected Member Functions | |
| virtual void | Init () |
Protected Member Functions inherited from BRepMesh_DiscretRoot | |
| BRepMesh_DiscretRoot () | |
| void | SetDone () |
| void | SetNotDone () |
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 |
Protected Attributes inherited from BRepMesh_DiscretRoot | |
| Standard_Real | myDeflection |
| Standard_Real | myAngle |
| TopoDS_Shape | myShape |
| Standard_Boolean | myIsDone |
Builds the mesh of a shape with respect of their
correctly triangulated parts
| 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 |
||
| ) |
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.
|
static |
Plugin interface for the Mesh Factories.
| Standard_Integer BRepMesh_IncrementalMesh::GetStatusFlags | ( | ) | const |
|
protectedvirtual |
Reimplemented from BRepMesh_DiscretRoot.
| Standard_Boolean BRepMesh_IncrementalMesh::IsModified | ( | ) | const |
| Standard_Boolean BRepMesh_IncrementalMesh::IsParallel | ( | ) | const |
Returns the multi-threading usage flag.
|
static |
Returns multi-threading usage flag set by default in
Discret() static method (thus applied only to Mesh Factories).
|
virtual |
Compute triangulation for set shape.
Implements BRepMesh_DiscretRoot.
| Standard_Boolean BRepMesh_IncrementalMesh::Relative | ( | ) | const |
| void BRepMesh_IncrementalMesh::SetParallel | ( | const Standard_Boolean | theInParallel | ) |
Request algorithm to launch in multiple threads to improve performance.
|
static |
Setup multi-threading usage flag set by default in
Discret() static method (thus applied only to Mesh Factories).
| void BRepMesh_IncrementalMesh::SetRelative | ( | const Standard_Boolean | theFlag | ) |
| void BRepMesh_IncrementalMesh::Update | ( | const TopoDS_Shape & | S | ) |
Builds the incremental mesh of the shape
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.5