go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkBinaryANNTreeSearchBase.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 __itkBinaryANNTreeSearchBase_h
15 #define __itkBinaryANNTreeSearchBase_h
16 
18 #include "itkBinaryANNTreeBase.h"
19 #include "ANN/ANN.h"
20 
21 namespace itk
22 {
23 
33 template< class TListSample >
35  public BinaryTreeSearchBase< TListSample >
36 {
37 public:
38 
41  typedef BinaryTreeSearchBase<
42  TListSample > Superclass;
43  typedef SmartPointer< Self > Pointer;
44  typedef SmartPointer< const Self > ConstPointer;
45 
48 
56 
58  typedef ANNpoint ANNPointType; // double *
59  typedef ANNidx ANNIndexType; // int
60  typedef ANNidxArray ANNIndexArrayType; // int *
61  typedef ANNdist ANNDistanceType; // double
62  typedef ANNdistArray ANNDistanceArrayType; // double *
63 
66 
68  virtual void SetBinaryTree( BinaryTreeType * tree );
69 
70  //const BinaryTreeType * GetBinaryTree( void ) const;
71 
72 protected:
73 
75  virtual ~BinaryANNTreeSearchBase();
76 
79 
80 private:
81 
82  BinaryANNTreeSearchBase( const Self & ); // purposely not implemented
83  void operator=( const Self & ); // purposely not implemented
84 
85 };
86 
87 } // end namespace itk
88 
89 #ifndef ITK_MANUAL_INSTANTIATION
90 #include "itkBinaryANNTreeSearchBase.hxx"
91 #endif
92 
93 #endif // end #ifndef __itkBinaryANNTreeSearchBase_h
Superclass::ListSampleType ListSampleType
BinaryANNTreeType::Pointer m_BinaryTreeAsITKANNType
BinaryTreeType::Pointer BinaryTreePointer
Superclass::MeasurementVectorType MeasurementVectorType
SmartPointer< const Self > ConstPointer
Superclass::DistanceArrayType DistanceArrayType
BinaryTreeType::MeasurementVectorType MeasurementVectorType
void operator=(const Self &)
Superclass::IndexArrayType IndexArrayType
BinaryTreeSearchBase< TListSample > Superclass
virtual void SetBinaryTree(BinaryTreeType *tree)
BinaryANNTreeBase< ListSampleType > BinaryANNTreeType
Superclass::BinaryTreePointer BinaryTreePointer
Superclass::BinaryTreeType BinaryTreeType
SmartPointer< Self > Pointer


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