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  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 #ifndef __itkANNStandardTreeSearch_h
15 #define __itkANNStandardTreeSearch_h
16 
18 
19 namespace itk
20 {
21 
31 template< class TListSample >
32 class ANNStandardTreeSearch : public BinaryANNTreeSearchBase< TListSample >
33 {
34 public:
35 
39  typedef SmartPointer< Self > Pointer;
40  typedef SmartPointer< const Self > ConstPointer;
41 
43  itkNewMacro( Self );
44 
47 
54 
55  typedef typename Superclass::ANNPointType ANNPointType; // double *
56  typedef typename Superclass::ANNIndexType ANNIndexType; // int
58  typedef typename Superclass::ANNDistanceType ANNDistanceType; // double
60 
62 
64  itkSetClampMacro( ErrorBound, double, 0.0, 1e14 );
65  itkGetConstMacro( ErrorBound, double );
66 
68  virtual void Search( const MeasurementVectorType & qp, IndexArrayType & ind,
69  DistanceArrayType & dists );
70 
71 protected:
72 
74  virtual ~ANNStandardTreeSearch();
75 
77  double m_ErrorBound;
78 
79 private:
80 
81  ANNStandardTreeSearch( const Self & ); // purposely not implemented
82  void operator=( const Self & ); // purposely not implemented
83 
84 };
85 
86 } // end namespace itk
87 
88 #ifndef ITK_MANUAL_INSTANTIATION
89 #include "itkANNStandardTreeSearch.hxx"
90 #endif
91 
92 #endif // end #ifndef __itkANNStandardTreeSearch_h
Superclass::ListSampleType ListSampleType
Superclass::BinaryTreeType BinaryTreeType
Superclass::IndexArrayType IndexArrayType
virtual void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists)
Superclass::BinaryANNTreeType BinaryANNTreeType
void operator=(const Self &)
Superclass::ANNPointType ANNPointType
Superclass::ListSampleType ListSampleType
Superclass::ANNIndexArrayType ANNIndexArrayType
Superclass::MeasurementVectorType MeasurementVectorType
BinaryANNTreeSearchBase< TListSample > Superclass
Superclass::ANNIndexType ANNIndexType
Superclass::DistanceArrayType DistanceArrayType
Superclass::DistanceArrayType DistanceArrayType
Superclass::IndexArrayType IndexArrayType
Superclass::MeasurementVectorType MeasurementVectorType
SmartPointer< const Self > ConstPointer
Superclass::ANNDistanceType ANNDistanceType
Superclass::ANNDistanceArrayType ANNDistanceArrayType


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo