Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Common
ImageSamplers
itkImageToVectorContainerFilter.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 __ImageToVectorContainerFilter_h
16
#define __ImageToVectorContainerFilter_h
17
18
#include "
itkVectorContainerSource.h
"
19
20
21
namespace
itk
22
{
23
30
template
<
class
TInputImage,
class
TOutputVectorContainer >
31
class
ImageToVectorContainerFilter
:
32
public
VectorContainerSource
< TOutputVectorContainer >
33
{
34
public
:
35
37
typedef
ImageToVectorContainerFilter
Self
;
38
typedef
VectorContainerSource
<
39
TOutputVectorContainer >
Superclass
;
40
typedef
SmartPointer<Self>
Pointer
;
41
typedef
SmartPointer<const Self>
ConstPointer
;
42
44
itkNewMacro(
Self
);
45
47
itkTypeMacro(
ImageToVectorContainerFilter
,
VectorContainerSource
);
48
50
typedef
typename
Superclass::DataObjectPointer
DataObjectPointer
;
51
typedef
typename
Superclass::OutputVectorContainerType
OutputVectorContainerType
;
52
typedef
typename
Superclass::OutputVectorContainerPointer
OutputVectorContainerPointer
;
53
55
typedef
TInputImage
InputImageType
;
56
typedef
typename
InputImageType::Pointer
InputImagePointer
;
57
typedef
typename
InputImageType::ConstPointer
InputImageConstPointer
;
58
typedef
typename
InputImageType::RegionType
InputImageRegionType
;
59
typedef
typename
InputImageType::PixelType
InputImagePixelType
;
60
62
DataObject::Pointer
MakeOutput
(
unsigned
int
idx);
63
65
void
SetInput
(
unsigned
int
idx,
const
InputImageType
*input );
66
68
void
SetInput
(
const
InputImageType
*input );
69
71
const
InputImageType
*
GetInput
(
void
);
72
74
const
InputImageType
*
GetInput
(
unsigned
int
idx );
75
77
OutputVectorContainerType
*
GetOutput
(
void
);
78
80
//virtual void GenerateOutputInformation( void );
81
82
protected
:
83
85
ImageToVectorContainerFilter
();
87
virtual
~ImageToVectorContainerFilter
() {};
88
90
void
PrintSelf
( std::ostream& os, Indent indent )
const
;
91
92
private
:
93
95
ImageToVectorContainerFilter
(
const
Self
& );
// purposely not implemented
97
void
operator=
(
const
Self
& );
// purposely not implemented
98
99
};
// end class ImageToVectorContainerFilter
100
101
102
}
// end namespace itk
103
104
#ifndef ITK_MANUAL_INSTANTIATION
105
#include "itkImageToVectorContainerFilter.txx"
106
#endif
107
108
#endif // end #ifndef __ImageToVectorContainerFilter_h
109
Generated on 27-06-2013 for elastix by
1.8.3.1