26 #ifndef vtkImageThreshold_h
27 #define vtkImageThreshold_h
41 void ThresholdByUpper(
double thresh);
44 void ThresholdByLower(
double thresh);
47 void ThresholdBetween(
double lower,
double upper);
51 vtkSetMacro(ReplaceIn,
int);
52 vtkGetMacro(ReplaceIn,
int);
53 vtkBooleanMacro(ReplaceIn,
int);
58 void SetInValue(
double val);
59 vtkGetMacro(InValue,
double);
64 vtkSetMacro(ReplaceOut,
int);
65 vtkGetMacro(ReplaceOut,
int);
66 vtkBooleanMacro(ReplaceOut,
int);
71 void SetOutValue(
double val);
72 vtkGetMacro(OutValue,
double);
77 vtkGetMacro(UpperThreshold,
double);
78 vtkGetMacro(LowerThreshold,
double);
83 vtkSetMacro(OutputScalarType,
int);
84 vtkGetMacro(OutputScalarType,
int);
90 {this->SetOutputScalarType(
VTK_LONG);}
94 {this->SetOutputScalarType(
VTK_INT);}
102 {this->SetOutputScalarType(
VTK_CHAR);}
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToUnsignedChar()
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToSignedChar()
void SetOutputScalarTypeToInt()
void PrintSelf(ostream &os, vtkIndent indent)
Generic filter that has one input..
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIMAGINGCORE_EXPORT
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToDouble()
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToLong()
#define VTK_UNSIGNED_CHAR
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToShort()
static vtkAlgorithm * New()
#define VTK_UNSIGNED_LONG
void SetOutputScalarTypeToUnsignedLong()