33 #ifndef __vtkImageResize_h
34 #define __vtkImageResize_h
59 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
60 vtkGetMacro(ResizeMethod,
int);
62 this->SetResizeMethod(OUTPUT_DIMENSIONS); }
64 this->SetResizeMethod(OUTPUT_SPACING); }
66 this->SetResizeMethod(MAGNIFICATION_FACTORS); }
67 virtual const char *GetResizeMethodAsString();
74 vtkSetVector3Macro(OutputDimensions,
int);
75 vtkGetVector3Macro(OutputDimensions,
int);
82 vtkSetVector3Macro(OutputSpacing,
double);
83 vtkGetVector3Macro(OutputSpacing,
double);
90 vtkSetVector3Macro(MagnificationFactors,
double);
91 vtkGetVector3Macro(MagnificationFactors,
double);
103 vtkSetMacro(Border,
int);
104 vtkBooleanMacro(Border,
int);
105 vtkGetMacro(Border,
int);
111 vtkSetMacro(Cropping,
int);
112 vtkBooleanMacro(Cropping,
int);
113 vtkGetMacro(Cropping,
int);
120 vtkSetVector6Macro(CroppingRegion,
double);
121 vtkGetVector6Macro(CroppingRegion,
double);
126 vtkSetMacro(Interpolate,
int);
127 vtkBooleanMacro(Interpolate,
int);
128 vtkGetMacro(Interpolate,
int);
159 int OutputDimensions[3];
160 double OutputSpacing[3];
161 double MagnificationFactors[3];
164 double CroppingRegion[6];
166 double IndexStretch[3];
167 double IndexTranslate[3];