#include <tgErrorMetric.h>
Public Member Functions | |
vec3 | Compare (const TomGine::tgPose &p1, const TomGine::tgPose &p2) |
unsigned | GetNumPoints () |
void | GetPoints (std::vector< vec3 > &pl) |
tgErrorMetric (TomGine::tgModel model, unsigned num_points=10000) | |
Public Attributes | |
std::vector< vec3 > | pointlist |
Private Member Functions | |
vec3 | GetRandPointInTriangle (const vec3 &t1, const vec3 &t2, const vec3 &t3, unsigned trials=100) const |
Definition at line 13 of file tgErrorMetric.h.
tgErrorMetric::tgErrorMetric | ( | TomGine::tgModel | model, |
unsigned | num_points = 10000 |
||
) |
Definition at line 31 of file tgErrorMetric.cpp.
vec3 tgErrorMetric::Compare | ( | const TomGine::tgPose & | p1, |
const TomGine::tgPose & | p2 | ||
) |
Definition at line 95 of file tgErrorMetric.cpp.
unsigned TomGine::tgErrorMetric::GetNumPoints | ( | ) | [inline] |
Definition at line 29 of file tgErrorMetric.h.
void TomGine::tgErrorMetric::GetPoints | ( | std::vector< vec3 > & | pl | ) | [inline] |
Definition at line 27 of file tgErrorMetric.h.
vec3 tgErrorMetric::GetRandPointInTriangle | ( | const vec3 & | t1, |
const vec3 & | t2, | ||
const vec3 & | t3, | ||
unsigned | trials = 100 |
||
) | const [private] |
Definition at line 6 of file tgErrorMetric.cpp.
std::vector<vec3> TomGine::tgErrorMetric::pointlist |
Definition at line 21 of file tgErrorMetric.h.