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 
55  OutputVectorContainerType * GetOutput( void );
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
TOutputVectorContainer OutputVectorContainerType
A base class for creating an ImageToVectorContainerFilter.
virtual DataObjectPointer MakeOutput(unsigned int idx)
virtual void GraftOutput(DataObject *output)
SmartPointer< const Self > ConstPointer
virtual void GraftNthOutput(unsigned int idx, DataObject *output)
OutputVectorContainerType::Pointer OutputVectorContainerPointer
void PrintSelf(std::ostream &os, Indent indent) const
void operator=(const Self &)
OutputVectorContainerType * GetOutput(void)
Superclass::DataObjectPointer DataObjectPointer


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo