17 #ifndef _MITK_POINT_LOCATOR__H__
18 #define _MITK_POINT_LOCATOR__H__
21 #include <itkObject.h>
25 #include <vtkPoints.h>
48 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
55 typedef
itk::DefaultStaticMeshTraits<PixelType, 3, 2, CoordRepType, CoordRepType, PixelType>
MeshTraits;
63 void SetPoints(vtkPointSet *points);
77 void SetPoints(ITKPointSet *pointSet);
88 IdType FindClosestPoint(const
double point[3]);
101 IdType FindClosestPoint(
double x,
double y,
double z);
185 IdType FindClosestANNPoint(const MyANNpoint &point);
196 DistanceType GetMinimalDistance(const MyANNpoint &point);
198 bool m_SearchTreeInitialized;
200 IdVectorType m_IndexToPointIdContainer;
202 vtkPoints *m_VtkPoints;
204 ITKPointSet *m_ItkPoints;
210 unsigned int m_ANNDimension;
212 MyANNpointArray m_ANNDataPoints;
213 MyANNpoint m_ANNQueryPoint;
214 MyANNidxArray m_ANNPointIndexes;
215 MyANNdistArray m_ANNDistances;
216 ANNkd_tree *m_ANNTree;
MyANNdist * MyANNdistArray
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< IdType > IdVectorType
#define MITKALGORITHMSEXT_EXPORT
Data structure which stores a set of points. Superclass of mitk::Mesh.
#define mitkClassMacroItkParent(className, SuperClassName)
MyANNpoint * MyANNpointArray
itk::PointSet< PixelType, 3, MeshTraits > ITKPointSet
itk::DefaultStaticMeshTraits< PixelType, 3, 2, CoordRepType, CoordRepType, PixelType > MeshTraits