24 #ifndef vtkImageThreshold_h
25 #define vtkImageThreshold_h
27 #include "vtkImagingCoreModule.h"
66 vtkGetMacro(InValue,
double);
83 vtkGetMacro(OutValue,
double);
90 vtkGetMacro(UpperThreshold,
double);
91 vtkGetMacro(LowerThreshold,
double);
98 vtkSetMacro(OutputScalarType,
int);
99 vtkGetMacro(OutputScalarType,
int);
130 int extent[6],
int id)
override;
topologically and geometrically regular array of data
void ThresholdBetween(double lower, double upper)
The values in a range (inclusive) match.
void SetOutputScalarTypeToInt()
~vtkImageThreshold() override
void SetOutValue(double val)
Replace the in range pixels with this value.
void SetOutputScalarTypeToLong()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToSignedChar()
void SetOutputScalarTypeToUnsignedLong()
void SetInValue(double val)
Replace the in range pixels with this value.
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToUnsignedShort()
static vtkImageThreshold * New()
void ThresholdByLower(double thresh)
The values less than or equal to the value match.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
void ThresholdByUpper(double thresh)
The values greater than or equal to the value match.
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToFloat()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
a simple class to control print indentation
Generic filter that has one input.
#define VTK_UNSIGNED_CHAR
#define VTK_UNSIGNED_SHORT
#define VTK_UNSIGNED_LONG