go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkVectorContainerSource.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 __itkVectorContainerSource_h
19#define __itkVectorContainerSource_h
20
21#include "itkProcessObject.h"
22#include "itkDataObjectDecorator.h"
23
24namespace itk
25{
31template< class TOutputVectorContainer >
33 public ProcessObject
34{
35public:
36
39 typedef ProcessObject Superclass;
41 typedef SmartPointer< const Self > ConstPointer;
42
44 itkNewMacro( Self );
45
47 itkTypeMacro( VectorContainerSource, ProcessObject );
48
50 typedef typename Superclass::DataObjectPointer DataObjectPointer;
51 typedef TOutputVectorContainer OutputVectorContainerType;
52 typedef typename OutputVectorContainerType::Pointer OutputVectorContainerPointer;
53
56
58 OutputVectorContainerType * GetOutput( unsigned int idx );
59
61 virtual void GraftOutput( DataObject * output );
62
64 virtual void GraftNthOutput( unsigned int idx, DataObject * output );
65
67 virtual DataObjectPointer MakeOutput( unsigned int idx );
68
69protected:
70
75
77 void PrintSelf( std::ostream & os, Indent indent ) const override;
78
79private:
80
82 VectorContainerSource( const Self & ); // purposely not implemented
84 void operator=( const Self & ); // purposely not implemented
85
89
90};
91
92} // end namespace itk
93
94#ifndef ITK_MANUAL_INSTANTIATION
95#include "itkVectorContainerSource.hxx"
96#endif
97
98#endif // end #ifndef __itkVectorContainerSource_h
A base class for creating an ImageToVectorContainerFilter.
VectorContainerSource(const Self &)
SmartPointer< const Self > ConstPointer
virtual void GraftOutput(DataObject *output)
void PrintSelf(std::ostream &os, Indent indent) const override
TOutputVectorContainer OutputVectorContainerType
Superclass::DataObjectPointer DataObjectPointer
OutputVectorContainerType::Pointer OutputVectorContainerPointer
OutputVectorContainerType * GetOutput(unsigned int idx)
OutputVectorContainerType * GetOutput(void)
virtual DataObjectPointer MakeOutput(unsigned int idx)
void operator=(const Self &)
virtual void GraftNthOutput(unsigned int idx, DataObject *output)


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo