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