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