ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkIsotropicResampler.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkIsotropicResampler.h
5  Language: C++
6  Date: $Date$
7  Version: $Revision$
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef itkIsotropicResampler_h
18 #define itkIsotropicResampler_h
19 
20 #include "itkImage.h"
21 #include "itkImageSpatialObject.h"
22 
23 namespace itk
24 {
25 
37 template <unsigned int NDimension>
38 class ITK_EXPORT IsotropicResampler : public ProcessObject
39 {
40 public:
46 
48  itkNewMacro(Self);
49 
51  itkTypeMacro(IsotropicResampler, ProcessObject);
52 
54  itkStaticConstMacro(Dimension, unsigned int, NDimension);
55 
58  typedef signed short InputPixelType;
64 
67  void SetInput( const SpatialObjectType * input );
68  const SpatialObjectType * GetInput() const;
70 
73  const SpatialObjectType * GetOutput() const;
74 
75  itkSetMacro( OutputSpacing, double );
76  itkGetMacro( OutputSpacing, double );
77 
78 protected:
80  virtual ~IsotropicResampler();
81  void PrintSelf(std::ostream& os, Indent indent) const;
82 
85  void GenerateData ();
86 
87 private:
88  IsotropicResampler(const Self&); //purposely not implemented
89  void operator=(const Self&); //purposely not implemented
90 
91  typedef signed short OutputPixelType;
93 
95 
97 };
98 
99 } // end namespace itk
100 
101 #ifndef ITK_MANUAL_INSTANTIATION
102 # include "itkIsotropicResampler.hxx"
103 #endif
104 
105 #endif
Light weight base class for most itk classes.
InputImageSpatialObjectType::Pointer InputImageSpatialObjectPointer
ImageSpatialObject< NDimension, OutputPixelType > OutputImageSpatialObjectType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Image< OutputPixelType, Dimension > OutputImageType
Resamples the image to an isotropic resolution.
SpatialObject< NDimension > SpatialObjectType
SmartPointer< Self > Pointer
Image< InputPixelType, Dimension > InputImageType
Implementation of the composite pattern.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
ImageSpatialObject< NDimension, InputPixelType > InputImageSpatialObjectType
SmartPointer< const Self > ConstPointer
Implementation of an image as spatial object.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Templated n-dimensional image class.
Definition: itkImage.h:75
SpatialObjectType::Pointer SpatialObjectPointer