|
3Depict
|
#include "mesh.h"#include <string>#include <algorithm>#include <limits>#include <list>#include <utility>#include <deque>
Enumerations | |
| enum | { MESH_LOAD_UNSPECIFIED_ERROR =1, MESH_LOAD_BAD_NODECOUNT, MESH_LOAD_BAD_ELEMENTCOUNT, MESH_LOAD_IS_INSANE, MESH_LOAD_ENUM_END } |
Functions | |
| float | signVal (unsigned int val) |
| size_t | findMaxLessThanOrEq (const vector< std::pair< size_t, size_t > > &v, size_t value) |
| float | Determinant (float **a, int n) |
| float | fourDeterminant (const Point3D &a, const Point3D &b, const Point3D &c, const Point3D &d) |
| unsigned int | edgeIdx (unsigned int i, unsigned int j) |
| int | intersect_RayTriangle (const Point3D &rayStart, const Point3D &rayEnd, Point3D *tri, Point3D &I) |
| void | findNearVerticies (float tolerance, const vector< Point3D > &ptVec, vector< std::pair< size_t, vector< size_t > > > &clusterList) |
| void | findNearVerticies (float tolerance, const vector< Point3D > &ptVec, std::list< std::pair< size_t, vector< size_t > > > &clusterList) |
Variables | |
| const char * | MESH_LOAD_ERRS [] |
| const size_t | PROGRESS_REDUCE =500 |
| anonymous enum |
| float Determinant | ( | float ** | a, |
| int | n | ||
| ) |
References ASSERT, and signVal().
Referenced by fourDeterminant().

| unsigned int edgeIdx | ( | unsigned int | i, |
| unsigned int | j | ||
| ) |
References ASSERT.
Referenced by Mesh::removeStrayTris().

| size_t findMaxLessThanOrEq | ( | const vector< std::pair< size_t, size_t > > & | v, |
| size_t | value | ||
| ) |
References ASSERT.
| void findNearVerticies | ( | float | tolerance, |
| const vector< Point3D > & | ptVec, | ||
| vector< std::pair< size_t, vector< size_t > > > & | clusterList | ||
| ) |
References ASSERT.
Referenced by Mesh::mergeDuplicateVertices(), and Mesh::setTriangleMesh().

| void findNearVerticies | ( | float | tolerance, |
| const vector< Point3D > & | ptVec, | ||
| std::list< std::pair< size_t, vector< size_t > > > & | clusterList | ||
| ) |
References ASSERT.
| int intersect_RayTriangle | ( | const Point3D & | rayStart, |
| const Point3D & | rayEnd, | ||
| Point3D * | tri, | ||
| Point3D & | I | ||
| ) |
References Point3D::crossProd(), Point3D::dotProd(), Point3D::normalise(), and Point3D::sqrMag().
Referenced by Mesh::pointsInside().

| float signVal | ( | unsigned int | val | ) |
| const char* MESH_LOAD_ERRS[] |
| const size_t PROGRESS_REDUCE =500 |
Referenced by Mesh::pointsInside().
1.8.13