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  * 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 __itkBinaryANNTreeSearchBase_h
19 #define __itkBinaryANNTreeSearchBase_h
20 
22 #include "itkBinaryANNTreeBase.h"
23 #include "ANN/ANN.h"
24 
25 namespace itk
26 {
27 
37 template< class TListSample >
39  public BinaryTreeSearchBase< TListSample >
40 {
41 public:
42 
45  typedef BinaryTreeSearchBase<
46  TListSample > Superclass;
48  typedef SmartPointer< const Self > ConstPointer;
49 
52 
60 
62  typedef ANNpoint ANNPointType; // double *
63  typedef ANNidx ANNIndexType; // int
64  typedef ANNidxArray ANNIndexArrayType; // int *
65  typedef ANNdist ANNDistanceType; // double
66  typedef ANNdistArray ANNDistanceArrayType; // double *
67 
70 
72  virtual void SetBinaryTree( BinaryTreeType * tree );
73 
74  //const BinaryTreeType * GetBinaryTree( void ) const;
75 
76 protected:
77 
79  virtual ~BinaryANNTreeSearchBase();
80 
83 
84 private:
85 
86  BinaryANNTreeSearchBase( const Self & ); // purposely not implemented
87  void operator=( const Self & ); // purposely not implemented
88 
89 };
90 
91 } // end namespace itk
92 
93 #ifndef ITK_MANUAL_INSTANTIATION
94 #include "itkBinaryANNTreeSearchBase.hxx"
95 #endif
96 
97 #endif // end #ifndef __itkBinaryANNTreeSearchBase_h
Superclass::ListSampleType ListSampleType
BinaryANNTreeType::Pointer m_BinaryTreeAsITKANNType
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


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