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 
24 namespace itk
25 {
31 template< class TOutputVectorContainer >
33  public ProcessObject
34 {
35 public:
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;
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 
69 protected:
70 
75 
77  void PrintSelf( std::ostream & os, Indent indent ) const;
78 
79 private:
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
itk::VectorContainerSource::OutputVectorContainerPointer
OutputVectorContainerType::Pointer OutputVectorContainerPointer
Definition: itkVectorContainerSource.h:52
itk::VectorContainerSource::~VectorContainerSource
virtual ~VectorContainerSource()
Definition: itkVectorContainerSource.h:74
itk::VectorContainerSource::operator=
void operator=(const Self &)
itk::VectorContainerSource::VectorContainerSource
VectorContainerSource()
SmartPointer< Self >
itk::VectorContainerSource::VectorContainerSource
VectorContainerSource(const Self &)
itk::VectorContainerSource::GraftOutput
virtual void GraftOutput(DataObject *output)
itk::VectorContainerSource::m_GenerateDataRegion
int m_GenerateDataRegion
Definition: itkVectorContainerSource.h:87
itk::VectorContainerSource::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkVectorContainerSource.h:41
itk::VectorContainerSource::GraftNthOutput
virtual void GraftNthOutput(unsigned int idx, DataObject *output)
itk::VectorContainerSource::Superclass
ProcessObject Superclass
Definition: itkVectorContainerSource.h:39
itk::VectorContainerSource::OutputVectorContainerType
TOutputVectorContainer OutputVectorContainerType
Definition: itkVectorContainerSource.h:51
itk::VectorContainerSource::Self
VectorContainerSource Self
Definition: itkVectorContainerSource.h:38
itk::VectorContainerSource::DataObjectPointer
Superclass::DataObjectPointer DataObjectPointer
Definition: itkVectorContainerSource.h:47
itk::VectorContainerSource::GetOutput
OutputVectorContainerType * GetOutput(void)
itk::VectorContainerSource::MakeOutput
virtual DataObjectPointer MakeOutput(unsigned int idx)
itk::VectorContainerSource::Pointer
SmartPointer< Self > Pointer
Definition: itkVectorContainerSource.h:40
itk::VectorContainerSource
A base class for creating an ImageToVectorContainerFilter.
Definition: itkVectorContainerSource.h:34
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::VectorContainerSource::GetOutput
OutputVectorContainerType * GetOutput(unsigned int idx)
itk::VectorContainerSource::m_GenerateDataNumberOfRegions
int m_GenerateDataNumberOfRegions
Definition: itkVectorContainerSource.h:88
itk::VectorDataContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorDataContainer.h:79
itk::VectorContainerSource::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo