18 #ifndef __itkBinaryTreeSearchBase_h 19 #define __itkBinaryTreeSearchBase_h 21 #include "itkObject.h" 38 template<
class TListSample >
67 itkSetMacro( KNearestNeighbors,
unsigned int );
68 itkGetConstMacro( KNearestNeighbors,
unsigned int );
71 virtual void Search(
const MeasurementVectorType & qp, IndexArrayType & ind,
72 DistanceArrayType & dists ) = 0;
93 #ifndef ITK_MANUAL_INSTANTIATION 94 #include "itkBinaryTreeSearchBase.hxx" 97 #endif // end #ifndef __itkBinaryTreeSearchBase_h Array< int > IndexArrayType
virtual void SetBinaryTree(BinaryTreeType *tree)
virtual void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists)=0
BinaryTreePointer m_BinaryTree
virtual ~BinaryTreeSearchBase()
BinaryTreeBase< ListSampleType > BinaryTreeType
Array< double > DistanceArrayType
SmartPointer< Self > Pointer
BinaryTreeType::Pointer BinaryTreePointer
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< const Self > ConstPointer
SampleType::MeasurementVectorType MeasurementVectorType