18 #ifndef itkKdTreeGenerator_h
19 #define itkKdTreeGenerator_h
69 template<
typename TSample >
111 void SetSample(TSample *sample);
115 void SetBucketSize(
unsigned int size);
126 this->GenerateData();
134 itkGetConstMacro(MeasurementVectorSize,
unsigned int);
143 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
152 virtual KdTreeNodeType * GenerateNonterminalNode(
unsigned int beginIndex,
153 unsigned int endIndex,
154 MeasurementVectorType
156 MeasurementVectorType
161 KdTreeNodeType * GenerateTreeLoop(
unsigned int beginIndex,
unsigned int endIndex,
162 MeasurementVectorType & lowerBound,
163 MeasurementVectorType & upperBound,
199 #ifndef ITK_MANUAL_INSTANTIATION
200 #include "itkKdTreeGenerator.hxx"
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...
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
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
MeasurementVectorType m_TempLowerBound
SubsamplePointer m_Subsample
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
virtual ~KdTreeGenerator() override