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;
void SetOutputScalarTypeToInt()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToUnsignedShort()
#define VTK_UNSIGNED_SHORT
Generic filter that has one input.
void ThreadedRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId) override
If the subclass does not define an Execute method, then the task will be broken up,...
~vtkImageShiftScale() override
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToChar()
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToLong()
static vtkImageShiftScale * New()
void SetOutputScalarTypeToUnsignedInt()
vtkTypeBool ClampOverflow
void SetOutputScalarTypeToDouble()