Go to the documentation of this file.
31 #ifndef vtkImageShiftScale_h
32 #define vtkImageShiftScale_h
35 #include "vtkImagingCoreModule.h"
49 vtkSetMacro(Shift,
double);
50 vtkGetMacro(Shift,
double);
57 vtkSetMacro(Scale,
double);
58 vtkGetMacro(Scale,
double);
66 vtkSetMacro(OutputScalarType,
int);
67 vtkGetMacro(OutputScalarType,
int);
73 {this->SetOutputScalarType(
VTK_LONG);}
77 {this->SetOutputScalarType(
VTK_INT);}
85 {this->SetOutputScalarType(
VTK_CHAR);}
123 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()