18#ifndef itkBinaryTreeSearchBase_h
19#define itkBinaryTreeSearchBase_h
38template <
class TListSample>
69 itkSetMacro(KNearestNeighbors,
unsigned int);
70 itkGetConstMacro(KNearestNeighbors,
unsigned int);
82 unsigned int m_KNearestNeighbors{};
83 unsigned int m_DataDimension{};
88#ifndef ITK_MANUAL_INSTANTIATION
89# include "itkBinaryTreeSearchBase.hxx"
typename SampleType::MeasurementVectorType MeasurementVectorType
typename BinaryTreeType::MeasurementVectorType MeasurementVectorType
Array< int > IndexArrayType
typename BinaryTreeType::Pointer BinaryTreePointer
~BinaryTreeSearchBase() override=default
const BinaryTreeType * GetBinaryTree() const
Array< double > DistanceArrayType
ITK_DISALLOW_COPY_AND_MOVE(BinaryTreeSearchBase)
SmartPointer< const Self > ConstPointer
TListSample ListSampleType
virtual void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists)=0
virtual void SetBinaryTree(BinaryTreeType *tree)