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);
65 {this->SetOutputScalarType(
VTK_LONG);}
69 {this->SetOutputScalarType(
VTK_INT);}
77 {this->SetOutputScalarType(
VTK_CHAR);}
86 vtkSetMacro(ClampOverflow,
int);
87 vtkGetMacro(ClampOverflow,
int);
88 vtkBooleanMacro(ClampOverflow,
int);
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToChar()
void PrintSelf(ostream &os, vtkIndent indent)
void SetOutputScalarTypeToUnsignedShort()
Generic filter that has one input..
shift and scale an input image
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToUnsignedChar()
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToFloat()
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
#define VTK_UNSIGNED_CHAR
static vtkAlgorithm * New()
#define VTK_UNSIGNED_LONG
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToUnsignedLong()