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  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 >
32  public ProcessObject
33  {
34  public:
35 
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;
52 
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 
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 
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 
TOutputVectorContainer OutputVectorContainerType
A base class for creating an ImageToVectorContainerFilter.
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
SmartPointer< Self > Pointer
virtual DataObjectPointer MakeOutput(unsigned int idx)
void GenerateInputRequestedRegion(void)
virtual void GraftOutput(DataObject *output)
virtual void GraftNthOutput(unsigned int idx, DataObject *output)
OutputVectorContainerType::Pointer OutputVectorContainerPointer
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const
void operator=(const Self &)
OutputVectorContainerType * GetOutput(void)
Superclass::DataObjectPointer DataObjectPointer


Generated on 04-01-2014 for elastix by doxygen 1.8.5 elastix logo