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
00034 #ifndef __vtkImageResample_h
00035 #define __vtkImageResample_h
00036
00037
00038 #include "vtkImageReslice.h"
00039
00040 class VTK_IMAGING_EXPORT vtkImageResample : public vtkImageReslice
00041 {
00042 public:
00043 static vtkImageResample *New();
00044 vtkTypeRevisionMacro(vtkImageResample,vtkImageReslice);
00045 void PrintSelf(ostream& os, vtkIndent indent);
00046
00049 void SetAxisOutputSpacing(int axis, float spacing);
00050
00052
00054 void SetAxisMagnificationFactor(int axis, float factor);
00055 float GetAxisMagnificationFactor(int axis);
00057
00059
00063 vtkSetMacro(Dimensionality,int);
00064 vtkGetMacro(Dimensionality,int);
00066
00067 protected:
00068 vtkImageResample();
00069 ~vtkImageResample() {};
00070
00071 float MagnificationFactors[3];
00072 float OutputSpacing[3];
00073 int Dimensionality;
00074
00075 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00076 void ExecuteInformation(){this->Superclass::ExecuteInformation();};
00077
00078 private:
00079 vtkImageResample(const vtkImageResample&);
00080 void operator=(const vtkImageResample&);
00081 };
00082
00083 #endif