30 #ifndef __vtkImageShiftScale_h
31 #define __vtkImageShiftScale_h
45 vtkSetMacro(Shift,
double);
46 vtkGetMacro(Shift,
double);
51 vtkSetMacro(Scale,
double);
52 vtkGetMacro(Scale,
double);
58 vtkSetMacro(OutputScalarType,
int);
59 vtkGetMacro(OutputScalarType,
int);
60 void SetOutputScalarTypeToDouble()
62 void SetOutputScalarTypeToFloat()
64 void SetOutputScalarTypeToLong()
65 {this->SetOutputScalarType(
VTK_LONG);}
66 void SetOutputScalarTypeToUnsignedLong()
68 void SetOutputScalarTypeToInt()
69 {this->SetOutputScalarType(
VTK_INT);}
70 void SetOutputScalarTypeToUnsignedInt()
72 void SetOutputScalarTypeToShort()
74 void SetOutputScalarTypeToUnsignedShort()
76 void SetOutputScalarTypeToChar()
77 {this->SetOutputScalarType(
VTK_CHAR);}
78 void SetOutputScalarTypeToUnsignedChar()
86 vtkSetMacro(ClampOverflow,
int);
87 vtkGetMacro(ClampOverflow,
int);
88 vtkBooleanMacro(ClampOverflow,
int);