33 #ifndef __vtkImageResize_h
34 #define __vtkImageResize_h
36 #include "vtkImagingCoreModule.h"
60 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
61 vtkGetMacro(ResizeMethod,
int);
63 this->SetResizeMethod(OUTPUT_DIMENSIONS); }
65 this->SetResizeMethod(OUTPUT_SPACING); }
67 this->SetResizeMethod(MAGNIFICATION_FACTORS); }
68 virtual const char *GetResizeMethodAsString();
75 vtkSetVector3Macro(OutputDimensions,
int);
76 vtkGetVector3Macro(OutputDimensions,
int);
83 vtkSetVector3Macro(OutputSpacing,
double);
84 vtkGetVector3Macro(OutputSpacing,
double);
91 vtkSetVector3Macro(MagnificationFactors,
double);
92 vtkGetVector3Macro(MagnificationFactors,
double);
104 vtkSetMacro(Border,
int);
105 vtkBooleanMacro(Border,
int);
106 vtkGetMacro(Border,
int);
112 vtkSetMacro(Cropping,
int);
113 vtkBooleanMacro(Cropping,
int);
114 vtkGetMacro(Cropping,
int);
121 vtkSetVector6Macro(CroppingRegion,
double);
122 vtkGetVector6Macro(CroppingRegion,
double);
127 vtkSetMacro(Interpolate,
int);
128 vtkBooleanMacro(Interpolate,
int);
129 vtkGetMacro(Interpolate,
int);
160 int OutputDimensions[3];
161 double OutputSpacing[3];
162 double MagnificationFactors[3];
165 double CroppingRegion[6];
167 double IndexStretch[3];
168 double IndexTranslate[3];