15 #ifndef __itkBinaryTreeSearchBase_h
16 #define __itkBinaryTreeSearchBase_h
18 #include "itkObject.h"
35 template <
class TListSample >
62 itkSetMacro( KNearestNeighbors,
unsigned int );
63 itkGetConstMacro( KNearestNeighbors,
unsigned int );
90 #ifndef ITK_MANUAL_INSTANTIATION
91 #include "itkBinaryTreeSearchBase.txx"
95 #endif // end #ifndef __itkBinaryTreeSearchBase_h
Array< int > IndexArrayType
virtual void SetBinaryTree(BinaryTreeType *tree)
virtual void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists)=0
virtual ~BinaryTreeSearchBase()
BinaryTreeBase< ListSampleType > BinaryTreeType
Array< double > DistanceArrayType
SmartPointer< Self > Pointer
BinaryTreeType::Pointer m_BinaryTree
const BinaryTreeType * GetBinaryTree(void) const
BinaryTreeSearchBase Self
unsigned int m_DataDimension
TListSample ListSampleType
unsigned int m_KNearestNeighbors
BinaryTreeType::MeasurementVectorType MeasurementVectorType
void operator=(const Self &)
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
SampleType::MeasurementVectorType MeasurementVectorType