31 #ifndef vtkImageShiftScale_h
32 #define vtkImageShiftScale_h
35 #include "vtkImagingCoreModule.h"
50 vtkGetMacro(Shift,
double);
58 vtkGetMacro(Scale,
double);
67 vtkGetMacro(OutputScalarType,
int);
73 {this->SetOutputScalarType(
VTK_LONG);}
77 {this->SetOutputScalarType(
VTK_INT);}
85 {this->SetOutputScalarType(
VTK_CHAR);}
100 vtkGetMacro(ClampOverflow,
int);
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToChar()
Set the desired output scalar type.
void SetOutputScalarTypeToUnsignedShort()
Set the desired output scalar type.
Generic filter that has one input.
shift and scale an input image
void SetOutputScalarTypeToDouble()
Set the desired output scalar type.
void SetOutputScalarTypeToUnsignedChar()
Set the desired output scalar type.
a simple class to control print indentation
topologically and geometrically regular array of data
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 SetOutputScalarTypeToInt()
Set the desired output scalar type.
void SetOutputScalarTypeToFloat()
Set the desired output scalar type.
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, multiple threads will be spawned, and each thread will call this method.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#define VTK_UNSIGNED_CHAR
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNSIGNED_LONG
void SetOutputScalarTypeToShort()
Set the desired output scalar type.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetOutputScalarTypeToLong()
Set the desired output scalar type.
void SetOutputScalarTypeToUnsignedInt()
Set the desired output scalar type.
void SetOutputScalarTypeToUnsignedLong()
Set the desired output scalar type.