go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkImageToVectorContainerFilter.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 __ImageToVectorContainerFilter_h
16 #define __ImageToVectorContainerFilter_h
17 
19 
20 
21 namespace itk
22 {
23 
30  template < class TInputImage, class TOutputVectorContainer >
32  public VectorContainerSource< TOutputVectorContainer >
33  {
34  public:
35 
38  typedef VectorContainerSource<
39  TOutputVectorContainer > Superclass;
40  typedef SmartPointer<Self> Pointer;
41  typedef SmartPointer<const Self> ConstPointer;
42 
44  itkNewMacro( Self );
45 
48 
53 
55  typedef TInputImage InputImageType;
56  typedef typename InputImageType::Pointer InputImagePointer;
57  typedef typename InputImageType::ConstPointer InputImageConstPointer;
58  typedef typename InputImageType::RegionType InputImageRegionType;
59  typedef typename InputImageType::PixelType InputImagePixelType;
60 
62  DataObject::Pointer MakeOutput(unsigned int idx);
63 
65  void SetInput( unsigned int idx, const InputImageType *input );
66 
68  void SetInput( const InputImageType *input );
69 
71  const InputImageType * GetInput( void );
72 
74  const InputImageType * GetInput( unsigned int idx );
75 
78 
80  //virtual void GenerateOutputInformation( void );
81 
82  protected:
83 
88 
90  void PrintSelf( std::ostream& os, Indent indent ) const;
91 
92  private:
93 
95  ImageToVectorContainerFilter( const Self& ); // purposely not implemented
97  void operator=( const Self& ); // purposely not implemented
98 
99  }; // end class ImageToVectorContainerFilter
100 
101 
102 } // end namespace itk
103 
104 #ifndef ITK_MANUAL_INSTANTIATION
105 #include "itkImageToVectorContainerFilter.txx"
106 #endif
107 
108 #endif // end #ifndef __ImageToVectorContainerFilter_h
109 
OutputVectorContainerType * GetOutput(void)
const InputImageType * GetInput(void)
VectorContainerSource< TOutputVectorContainer > Superclass
void PrintSelf(std::ostream &os, Indent indent) const
A base class for creating an ImageToVectorContainerFilter.
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
void SetInput(unsigned int idx, const InputImageType *input)
Superclass::OutputVectorContainerType OutputVectorContainerType
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
InputImageType::ConstPointer InputImageConstPointer
Superclass::DataObjectPointer DataObjectPointer
DataObject::Pointer MakeOutput(unsigned int idx)
Base class that takes in an image and pops out a vector container.


Generated on 06-12-2013 for elastix by doxygen 1.8.5 elastix logo