vtkImageMagnify.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00042 #ifndef __vtkImageMagnify_h
00043 #define __vtkImageMagnify_h
00044
00045 #include "vtkImageToImageFilter.h"
00046
00047 class VTK_IMAGING_EXPORT vtkImageMagnify : public vtkImageToImageFilter
00048 {
00049 public:
00050 static vtkImageMagnify *New();
00051 vtkTypeRevisionMacro(vtkImageMagnify,vtkImageToImageFilter);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053
00055
00056 vtkSetVector3Macro(MagnificationFactors,int);
00057 vtkGetVector3Macro(MagnificationFactors,int);
00059
00061
00062 vtkSetMacro(Interpolate,int);
00063 vtkGetMacro(Interpolate,int);
00064 vtkBooleanMacro(Interpolate,int);
00066
00067
00068 protected:
00069 vtkImageMagnify();
00070 ~vtkImageMagnify() {};
00071
00072 int MagnificationFactors[3];
00073 int Interpolate;
00074 void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00075 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00076 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
00077 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
00078 int extent[6], int id);
00079 private:
00080 vtkImageMagnify(const vtkImageMagnify&);
00081 void operator=(const vtkImageMagnify&);
00082 };
00083
00084 #endif
00085
00086
00087
00088