#include <CMesh.h>
Public Member Functions | |
MDS_SHAREDPTR (CSmoothingMesh) | |
Smart pointer declaration. | |
CSmoothingMesh () | |
Constructor. | |
virtual | ~CSmoothingMesh () |
Destructor. | |
bool | loadFile (const std::string &name) |
Loads smoothing mesh from a file. | |
bool | saveFile (const std::string &name) |
Saves smoothing mesh to a file. | |
bool | disposeVertexInfo () |
Disposes of all the information stored in vertices. | |
double | getVolume () |
Compute the volume of the mesh. | |
vctl::MCVector3D | getNormal (vctl::MCVertex *vert) |
Returns normal of a vertex. | |
void | getNormal (vctl::MCVertex *actual_vertex, vctl::MCVector3D *new_normal) |
Returns normal of a vertex. | |
void | removeVerticesNormals () |
Removes precomputed vertex normals. | |
void | precomputeVerticesNormals () |
Precomputes vertex normals. | |
Static Public Member Functions | |
static bool | getNeighbourTri (vctl::MCVertex *actual_vertex, tTriPtrList &neighbour_tri, int neighbour_layers) |
Get neighbourhood triangles. | |
static bool | getNeighbourVert (vctl::MCVertex *actual_vertex, tVertPtrList &neighbour_vertex, int neighbour_layers) |
Get neighbourhood vertices. | |
Protected Attributes | |
std::string | sMeshName |
Name of the mesh. | |
std::string | sMeshPath |
Path to the source of the mesh. |
CSmoothingMesh class