Imaging/vtkImageResample.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00046 #ifndef __vtkImageResample_h
00047 #define __vtkImageResample_h
00048
00049
00050 #include "vtkImageReslice.h"
00051
00052 class VTK_IMAGING_EXPORT vtkImageResample : public vtkImageReslice
00053 {
00054 public:
00055 static vtkImageResample *New();
00056 vtkTypeRevisionMacro(vtkImageResample,vtkImageReslice);
00057 void PrintSelf(ostream& os, vtkIndent indent);
00058
00061 void SetAxisOutputSpacing(int axis, float spacing);
00062
00064
00066 void SetAxisMagnificationFactor(int axis, float factor);
00067 float GetAxisMagnificationFactor(int axis);
00069
00071
00075 vtkSetMacro(Dimensionality,int);
00076 vtkGetMacro(Dimensionality,int);
00078
00079 protected:
00080 vtkImageResample();
00081 ~vtkImageResample() {};
00082
00083 float MagnificationFactors[3];
00084 float OutputSpacing[3];
00085 int Dimensionality;
00086
00087 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00088 void ExecuteInformation(){this->Superclass::ExecuteInformation();};
00089
00090 private:
00091 vtkImageResample(const vtkImageResample&);
00092 void operator=(const vtkImageResample&);
00093 };
00094
00095 #endif