18 #ifndef itkKdTreeGenerator_h
19 #define itkKdTreeGenerator_h
70 template <
typename TSample>
115 SetSample(TSample * sample);
116 itkGetConstMacro(SourceSample, TSample *);
122 SetBucketSize(
unsigned int size);
123 itkGetConstMacro(BucketSize,
unsigned int);
137 this->GenerateData();
146 itkGetConstMacro(MeasurementVectorSize,
unsigned int);
156 PrintSelf(std::ostream & os,
Indent indent)
const override;
166 virtual KdTreeNodeType *
167 GenerateNonterminalNode(
unsigned int beginIndex,
168 unsigned int endIndex,
169 MeasurementVectorType & lowerBound,
170 MeasurementVectorType & upperBound,
175 GenerateTreeLoop(
unsigned int beginIndex,
176 unsigned int endIndex,
177 MeasurementVectorType & lowerBound,
178 MeasurementVectorType & upperBound,
183 TSample * m_SourceSample{};
192 unsigned int m_BucketSize{};
212 #ifndef ITK_MANUAL_INSTANTIATION
213 # include "itkKdTreeGenerator.hxx"