Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Components
Metrics
KNNGraphAlphaMutualInformation
KNN
itkBinaryTreeBase.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 __itkBinaryTreeBase_h
19
#define __itkBinaryTreeBase_h
20
21
#include "itkDataObject.h"
22
23
namespace
itk
24
{
25
35
template
<
class
TListSample >
36
class
BinaryTreeBase
:
public
DataObject
37
{
38
public
:
39
41
typedef
BinaryTreeBase
Self
;
42
typedef
DataObject
Superclass
;
43
typedef
SmartPointer< Self >
Pointer
;
44
typedef
SmartPointer< const Self >
ConstPointer
;
45
47
itkTypeMacro(
BinaryTreeBase
, DataObject );
48
50
typedef
TListSample
SampleType
;
51
53
typedef
typename
SampleType::MeasurementVectorType
MeasurementVectorType
;
54
typedef
typename
SampleType::MeasurementVectorSizeType
MeasurementVectorSizeType
;
55
typedef
typename
SampleType::TotalAbsoluteFrequencyType
TotalAbsoluteFrequencyType
;
56
58
itkSetObjectMacro( Sample,
SampleType
);
59
itkGetConstObjectMacro( Sample,
SampleType
);
60
62
TotalAbsoluteFrequencyType
GetNumberOfDataPoints
(
void
)
const
;
63
65
TotalAbsoluteFrequencyType
GetActualNumberOfDataPoints
(
void
)
const
;
66
68
MeasurementVectorSizeType
GetDataDimension
(
void
)
const
;
69
71
virtual
void
GenerateTree
(
void
) = 0;
72
73
protected
:
74
76
BinaryTreeBase
();
77
79
virtual
~BinaryTreeBase
() {}
80
82
virtual
void
PrintSelf
( std::ostream & os, Indent indent )
const
;
83
84
private
:
85
86
BinaryTreeBase
(
const
Self
& );
// purposely not implemented
87
void
operator=
(
const
Self
& );
// purposely not implemented
88
90
typename
SampleType::Pointer
m_Sample
;
91
92
};
93
94
}
// end namespace itk
95
96
#ifndef ITK_MANUAL_INSTANTIATION
97
#include "itkBinaryTreeBase.hxx"
98
#endif
99
100
#endif // end #ifndef __itkBinaryTreeBase_h
itk::BinaryTreeBase::GenerateTree
virtual void GenerateTree(void)=0
itk::BinaryTreeBase::PrintSelf
virtual void PrintSelf(std::ostream &os, Indent indent) const
itk::BinaryTreeBase::m_Sample
SampleType::Pointer m_Sample
Definition:
itkBinaryTreeBase.h:90
SmartPointer< Self >
itk::BinaryTreeBase::Superclass
DataObject Superclass
Definition:
itkBinaryTreeBase.h:42
itk::BinaryTreeBase::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkBinaryTreeBase.h:44
itk::BinaryTreeBase::SampleType
TListSample SampleType
Definition:
itkBinaryTreeBase.h:47
itk::BinaryTreeBase::GetDataDimension
MeasurementVectorSizeType GetDataDimension(void) const
itk::BinaryTreeBase::BinaryTreeBase
BinaryTreeBase(const Self &)
itk::BinaryTreeBase::GetActualNumberOfDataPoints
TotalAbsoluteFrequencyType GetActualNumberOfDataPoints(void) const
itk::BinaryTreeBase::Pointer
SmartPointer< Self > Pointer
Definition:
itkBinaryTreeBase.h:43
itk::BinaryTreeBase::TotalAbsoluteFrequencyType
SampleType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
Definition:
itkBinaryTreeBase.h:55
itk::BinaryTreeBase::MeasurementVectorSizeType
SampleType::MeasurementVectorSizeType MeasurementVectorSizeType
Definition:
itkBinaryTreeBase.h:54
itk::BinaryTreeBase::MeasurementVectorType
SampleType::MeasurementVectorType MeasurementVectorType
Definition:
itkBinaryTreeBase.h:53
itk
Definition:
itkAdvancedImageToImageMetric.h:40
itk::BinaryTreeBase::GetNumberOfDataPoints
TotalAbsoluteFrequencyType GetNumberOfDataPoints(void) const
itk::BinaryTreeBase
Definition:
itkBinaryTreeBase.h:37
itk::BinaryTreeBase::~BinaryTreeBase
virtual ~BinaryTreeBase()
Definition:
itkBinaryTreeBase.h:79
itk::BinaryTreeBase::BinaryTreeBase
BinaryTreeBase()
itk::BinaryTreeBase::Self
BinaryTreeBase Self
Definition:
itkBinaryTreeBase.h:41
itk::BinaryTreeBase::operator=
void operator=(const Self &)
Generated on OURCE_DATE_EPOCH for elastix by
1.8.18