|
cisst-saw
|
#include <TriangleClosestPointSolver.h>
Public Member Functions | |
| TriangleClosestPointSolver () | |
| TriangleClosestPointSolver (const msh3Mesh &mesh) | |
| TriangleClosestPointSolver (const vctDynamicVector< vct3 > &vertices, const vctDynamicVector< vctInt3 > &triangles) | |
| void | init (const vctDynamicVector< vct3 > &vertices, const vctDynamicVector< vctInt3 > &triangles) |
| void | FindClosestPointOnTriangle (const vct3 &point, int triangleIndex, vct3 &closestPoint) |
| int | FindClosestPointOnTriangleWithEdgeDetection (const vct3 &point, int triangleIndex, vct3 &closestPoint) |
| void | FindClosestPointOnTriangle (const vct3 &point, const vct3 &v1, const vct3 &v2, const vct3 &v3, vct3 &closestPoint) |
| void | FindMostLikelyPointOnTriangle (const vct3 &point, const vct3 &v0, const vct3 &v1, const vct3 &v2, const vct3x3 &N, const vct3x3 &Ninv, vct3 &closestPoint) |
| void | FindMostLikelyPointOnTriangle (const vct3 &point, int triangleIndex, const vct3x3 &N, const vct3x3 &Ninv, vct3 &closestPoint) |
Protected Member Functions | |
| int | FindClosestPointOnTriangle (const vct3 &point, vct3 &closestPoint, const vctFrm3 &triXfm, const vctFrm3 &triXfmInv, const vct2 &P2, const vct2 &P3, const vct2 &P1P3, const vct2 &P2P3, const vct2 &E13, const vct2 &E23) |
| vctFrm3 | computeTriangleXfm (const vct3 &v1, const vct3 &v2, const vct3 &v3) |
| vctFrm3 | computeTriangleXfm (int triangleIndex) |
| double | E (const vct2 &xy, const vct2 &XY, const vct2 &dxdy) |
Protected Attributes | |
| vctDynamicVector< vct3 > | vertices |
| vctDynamicVector< vctInt3 > | triangles |
| vctDynamicVector< vctFrm3 > | triXfm |
| vctDynamicVector< vctFrm3 > | triXfmInv |
| const vct2 | P1 |
| vctDynamicVector< vct2 > | P2 |
| vctDynamicVector< vct2 > | P3 |
| vctDynamicVector< vct2 > | P1P3 |
| vctDynamicVector< vct2 > | P2P3 |
| const vct2 | E12 |
| vctDynamicVector< vct2 > | E13 |
| vctDynamicVector< vct2 > | E23 |
|
inline |
| TriangleClosestPointSolver::TriangleClosestPointSolver | ( | const msh3Mesh & | mesh | ) |
| TriangleClosestPointSolver::TriangleClosestPointSolver | ( | const vctDynamicVector< vct3 > & | vertices, |
| const vctDynamicVector< vctInt3 > & | triangles ) |
|
protected |
|
protected |
|
inlineprotected |
| void TriangleClosestPointSolver::FindClosestPointOnTriangle | ( | const vct3 & | point, |
| const vct3 & | v1, | ||
| const vct3 & | v2, | ||
| const vct3 & | v3, | ||
| vct3 & | closestPoint ) |
| void TriangleClosestPointSolver::FindClosestPointOnTriangle | ( | const vct3 & | point, |
| int | triangleIndex, | ||
| vct3 & | closestPoint ) |
|
protected |
| int TriangleClosestPointSolver::FindClosestPointOnTriangleWithEdgeDetection | ( | const vct3 & | point, |
| int | triangleIndex, | ||
| vct3 & | closestPoint ) |
| void TriangleClosestPointSolver::FindMostLikelyPointOnTriangle | ( | const vct3 & | point, |
| const vct3 & | v0, | ||
| const vct3 & | v1, | ||
| const vct3 & | v2, | ||
| const vct3x3 & | N, | ||
| const vct3x3 & | Ninv, | ||
| vct3 & | closestPoint ) |
| void TriangleClosestPointSolver::FindMostLikelyPointOnTriangle | ( | const vct3 & | point, |
| int | triangleIndex, | ||
| const vct3x3 & | N, | ||
| const vct3x3 & | Ninv, | ||
| vct3 & | closestPoint ) |
| void TriangleClosestPointSolver::init | ( | const vctDynamicVector< vct3 > & | vertices, |
| const vctDynamicVector< vctInt3 > & | triangles ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |