OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKMesh
BRepMesh


BRepMesh_IncrementalMesh Class Reference

Builds the mesh of a shape with respect of their
correctly triangulated parts

.

#include <BRepMesh_IncrementalMesh.hxx>

Inheritance diagram for BRepMesh_IncrementalMesh:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepMesh_IncrementalMesh ()
virtual Standard_EXPORT ~BRepMesh_IncrementalMesh ()
Standard_EXPORT BRepMesh_IncrementalMesh (const TopoDS_Shape &S, const Standard_Real D, const Standard_Boolean Relatif=Standard_False, const Standard_Real Ang=0.5)
 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.

Standard_EXPORT void SetRelative (const Standard_Boolean theFlag)
Standard_EXPORT Standard_Boolean Relative () const
virtual Standard_EXPORT void Perform ()
Standard_EXPORT void Update (const TopoDS_Shape &S)
 Builds the incremental mesh of the shape
.
Standard_EXPORT Standard_Boolean IsModified () const

Protected Member Functions

virtual Standard_EXPORT void Init ()

Protected Attributes

Standard_Boolean myRelative
TopTools_MapOfShape myMap
Handle_BRepMesh_FastDiscret myMesh
Standard_Boolean myModified
BRepMesh_DataMapOfShapeReal mymapedge
TopTools_IndexedDataMapOfShapeListOfShape myancestors
Standard_Real mydtotale
Bnd_Box myBox

Private Member Functions

Standard_EXPORT void Update (const TopoDS_Edge &E)
 Locate a correct discretisation if it exists
Set no one otherwise
.
Standard_EXPORT void Update (const TopoDS_Face &F)
 if the face is not correctly triangulated, or
if one of its edges is to be discretisated
correctly, the triangulation of this face is
built.


Constructor & Destructor Documentation

Standard_EXPORT BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh  ) 
 

virtual Standard_EXPORT BRepMesh_IncrementalMesh::~BRepMesh_IncrementalMesh  )  [virtual]
 

Standard_EXPORT BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh const TopoDS_Shape &  S,
const Standard_Real  D,
const Standard_Boolean  Relatif = Standard_False,
const Standard_Real  Ang = 0.5
 


Member Function Documentation

virtual Standard_EXPORT void BRepMesh_IncrementalMesh::Init  )  [protected, virtual]
 

Reimplemented from BRepMesh_DiscretRoot.

Standard_EXPORT Standard_Boolean BRepMesh_IncrementalMesh::IsModified  )  const
 

void BRepMesh_IncrementalMesh::operator delete void *  anAddress  )  [inline]
 

Reimplemented from BRepMesh_DiscretRoot.

void* BRepMesh_IncrementalMesh::operator new size_t  size  )  [inline]
 

Reimplemented from BRepMesh_DiscretRoot.

void* BRepMesh_IncrementalMesh::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from BRepMesh_DiscretRoot.

virtual Standard_EXPORT void BRepMesh_IncrementalMesh::Perform  )  [virtual]
 

Implements BRepMesh_DiscretRoot.

Standard_EXPORT Standard_Boolean BRepMesh_IncrementalMesh::Relative  )  const
 

Standard_EXPORT void BRepMesh_IncrementalMesh::SetRelative const Standard_Boolean  theFlag  ) 
 

Standard_EXPORT void BRepMesh_IncrementalMesh::Update const TopoDS_Face &  F  )  [private]
 

Standard_EXPORT void BRepMesh_IncrementalMesh::Update const TopoDS_Edge &  E  )  [private]
 

Standard_EXPORT void BRepMesh_IncrementalMesh::Update const TopoDS_Shape &  S  ) 
 


Field Documentation

TopTools_IndexedDataMapOfShapeListOfShape BRepMesh_IncrementalMesh::myancestors [protected]
 

Bnd_Box BRepMesh_IncrementalMesh::myBox [protected]
 

Standard_Real BRepMesh_IncrementalMesh::mydtotale [protected]
 

TopTools_MapOfShape BRepMesh_IncrementalMesh::myMap [protected]
 

BRepMesh_DataMapOfShapeReal BRepMesh_IncrementalMesh::mymapedge [protected]
 

Handle_BRepMesh_FastDiscret BRepMesh_IncrementalMesh::myMesh [protected]
 

Standard_Boolean BRepMesh_IncrementalMesh::myModified [protected]
 

Standard_Boolean BRepMesh_IncrementalMesh::myRelative [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:24 2008 for OpenCASCADE by  doxygen 1.4.1