30 #ifndef __vtkImageShiftScale_h
31 #define __vtkImageShiftScale_h
34 #include "vtkImagingCoreModule.h"
42 void PrintSelf(ostream& os, vtkIndent indent);
46 vtkSetMacro(Shift,
double);
47 vtkGetMacro(Shift,
double);
52 vtkSetMacro(Scale,
double);
53 vtkGetMacro(Scale,
double);
59 vtkSetMacro(OutputScalarType,
int);
60 vtkGetMacro(OutputScalarType,
int);
62 {this->SetOutputScalarType(VTK_DOUBLE);}
64 {this->SetOutputScalarType(VTK_FLOAT);}
66 {this->SetOutputScalarType(VTK_LONG);}
68 {this->SetOutputScalarType(VTK_UNSIGNED_LONG);};
70 {this->SetOutputScalarType(VTK_INT);}
72 {this->SetOutputScalarType(VTK_UNSIGNED_INT);}
74 {this->SetOutputScalarType(VTK_SHORT);}
76 {this->SetOutputScalarType(VTK_UNSIGNED_SHORT);}
78 {this->SetOutputScalarType(VTK_CHAR);}
80 {this->SetOutputScalarType(VTK_UNSIGNED_CHAR);}
87 vtkSetMacro(ClampOverflow,
int);
88 vtkGetMacro(ClampOverflow,
int);
89 vtkBooleanMacro(ClampOverflow,
int);
102 vtkInformationVector**,
103 vtkInformationVector*);
106 vtkInformationVector**,
107 vtkInformationVector*,
108 vtkImageData*** inData,
109 vtkImageData** outData,
void SetOutputScalarTypeToChar()
void PrintSelf(ostream &os, vtkIndent indent)
void SetOutputScalarTypeToUnsignedShort()
Generic filter that has one input..
shift and scale an input image
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToUnsignedChar()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToFloat()
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
static vtkAlgorithm * New()
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToUnsignedLong()