18 #ifndef itkKdTreeGenerator_h
19 #define itkKdTreeGenerator_h
69 template<
typename TSample >
113 void SetSample(TSample *sample);
117 void SetBucketSize(
unsigned int size);
128 this->GenerateData();
136 itkGetConstMacro(MeasurementVectorSize,
unsigned int);
145 void PrintSelf(std::ostream & os,
Indent indent)
const override;
154 virtual KdTreeNodeType * GenerateNonterminalNode(
unsigned int beginIndex,
155 unsigned int endIndex,
156 MeasurementVectorType
158 MeasurementVectorType
163 KdTreeNodeType * GenerateTreeLoop(
unsigned int beginIndex,
unsigned int endIndex,
164 MeasurementVectorType & lowerBound,
165 MeasurementVectorType & upperBound,
199 #ifndef ITK_MANUAL_INSTANTIATION
200 #include "itkKdTreeGenerator.hxx"
typename TSample::MeasurementType MeasurementType
MeasurementVectorSizeType m_MeasurementVectorSize
Light weight base class for most itk classes.
OutputPointer GetOutput()
This class defines the interface of its derived classes.
SubsamplePointer GetSubsample()
typename SubsampleType::Pointer SubsamplePointer
typename KdTreeType::Pointer OutputPointer
This class stores a subset of instance identifiers from another sample object. You can create a subsa...
typename KdTreeType::KdTreeNodeType KdTreeNodeType
unsigned int MeasurementVectorSizeType
MeasurementVectorType m_TempUpperBound
MeasurementVectorType m_TempMean
This class generates a KdTree object without centroid information.
Control indentation during Print() invocation.
MeasurementVectorType m_TempLowerBound
SubsamplePointer m_Subsample
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...
typename TSample::MeasurementVectorType MeasurementVectorType