18 #ifndef __itkKdTreeGenerator_h
19 #define __itkKdTreeGenerator_h
69 template<
typename TSample >
134 itkGetConstMacro(MeasurementVectorSize,
unsigned int);
143 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
153 unsigned int endIndex,
200 #ifndef ITK_MANUAL_INSTANTIATION
201 #include "itkKdTreeGenerator.hxx"
void SetBucketSize(unsigned int size)
MeasurementVectorSizeType m_MeasurementVectorSize
Light weight base class for most itk classes.
OutputPointer GetOutput()
This class defines the interface of its derived classes.
SubsamplePointer GetSubsample()
KdTreeType::KdTreeNodeType KdTreeNodeType
Subsample< TSample > SubsampleType
This class stores a subset of instance identifiers from another sample object. You can create a subsa...
void operator=(const Self &)
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
virtual KdTreeNodeType * GenerateNonterminalNode(unsigned int beginIndex, unsigned int endIndex, MeasurementVectorType &lowerBound, MeasurementVectorType &upperBound, unsigned int level)
MeasurementVectorType m_TempUpperBound
TSample::MeasurementType MeasurementType
MeasurementVectorType m_TempMean
SmartPointer< const Self > ConstPointer
KdTree< TSample > KdTreeType
This class generates a KdTree object without centroid information.
SubsampleType::Pointer SubsamplePointer
KdTreeType::Pointer OutputPointer
virtual ~KdTreeGenerator()
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
MeasurementVectorType m_TempLowerBound
SubsamplePointer m_Subsample
void SetSample(TSample *sample)
KdTreeNodeType * GenerateTreeLoop(unsigned int beginIndex, unsigned int endIndex, MeasurementVectorType &lowerBound, MeasurementVectorType &upperBound, unsigned int level)
TSample::MeasurementVectorType MeasurementVectorType
Base class for most ITK classes.
unsigned int m_BucketSize
This class provides methods for k-nearest neighbor search and related data structures for a k-d tree...
unsigned int MeasurementVectorSizeType