18 #ifndef __itkBinaryTreeSearchBase_h
19 #define __itkBinaryTreeSearchBase_h
21 #include "itkObject.h"
38 template<
class TListSample >
56 typedef typename BinaryTreeType::
67 itkSetMacro( KNearestNeighbors,
unsigned int );
68 itkGetConstMacro( KNearestNeighbors,
unsigned int );
93 #ifndef ITK_MANUAL_INSTANTIATION
94 #include "itkBinaryTreeSearchBase.hxx"
SmartPointer< Self > Pointer
void operator=(const Self &)
BinaryTreeType::Pointer BinaryTreePointer
~BinaryTreeSearchBase() override
Array< int > IndexArrayType
TListSample ListSampleType
unsigned int m_KNearestNeighbors
BinaryTreeBase< ListSampleType > BinaryTreeType
BinaryTreeType::MeasurementVectorType MeasurementVectorType
BinaryTreeSearchBase(const Self &)
BinaryTreeSearchBase Self
const BinaryTreeType * GetBinaryTree(void) const
SmartPointer< Self > Pointer
BinaryTreePointer m_BinaryTree
unsigned int m_DataDimension
SmartPointer< const Self > ConstPointer
virtual void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists)=0
virtual void SetBinaryTree(BinaryTreeType *tree)
Array< double > DistanceArrayType