 |
VTK
9.1.0
|
Go to the documentation of this file.
133 #ifndef vtkImageThreshold_h
134 #define vtkImageThreshold_h
136 #include "vtkImagingCoreModule.h"
175 vtkGetMacro(InValue,
double);
192 vtkGetMacro(OutValue,
double);
199 vtkGetMacro(UpperThreshold,
double);
200 vtkGetMacro(LowerThreshold,
double);
207 vtkSetMacro(OutputScalarType,
int);
208 vtkGetMacro(OutputScalarType,
int);
239 int outExt[6],
int id)
override;
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void ThresholdByUpper(double thresh)
The values greater than or equal to the value match.
void SetOutValue(double val)
Replace the in range pixels with this value.
static vtkImageThreshold * New()
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToInt()
Set the desired output scalar type to cast to.
Generic filter that has one input.
void SetInValue(double val)
Replace the in range pixels with this value.
void SetOutputScalarTypeToSignedChar()
Set the desired output scalar type to cast to.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToUnsignedInt()
Set the desired output scalar type to cast to.
topologically and geometrically regular array of data
a simple class to control print indentation
#define VTK_UNSIGNED_CHAR
void ThresholdBetween(double lower, double upper)
The values in a range (inclusive) match.
void SetOutputScalarTypeToDouble()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToLong()
Set the desired output scalar type to cast to.
#define VTK_UNSIGNED_LONG
~vtkImageThreshold() override=default
void SetOutputScalarTypeToFloat()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToUnsignedShort()
Set the desired output scalar type to cast to.
void ThresholdByLower(double thresh)
The values less than or equal to the value match.
void SetOutputScalarTypeToShort()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToChar()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToUnsignedLong()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToUnsignedChar()
Set the desired output scalar type to cast to.