26 #include <Math/Math3d.h>
50 float SearchObject(Mat3d& mRotation,
Vec3d& vTranslation,
const float fBestDistanceUntilNow = FLT_MAX);
56 void SetParameters(
float fCutoffDistance = FLT_MAX,
float fConvergenceDelta = 0.001f,
int nMaxIterations = 40,
int nKdTreeBucketSize = 50);
60 void GetNearestNeighbors(std::vector<Eigen::Vector3f>& aNeighbors, std::vector<float>& aPointMatchDistances);
64 void FindNNBruteForce(
const float* pPoint,
float& fSquaredDistance,
float*& pNeighbor);
67 int m_nKdTreeBucketSize;
68 std::vector<Eigen::Vector3f> m_aScenePoints, m_aObjectPoints;
69 float m_fCutoffDistance, m_fConvergenceDelta;
72 int m_nNumScenePoints;