30 #ifndef __vtkImageShiftScale_h
31 #define __vtkImageShiftScale_h
34 #include "vtkImagingCoreModule.h"
35 #include "vtkThreadedImageAlgorithm.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);
101 virtual int RequestInformation(vtkInformation*,
102 vtkInformationVector**,
103 vtkInformationVector*);
105 virtual void ThreadedRequestData(vtkInformation*,
106 vtkInformationVector**,
107 vtkInformationVector*,
108 vtkImageData*** inData,
109 vtkImageData** outData,
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToUnsignedShort()
shift and scale an input image
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToUnsignedLong()