go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkANNbdTree.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkANNbdTree_h
19#define itkANNbdTree_h
20
21#include "itkANNkDTree.h"
22
23namespace itk
24{
25
35template <class TListSample>
36class ITK_TEMPLATE_EXPORT ANNbdTree : public ANNkDTree<TListSample>
37{
38public:
40
42 using Self = ANNbdTree;
44 using Pointer = SmartPointer<Self>;
45 using ConstPointer = SmartPointer<const Self>;
46
48 itkNewMacro(Self);
49
51 itkTypeMacro(ANNbdTree, ANNkDTree);
52
54 using typename Superclass::SampleType;
58 using typename Superclass::ANNPointSetType;
59 using typename Superclass::ANNkDTreeType;
60 using typename Superclass::SplittingRuleType;
61 using typename Superclass::BucketSizeType;
62
63 using ShrinkingRuleType = ANNshrinkRule;
64
66 itkSetMacro(ShrinkingRule, ShrinkingRuleType);
67 itkGetConstMacro(ShrinkingRule, ShrinkingRuleType);
68 void
69 SetShrinkingRule(const std::string & rule);
70
71 std::string
73
75 void
76 GenerateTree() override;
77
78protected:
81
83 ~ANNbdTree() override = default;
84
86 void
87 PrintSelf(std::ostream & os, Indent indent) const override;
88
90 ShrinkingRuleType m_ShrinkingRule{};
91};
92
93} // end namespace itk
94
95#ifndef ITK_MANUAL_INSTANTIATION
96# include "itkANNbdTree.hxx"
97#endif
98
99#endif // end #ifndef itkANNbdTree_h
void SetShrinkingRule(const std::string &rule)
SmartPointer< const Self > ConstPointer
~ANNbdTree() override=default
std::string GetShrinkingRule()
ITK_DISALLOW_COPY_AND_MOVE(ANNbdTree)
ANNshrinkRule ShrinkingRuleType
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateTree() override
ANNpointSet ANNPointSetType
ANNkd_tree ANNkDTreeType
ANNsplitRule SplittingRuleType
typename SampleType::MeasurementVectorSizeType MeasurementVectorSizeType
typename SampleType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
typename SampleType::MeasurementVectorType MeasurementVectorType


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo