Go to the documentation of this file.
25 #ifndef vtkImageShiftScale_h
26 #define vtkImageShiftScale_h
29 #include "vtkImagingCoreModule.h"
43 vtkSetMacro(Shift,
double);
44 vtkGetMacro(Shift,
double);
51 vtkSetMacro(Scale,
double);
52 vtkGetMacro(Scale,
double);
60 vtkSetMacro(OutputScalarType,
int);
61 vtkGetMacro(OutputScalarType,
int);
67 {this->SetOutputScalarType(
VTK_LONG);}
71 {this->SetOutputScalarType(
VTK_INT);}
79 {this->SetOutputScalarType(
VTK_CHAR);}
117 int threadId)
override;
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up,...
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToUnsignedShort()
#define VTK_UNSIGNED_SHORT
Generic filter that has one input.
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToUnsignedLong()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputScalarTypeToChar()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
a simple class to control print indentation
shift and scale an input image
#define VTK_UNSIGNED_CHAR
void SetOutputScalarTypeToUnsignedChar()
#define VTK_UNSIGNED_LONG
static vtkAlgorithm * New()
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToUnsignedInt()
vtkTypeBool ClampOverflow
void SetOutputScalarTypeToDouble()