FairRoot/PandaRoot
|
#include <icp.h>
Public Member Functions | |
Icp (double *M, const int32_t M_num, const int32_t dim) | |
virtual | ~Icp () |
void | forceInstantResult (bool val) |
void | giveOutputIfNotConverged (bool val) |
void | setSubsamplingStep (int32_t val) |
void | setMaxIterations (int32_t val) |
void | setMinDeltaParam (double val) |
void | setEventTimeCheck (bool val) |
double | fit (double *T, const int32_t T_num, Matrix &R, Matrix &t, const double indist) |
double | getFitnessScore () |
double | computeFitnessRMSE (const double *T, const Matrix &R, const Matrix &t) |
double | computeFitnessR2 (const double *T, const Matrix &R, const Matrix &t) |
bool | hasConverged () |
int32_t | getInterations () |
Protected Attributes | |
kdtree::KDTree * | M_tree |
kdtree::KDTreeArray | M_data |
double * | M_ |
int32_t | dim |
int32_t | sub_step |
int32_t | max_iter |
int32_t | T_num |
int32_t | iterations |
double | min_delta |
double | current_delta |
double | euclidean_fitness |
bool | hasConvergedBool |
bool | checkEventTime |
bool | giveOutputIfNotConvergedB |
bool | instantForce |
Private Member Functions | |
bool | fitIterate (double *T, const int32_t T_num, Matrix &R, Matrix &t, const std::vector< int32_t > &active) |
virtual double | fitInstant (double *T, const int32_t T_num, Matrix &R, Matrix &t, const std::vector< int32_t > &active)=0 |
virtual double | fitStep (double *T, const int32_t T_num, Matrix &R, Matrix &t, const std::vector< int32_t > &active)=0 |
virtual std::vector< int32_t > | getInliers (double *T, const int32_t T_num, const Matrix &R, const Matrix &t, const double indist)=0 |
|
virtual |
Referenced by PndLmdSensorAligner::calculateMatrix().
|
privatepure virtual |
Implemented in IcpPointToPoint.
|
private |
|
privatepure virtual |
Implemented in IcpPointToPoint.
|
inline |
Definition at line 47 of file icp.h.
References instantForce, and val.
Referenced by PndLmdSensorAligner::calculateMatrix().
double Icp::getFitnessScore | ( | ) |
|
privatepure virtual |
Implemented in IcpPointToPoint.
|
inline |
Definition at line 80 of file icp.h.
References iterations.
Referenced by PndLmdSensorAligner::calculateMatrix().
|
inline |
|
inline |
Definition at line 77 of file icp.h.
References hasConvergedBool.
Referenced by PndLmdSensorAligner::calculateMatrix().
|
inline |
|
inline |
|
protected |
Definition at line 111 of file icp.h.
Referenced by setEventTimeCheck().
|
protected |
Definition at line 112 of file icp.h.
Referenced by giveOutputIfNotConverged().
|
protected |
Definition at line 110 of file icp.h.
Referenced by hasConverged().
|
protected |
Definition at line 113 of file icp.h.
Referenced by forceInstantResult().
|
protected |
Definition at line 106 of file icp.h.
Referenced by getInterations().
|
protected |
|
protected |
|
protected |
Definition at line 104 of file icp.h.
Referenced by setMaxIterations().
|
protected |
Definition at line 107 of file icp.h.
Referenced by setMinDeltaParam().
|
protected |
Definition at line 103 of file icp.h.
Referenced by setSubsamplingStep().