Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Common
KNN
itkANNBruteForceTree.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 __itkANNBruteForceTree_h
16
#define __itkANNBruteForceTree_h
17
18
#include "
itkBinaryANNTreeBase.h
"
19
20
namespace
itk
21
{
22
32
template
<
class
TListSample >
33
class
ANNBruteForceTree
:
public
BinaryANNTreeBase
< TListSample >
34
{
35
public
:
36
38
typedef
ANNBruteForceTree
Self
;
39
typedef
BinaryANNTreeBase< TListSample >
Superclass
;
40
typedef
SmartPointer< Self >
Pointer
;
41
typedef
SmartPointer< const Self >
ConstPointer
;
42
44
itkNewMacro(
Self
);
45
47
itkTypeMacro(
ANNBruteForceTree
,
BinaryANNTreeBase
);
48
50
typedef
typename
Superclass::SampleType
SampleType
;
51
typedef
typename
Superclass::MeasurementVectorType
MeasurementVectorType
;
52
typedef
typename
Superclass::MeasurementVectorSizeType
MeasurementVectorSizeType
;
53
typedef
typename
Superclass::TotalAbsoluteFrequencyType
TotalAbsoluteFrequencyType
;
54
56
typedef
ANNpointSet
ANNPointSetType
;
57
typedef
ANNbruteForce
ANNBruteForceTreeType
;
58
60
//void SetMaximumNumberOfPointsToVisit( unsigned int num )
61
//{
62
// annMaxPtsVisit( static_cast<int>( num ) );
63
//}
64
66
virtual
void
GenerateTree
(
void
);
67
69
virtual
ANNPointSetType
*
GetANNTree
(
void
)
const
70
{
71
return
this->
m_ANNTree
;
72
}
73
74
protected
:
75
76
ANNBruteForceTree
();
77
virtual
~ANNBruteForceTree
();
78
80
ANNBruteForceTreeType
*
m_ANNTree
;
81
82
private
:
83
84
ANNBruteForceTree
(
const
Self
& );
// purposely not implemented
85
void
operator=
(
const
Self
& );
// purposely not implemented
86
87
};
// end class ANNBruteForceTree
88
89
90
}
// end namespace itk
91
92
93
#ifndef ITK_MANUAL_INSTANTIATION
94
#include "itkANNBruteForceTree.txx"
95
#endif
96
97
98
#endif // end #ifndef __itkANNBruteForceTree_h
99
Generated on 27-06-2013 for elastix by
1.8.3.1