|
cisst-saw
|
#include <msh3Mesh.h>
Public Types | |
| enum | VertexIndex { V1 = 1 , V2 = 2 , V3 = 3 , V1V2 = 4 , V1V3 = 5 , V2V3 = 6 , IN = -1 , VOID =0 } |
Public Member Functions | |
| msh3Mesh (double robotResolution, bool convertMMtoM) | |
| msh3Mesh (bool convertMMtoM) | |
| msh3Mesh (double robotResolution) | |
| msh3Mesh () | |
| ~msh3Mesh () | |
| void | ResetMesh () |
| size_t | NumVertices (void) const |
| size_t | NumTriangles (void) const |
| void | InitializeNoiseModel () |
| void | InitializeNoiseModel (double noiseInPlaneVar, double noisePerpPlaneVar) |
| void | SaveTriangleCovariances (std::string &filePath) |
| void | FaceCoords (int ti, vct3 &v0, vct3 &v1, vct3 &v2) const |
| vct3 & | FaceCoord (int ti, int vi) |
| int | LoadMesh (const vctDynamicVector< vct3 > *vertices, const vctDynamicVector< vctInt3 > *faces, const vctDynamicVector< vct3 > *face_normals=NULL, const vctDynamicVector< vctInt3 > *face_neighbors=NULL, const vctDynamicVector< vct3 > *vertex_normals=NULL) |
| void | LoadPLY (const std::string &input_file) |
| void | SavePLY (const std::string &output_file) |
| int | LoadMesh (const vctDynamicVector< vct3 > &V, const vctDynamicVector< vctInt3 > &T, const vctDynamicVector< vct3 > &N) |
| int | LoadMeshFile (const std::string &meshFilePath) |
| int | LoadMeshFileMultiple (const std::vector< std::string > &meshFilePaths) |
| int | SaveMeshFile (const std::string &filePath) |
| int | LoadMeshFromSTLFile (const std::string &stlFilePath) |
| void | MergeEdgePoint (std::vector< int > &faceIdx, vct3 &target) |
| void | ResetMeshConstraintValues () |
| void | TransformTriangle (const vctFrm4x4 &transformation) |
| void | ReadMeshFile (const char *fn) |
| void | ReadMeshMeshFile (const std::string &meshFilePath) |
| void | ReadSURMeshFile (const char *fn) |
| void | ReadSFCMeshFile (const char *fn) |
| void | WriteMeshFile (const char *fn) |
| void | WriteSURMeshFile (const char *fn) |
Public Attributes | |
| vctDynamicVector< vct3 > | vertices |
| vctDynamicVector< vctInt3 > | faces |
| vctDynamicVector< vct3 > | faceNormals |
| vctDynamicVector< vct3 > | vertexNormals |
| vctDynamicVector< vctInt3 > | faceNeighbors |
| vctDynamicVector< vct3 > | closestPoint |
| vctDynamicVector< int > | cpLocation |
| vctDynamicVector< vct3 > | activeNormal |
| vctDynamicVector< double > | distance |
| vctDynamicVector< vct3x3 > | TriangleCov |
| vctDynamicVector< vct3 > | TriangleCovEig |
| int | edgeOffset = 4 |
| int | vertexOffset = 1 |
| msh3Mesh::msh3Mesh | ( | double | robotResolution, |
| bool | convertMMtoM ) |
| msh3Mesh::msh3Mesh | ( | bool | convertMMtoM | ) |
| msh3Mesh::msh3Mesh | ( | double | robotResolution | ) |
| msh3Mesh::msh3Mesh | ( | ) |
|
inline |
|
inline |
| void msh3Mesh::InitializeNoiseModel | ( | ) |
| void msh3Mesh::InitializeNoiseModel | ( | double | noiseInPlaneVar, |
| double | noisePerpPlaneVar ) |
| int msh3Mesh::LoadMesh | ( | const vctDynamicVector< vct3 > & | V, |
| const vctDynamicVector< vctInt3 > & | T, | ||
| const vctDynamicVector< vct3 > & | N ) |
| int msh3Mesh::LoadMesh | ( | const vctDynamicVector< vct3 > * | vertices, |
| const vctDynamicVector< vctInt3 > * | faces, | ||
| const vctDynamicVector< vct3 > * | face_normals = NULL, | ||
| const vctDynamicVector< vctInt3 > * | face_neighbors = NULL, | ||
| const vctDynamicVector< vct3 > * | vertex_normals = NULL ) |
| int msh3Mesh::LoadMeshFile | ( | const std::string & | meshFilePath | ) |
| int msh3Mesh::LoadMeshFileMultiple | ( | const std::vector< std::string > & | meshFilePaths | ) |
| int msh3Mesh::LoadMeshFromSTLFile | ( | const std::string & | stlFilePath | ) |
| void msh3Mesh::LoadPLY | ( | const std::string & | input_file | ) |
| void msh3Mesh::MergeEdgePoint | ( | std::vector< int > & | faceIdx, |
| vct3 & | target ) |
|
inline |
|
inline |
| void msh3Mesh::ReadMeshFile | ( | const char * | fn | ) |
| void msh3Mesh::ReadMeshMeshFile | ( | const std::string & | meshFilePath | ) |
| void msh3Mesh::ReadSFCMeshFile | ( | const char * | fn | ) |
| void msh3Mesh::ReadSURMeshFile | ( | const char * | fn | ) |
| void msh3Mesh::ResetMesh | ( | ) |
| void msh3Mesh::ResetMeshConstraintValues | ( | ) |
| int msh3Mesh::SaveMeshFile | ( | const std::string & | filePath | ) |
| void msh3Mesh::SavePLY | ( | const std::string & | output_file | ) |
| void msh3Mesh::SaveTriangleCovariances | ( | std::string & | filePath | ) |
| void msh3Mesh::TransformTriangle | ( | const vctFrm4x4 & | transformation | ) |
| void msh3Mesh::WriteMeshFile | ( | const char * | fn | ) |
| void msh3Mesh::WriteSURMeshFile | ( | const char * | fn | ) |
| vctDynamicVector<vct3> msh3Mesh::activeNormal |
| vctDynamicVector<vct3> msh3Mesh::closestPoint |
| vctDynamicVector<int> msh3Mesh::cpLocation |
| vctDynamicVector<double> msh3Mesh::distance |
| int msh3Mesh::edgeOffset = 4 |
| vctDynamicVector<vctInt3> msh3Mesh::faceNeighbors |
| vctDynamicVector<vct3> msh3Mesh::faceNormals |
| vctDynamicVector<vctInt3> msh3Mesh::faces |
| vctDynamicVector<vct3x3> msh3Mesh::TriangleCov |
| vctDynamicVector<vct3> msh3Mesh::TriangleCovEig |
| vctDynamicVector<vct3> msh3Mesh::vertexNormals |
| int msh3Mesh::vertexOffset = 1 |
| vctDynamicVector<vct3> msh3Mesh::vertices |