25 #ifndef vtkImageShiftScale_h
26 #define vtkImageShiftScale_h
29 #include "vtkImagingCoreModule.h"
44 vtkGetMacro(Shift,
double);
52 vtkGetMacro(Scale,
double);
61 vtkGetMacro(OutputScalarType,
int);
67 {this->SetOutputScalarType(
VTK_LONG);}
71 {this->SetOutputScalarType(
VTK_INT);}
79 {this->SetOutputScalarType(
VTK_CHAR);}
94 vtkGetMacro(ClampOverflow,
int);
104 int OutputScalarType;
109 vtkInformationVector*) VTK_OVERRIDE;
111 void ThreadedRequestData(vtkInformation*,
112 vtkInformationVector**,
113 vtkInformationVector*,
117 int threadId) VTK_OVERRIDE;
#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
void SetOutputScalarTypeToInt()
Set the desired output scalar type.
void SetOutputScalarTypeToFloat()
Set the desired output scalar type.
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.