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 
23 namespace itk
24 {
25 
35 template< class TListSample >
36 class ANNbdTree : public ANNkDTree< TListSample >
37 {
38 public:
39 
41  typedef ANNbdTree Self;
44  typedef SmartPointer< const Self > ConstPointer;
45 
47  itkNewMacro( Self );
48 
50  itkTypeMacro( ANNbdTree, ANNkDTree );
51 
53  typedef typename Superclass::SampleType SampleType;
61 
62  typedef ANNshrinkRule ShrinkingRuleType;
63 
65  itkSetMacro( ShrinkingRule, ShrinkingRuleType );
66  itkGetConstMacro( ShrinkingRule, ShrinkingRuleType );
67  void SetShrinkingRule( std::string rule );
68 
69  std::string GetShrinkingRule( void );
70 
72  virtual void GenerateTree( void );
73 
74 protected:
75 
77  ANNbdTree();
78 
80  virtual ~ANNbdTree() {}
81 
83  virtual void PrintSelf( std::ostream & os, Indent indent ) const;
84 
86  ShrinkingRuleType m_ShrinkingRule;
87 
88 private:
89 
90  ANNbdTree( const Self & ); // purposely not implemented
91  void operator=( const Self & ); // purposely not implemented
92 
93 };
94 
95 } // end namespace itk
96 
97 #ifndef ITK_MANUAL_INSTANTIATION
98 #include "itkANNbdTree.hxx"
99 #endif
100 
101 #endif // end #ifndef __itkANNbdTree_h
SmartPointer< const Self > ConstPointer
Definition: itkANNbdTree.h:44
SmartPointer< Self > Pointer
Definition: itkANNbdTree.h:43
ANNkd_tree ANNkDTreeType
Definition: itkANNkDTree.h:60
virtual ShrinkingRuleType GetShrinkingRule() const
ShrinkingRuleType m_ShrinkingRule
Definition: itkANNbdTree.h:86
ANNbdTree Self
Definition: itkANNbdTree.h:41
void operator=(const Self &)
ANNkDTree< TListSample > Superclass
Definition: itkANNbdTree.h:42
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
Definition: itkANNkDTree.h:55
ANNpointSet ANNPointSetType
Definition: itkANNkDTree.h:59
virtual void SetShrinkingRule(ShrinkingRuleType _arg)
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
Definition: itkANNbdTree.h:56
Superclass::ANNkDTreeType ANNkDTreeType
Definition: itkANNbdTree.h:58
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
Definition: itkANNbdTree.h:55
ANNsplitRule SplittingRuleType
Definition: itkANNkDTree.h:61
Superclass::ANNPointSetType ANNPointSetType
Definition: itkANNbdTree.h:57
unsigned int BucketSizeType
Definition: itkANNkDTree.h:62
Superclass::SampleType SampleType
Definition: itkANNbdTree.h:50
Superclass::BucketSizeType BucketSizeType
Definition: itkANNbdTree.h:60
Superclass::MeasurementVectorType MeasurementVectorType
Definition: itkANNbdTree.h:54
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
Definition: itkANNkDTree.h:56
virtual ~ANNbdTree()
Definition: itkANNbdTree.h:80
ANNshrinkRule ShrinkingRuleType
Definition: itkANNbdTree.h:62
virtual void PrintSelf(std::ostream &os, Indent indent) const
virtual void GenerateTree(void)
Superclass::SplittingRuleType SplittingRuleType
Definition: itkANNbdTree.h:59
Superclass::MeasurementVectorType MeasurementVectorType
Definition: itkANNkDTree.h:54
Superclass::SampleType SampleType
Definition: itkANNkDTree.h:50


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo