Imaging/vtkImageResample.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00030 #ifndef __vtkImageResample_h
00031 #define __vtkImageResample_h
00032
00033
00034 #include "vtkImageReslice.h"
00035
00036 class VTK_IMAGING_EXPORT vtkImageResample : public vtkImageReslice
00037 {
00038 public:
00039 static vtkImageResample *New();
00040 vtkTypeRevisionMacro(vtkImageResample,vtkImageReslice);
00041 void PrintSelf(ostream& os, vtkIndent indent);
00042
00045 void SetAxisOutputSpacing(int axis, double spacing);
00046
00048
00050 void SetAxisMagnificationFactor(int axis, double factor);
00051 double GetAxisMagnificationFactor(int axis);
00053
00055
00059 vtkSetMacro(Dimensionality,int);
00060 vtkGetMacro(Dimensionality,int);
00062
00063 protected:
00064 vtkImageResample();
00065 ~vtkImageResample() {};
00066
00067 double MagnificationFactors[3];
00068 double OutputSpacing[3];
00069 int Dimensionality;
00070
00071 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00072 void ExecuteInformation(){this->Superclass::ExecuteInformation();};
00073
00074 private:
00075 vtkImageResample(const vtkImageResample&);
00076 void operator=(const vtkImageResample&);
00077 };
00078
00079 #endif