go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkANNFixedRadiusTreeSearch.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 __itkANNFixedRadiusTreeSearch_h
19 #define __itkANNFixedRadiusTreeSearch_h
20 
22 
23 namespace itk
24 {
25 
35 template< class 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  itkSetMacro( SquaredRadius, double );
73  itkGetConstMacro( SquaredRadius, double );
74 
76  virtual void Search( const MeasurementVectorType & qp, IndexArrayType & ind,
77  DistanceArrayType & dists );
78 
80  virtual void Search( const MeasurementVectorType & qp, IndexArrayType & ind,
81  DistanceArrayType & dists, double sqRad );
82 
83 protected:
84 
87 
89  double m_ErrorBound;
91 
92 private:
93 
94  ANNFixedRadiusTreeSearch( const Self & ); // purposely not implemented
95  void operator=( const Self & ); // purposely not implemented
96 
97 };
98 
99 } // end namespace itk
100 
101 #ifndef ITK_MANUAL_INSTANTIATION
102 #include "itkANNFixedRadiusTreeSearch.hxx"
103 #endif
104 
105 #endif // end #ifndef __itkANNFixedRadiusTreeSearch_h
itk::ANNFixedRadiusTreeSearch::ANNDistanceArrayType
Superclass::ANNDistanceArrayType ANNDistanceArrayType
Definition: itkANNFixedRadiusTreeSearch.h:63
itk::ANNFixedRadiusTreeSearch::ListSampleType
Superclass::ListSampleType ListSampleType
Definition: itkANNFixedRadiusTreeSearch.h:50
itk::ANNFixedRadiusTreeSearch::DistanceArrayType
Superclass::DistanceArrayType DistanceArrayType
Definition: itkANNFixedRadiusTreeSearch.h:57
itk::ANNFixedRadiusTreeSearch::ANNIndexType
Superclass::ANNIndexType ANNIndexType
Definition: itkANNFixedRadiusTreeSearch.h:60
SmartPointer< Self >
itk::ANNFixedRadiusTreeSearch::Search
virtual void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists, double sqRad)
itk::ANNFixedRadiusTreeSearch::ANNPointType
Superclass::ANNPointType ANNPointType
Definition: itkANNFixedRadiusTreeSearch.h:59
itk::BinaryANNTreeSearchBase::DistanceArrayType
Superclass::DistanceArrayType DistanceArrayType
Definition: itkBinaryANNTreeSearchBase.h:59
itk::BinaryANNTreeSearchBase::MeasurementVectorType
Superclass::MeasurementVectorType MeasurementVectorType
Definition: itkBinaryANNTreeSearchBase.h:57
itk::ANNFixedRadiusTreeSearch::BinaryTreeType
Superclass::BinaryTreeType BinaryTreeType
Definition: itkANNFixedRadiusTreeSearch.h:54
itk::ANNFixedRadiusTreeSearch::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkANNFixedRadiusTreeSearch.h:44
itk::BinaryANNTreeSearchBase::IndexArrayType
Superclass::IndexArrayType IndexArrayType
Definition: itkBinaryANNTreeSearchBase.h:58
itk::ANNFixedRadiusTreeSearch::m_ErrorBound
double m_ErrorBound
Definition: itkANNFixedRadiusTreeSearch.h:89
itk::ANNFixedRadiusTreeSearch
Definition: itkANNFixedRadiusTreeSearch.h:37
itk::ANNFixedRadiusTreeSearch::ANNDistanceType
Superclass::ANNDistanceType ANNDistanceType
Definition: itkANNFixedRadiusTreeSearch.h:62
itk::ANNFixedRadiusTreeSearch::Self
ANNFixedRadiusTreeSearch Self
Definition: itkANNFixedRadiusTreeSearch.h:41
itkBinaryANNTreeSearchBase.h
itk::BinaryANNTreeSearchBase::ListSampleType
Superclass::ListSampleType ListSampleType
Definition: itkBinaryANNTreeSearchBase.h:51
itk::ANNFixedRadiusTreeSearch::IndexArrayType
Superclass::IndexArrayType IndexArrayType
Definition: itkANNFixedRadiusTreeSearch.h:56
double
itk::ANNFixedRadiusTreeSearch::ANNIndexArrayType
Superclass::ANNIndexArrayType ANNIndexArrayType
Definition: itkANNFixedRadiusTreeSearch.h:61
itk::ANNFixedRadiusTreeSearch::operator=
void operator=(const Self &)
itk::ANNFixedRadiusTreeSearch::~ANNFixedRadiusTreeSearch
virtual ~ANNFixedRadiusTreeSearch()
itk::ANNFixedRadiusTreeSearch::BinaryANNTreeType
Superclass::BinaryANNTreeType BinaryANNTreeType
Definition: itkANNFixedRadiusTreeSearch.h:65
itk::BinaryANNTreeSearchBase
Definition: itkBinaryANNTreeSearchBase.h:40
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::ANNFixedRadiusTreeSearch::ANNFixedRadiusTreeSearch
ANNFixedRadiusTreeSearch()
itk::ANNFixedRadiusTreeSearch::Search
virtual void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists)
itk::ANNFixedRadiusTreeSearch::Pointer
SmartPointer< Self > Pointer
Definition: itkANNFixedRadiusTreeSearch.h:43
itk::BinaryTreeBase
Definition: itkBinaryTreeBase.h:37
itk::ANNFixedRadiusTreeSearch::MeasurementVectorType
Superclass::MeasurementVectorType MeasurementVectorType
Definition: itkANNFixedRadiusTreeSearch.h:55
itk::ANNFixedRadiusTreeSearch::Superclass
BinaryANNTreeSearchBase< TListSample > Superclass
Definition: itkANNFixedRadiusTreeSearch.h:42
itk::ANNFixedRadiusTreeSearch::ANNFixedRadiusTreeSearch
ANNFixedRadiusTreeSearch(const Self &)
itk::BinaryANNTreeBase
Definition: itkBinaryANNTreeBase.h:38
int
itk::ANNFixedRadiusTreeSearch::m_SquaredRadius
double m_SquaredRadius
Definition: itkANNFixedRadiusTreeSearch.h:90


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo