Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Common
KNN
itkBinaryANNTreeBase.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
15
#ifndef __itkBinaryANNTreeBase_h
16
#define __itkBinaryANNTreeBase_h
17
18
#include "
itkBinaryTreeBase.h
"
19
#include <ANN/ANN.h>
// ANN declarations
20
21
namespace
itk
22
{
23
33
template
<
class
TListSample >
34
class
BinaryANNTreeBase
:
public
BinaryTreeBase
< TListSample >
35
{
36
public
:
37
39
typedef
BinaryANNTreeBase
Self
;
40
typedef
BinaryTreeBase< TListSample >
Superclass
;
41
typedef
SmartPointer< Self >
Pointer
;
42
typedef
SmartPointer< const Self >
ConstPointer
;
43
45
itkTypeMacro(
BinaryANNTreeBase
,
BinaryTreeBase
);
46
48
typedef
typename
Superclass::SampleType
SampleType
;
49
typedef
typename
Superclass::MeasurementVectorType
MeasurementVectorType
;
50
typedef
typename
Superclass::MeasurementVectorSizeType
MeasurementVectorSizeType
;
51
typedef
typename
Superclass::TotalAbsoluteFrequencyType
TotalAbsoluteFrequencyType
;
52
54
typedef
ANNpointSet
ANNPointSetType
;
55
57
virtual
ANNPointSetType
*
GetANNTree
(
void
)
const
= 0;
58
59
protected
:
60
62
BinaryANNTreeBase
();
63
65
virtual
~BinaryANNTreeBase
() {};
66
67
private
:
68
69
BinaryANNTreeBase
(
const
Self
& );
// purposely not implemented
70
void
operator=
(
const
Self
& );
// purposely not implemented
71
72
};
// end class BinaryANNTreeBase
73
74
75
}
// end namespace itk
76
77
78
#ifndef ITK_MANUAL_INSTANTIATION
79
#include "itkBinaryANNTreeBase.txx"
80
#endif
81
82
83
#endif // end #ifndef __itkBinaryANNTreeBase_h
84
Generated on 27-06-2013 for elastix by
1.8.3.1