go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkANNStandardTreeSearch.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 __itkANNStandardTreeSearch_h
19 #define __itkANNStandardTreeSearch_h
20 
22 
23 namespace itk
24 {
25 
35 template< class TListSample >
36 class ANNStandardTreeSearch : public BinaryANNTreeSearchBase< TListSample >
37 {
38 public:
39 
44  typedef SmartPointer< const Self > ConstPointer;
45 
47  itkNewMacro( Self );
48 
51 
58 
59  typedef typename Superclass::ANNPointType ANNPointType; // double *
60  typedef typename Superclass::ANNIndexType ANNIndexType; // int
62  typedef typename Superclass::ANNDistanceType ANNDistanceType; // double
64 
66 
68  itkSetClampMacro( ErrorBound, double, 0.0, 1e14 );
69  itkGetConstMacro( ErrorBound, double );
70 
72  virtual void Search( const MeasurementVectorType & qp, IndexArrayType & ind,
73  DistanceArrayType & dists );
74 
75 protected:
76 
79 
81  double m_ErrorBound;
82 
83 private:
84 
85  ANNStandardTreeSearch( const Self & ); // purposely not implemented
86  void operator=( const Self & ); // purposely not implemented
87 
88 };
89 
90 } // end namespace itk
91 
92 #ifndef ITK_MANUAL_INSTANTIATION
93 #include "itkANNStandardTreeSearch.hxx"
94 #endif
95 
96 #endif // end #ifndef __itkANNStandardTreeSearch_h
itk::ANNStandardTreeSearch::ANNIndexType
Superclass::ANNIndexType ANNIndexType
Definition: itkANNStandardTreeSearch.h:60
SmartPointer< Self >
itk::ANNStandardTreeSearch::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkANNStandardTreeSearch.h:44
itk::BinaryANNTreeSearchBase::DistanceArrayType
Superclass::DistanceArrayType DistanceArrayType
Definition: itkBinaryANNTreeSearchBase.h:59
itk::BinaryANNTreeSearchBase::MeasurementVectorType
Superclass::MeasurementVectorType MeasurementVectorType
Definition: itkBinaryANNTreeSearchBase.h:57
itk::ANNStandardTreeSearch::Superclass
BinaryANNTreeSearchBase< TListSample > Superclass
Definition: itkANNStandardTreeSearch.h:42
itk::ANNStandardTreeSearch::ANNStandardTreeSearch
ANNStandardTreeSearch(const Self &)
itk::ANNStandardTreeSearch::Self
ANNStandardTreeSearch Self
Definition: itkANNStandardTreeSearch.h:41
itk::BinaryANNTreeSearchBase::IndexArrayType
Superclass::IndexArrayType IndexArrayType
Definition: itkBinaryANNTreeSearchBase.h:58
itkBinaryANNTreeSearchBase.h
itk::ANNStandardTreeSearch::ListSampleType
Superclass::ListSampleType ListSampleType
Definition: itkANNStandardTreeSearch.h:50
itk::BinaryANNTreeSearchBase::ListSampleType
Superclass::ListSampleType ListSampleType
Definition: itkBinaryANNTreeSearchBase.h:51
itk::ANNStandardTreeSearch
Definition: itkANNStandardTreeSearch.h:37
double
itk::ANNStandardTreeSearch::ANNIndexArrayType
Superclass::ANNIndexArrayType ANNIndexArrayType
Definition: itkANNStandardTreeSearch.h:61
itk::ANNStandardTreeSearch::BinaryTreeType
Superclass::BinaryTreeType BinaryTreeType
Definition: itkANNStandardTreeSearch.h:54
itk::ANNStandardTreeSearch::Search
virtual void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists)
itk::ANNStandardTreeSearch::Pointer
SmartPointer< Self > Pointer
Definition: itkANNStandardTreeSearch.h:43
itk::ANNStandardTreeSearch::~ANNStandardTreeSearch
virtual ~ANNStandardTreeSearch()
itk::ANNStandardTreeSearch::BinaryANNTreeType
Superclass::BinaryANNTreeType BinaryANNTreeType
Definition: itkANNStandardTreeSearch.h:65
itk::ANNStandardTreeSearch::DistanceArrayType
Superclass::DistanceArrayType DistanceArrayType
Definition: itkANNStandardTreeSearch.h:57
itk::ANNStandardTreeSearch::ANNDistanceArrayType
Superclass::ANNDistanceArrayType ANNDistanceArrayType
Definition: itkANNStandardTreeSearch.h:63
itk::ANNStandardTreeSearch::operator=
void operator=(const Self &)
itk::ANNStandardTreeSearch::ANNPointType
Superclass::ANNPointType ANNPointType
Definition: itkANNStandardTreeSearch.h:59
itk::BinaryANNTreeSearchBase
Definition: itkBinaryANNTreeSearchBase.h:40
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::ANNStandardTreeSearch::ANNStandardTreeSearch
ANNStandardTreeSearch()
itk::BinaryTreeBase
Definition: itkBinaryTreeBase.h:37
itk::ANNStandardTreeSearch::MeasurementVectorType
Superclass::MeasurementVectorType MeasurementVectorType
Definition: itkANNStandardTreeSearch.h:55
itk::ANNStandardTreeSearch::m_ErrorBound
double m_ErrorBound
Definition: itkANNStandardTreeSearch.h:81
itk::ANNStandardTreeSearch::ANNDistanceType
Superclass::ANNDistanceType ANNDistanceType
Definition: itkANNStandardTreeSearch.h:62
itk::ANNStandardTreeSearch::IndexArrayType
Superclass::IndexArrayType IndexArrayType
Definition: itkANNStandardTreeSearch.h:56
itk::BinaryANNTreeBase
Definition: itkBinaryANNTreeBase.h:38
int


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo