Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Common
ImageSamplers
itkVectorContainerSource.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 __VectorContainerSource_h
16
#define __VectorContainerSource_h
17
18
#include "itkProcessObject.h"
19
#include "itkDataObjectDecorator.h"
20
21
22
namespace
itk
23
{
24
30
template
<
class
TOutputVectorContainer >
31
class
VectorContainerSource
:
32
public
ProcessObject
33
{
34
public
:
35
37
typedef
VectorContainerSource
Self
;
38
typedef
ProcessObject
Superclass
;
39
typedef
SmartPointer<Self>
Pointer
;
40
typedef
SmartPointer<const Self>
ConstPointer
;
41
43
itkNewMacro(
Self
);
44
46
itkTypeMacro(
VectorContainerSource
, ProcessObject );
47
49
typedef
typename
Superclass::DataObjectPointer
DataObjectPointer
;
50
typedef
TOutputVectorContainer
OutputVectorContainerType
;
51
typedef
typename
OutputVectorContainerType::Pointer
OutputVectorContainerPointer
;
52
54
OutputVectorContainerType
*
GetOutput
(
void
);
55
57
OutputVectorContainerType
*
GetOutput
(
unsigned
int
idx );
58
60
virtual
void
GraftOutput
( DataObject *output );
61
63
virtual
void
GraftNthOutput
(
unsigned
int
idx, DataObject *output );
64
66
virtual
DataObjectPointer
MakeOutput
(
unsigned
int
idx );
67
68
protected
:
69
71
VectorContainerSource
();
73
virtual
~VectorContainerSource
() {};
74
76
void
PrintSelf
( std::ostream& os, Indent indent )
const
;
77
79
void
GenerateInputRequestedRegion
(
void
);
80
81
private
:
82
84
VectorContainerSource
(
const
Self
& );
// purposely not implemented
86
void
operator=
(
const
Self
& );
// purposely not implemented
87
89
int
m_GenerateDataRegion
;
90
int
m_GenerateDataNumberOfRegions
;
91
92
};
// end class VectorContainerSource
93
94
95
}
// end namespace itk
96
97
#ifndef ITK_MANUAL_INSTANTIATION
98
#include "itkVectorContainerSource.txx"
99
#endif
100
101
#endif // end #ifndef __VectorContainerSource_h
102
Generated on 21-03-2014 for elastix by
1.8.1.2