117#ifndef vtkImageBinaryThreshold_h
118#define vtkImageBinaryThreshold_h
120#include "vtkImagingCoreModule.h"
123VTK_ABI_NAMESPACE_BEGIN
137 vtkSetMacro(ReplaceIn,
bool);
138 vtkGetMacro(ReplaceIn,
bool);
139 vtkBooleanMacro(ReplaceIn,
bool);
147 vtkSetMacro(InValue,
double);
148 vtkGetMacro(InValue,
double);
156 vtkSetMacro(ReplaceOut,
bool);
157 vtkGetMacro(ReplaceOut,
bool);
158 vtkBooleanMacro(ReplaceOut,
bool);
166 vtkSetMacro(OutValue,
double);
167 vtkGetMacro(OutValue,
double);
175 vtkSetMacro(UpperThreshold,
double);
176 vtkGetMacro(UpperThreshold,
double);
184 vtkSetMacro(LowerThreshold,
double);
185 vtkGetMacro(LowerThreshold,
double);
221 vtkSetMacro(OutputScalarType,
int);
222 vtkGetMacro(OutputScalarType,
int);
254 int outExt[6],
int id)
override;
263 bool ReplaceIn =
false;
264 double InValue = 0.0;
265 bool ReplaceOut =
false;
266 double OutValue = 0.0;
268 int OutputScalarType = -1;
vtkImageBinaryThreshold()=default
virtual void SetOutputScalarType(int)
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToUnsignedChar()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToLong()
Set the desired output scalar type to cast to.
~vtkImageBinaryThreshold() override=default
void SetOutputScalarTypeToUnsignedInt()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToUnsignedShort()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToSignedChar()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToShort()
Set the desired output scalar type to cast to.
static vtkImageBinaryThreshold * New()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Set the output scalar type to the given OutputScalarType.
void SetOutputScalarTypeToUnsignedLong()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToDouble()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToFloat()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToInt()
Set the desired output scalar type to cast to.
ThresholdFunction
Describe the behavior of the threshold:
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override
This method passes input and output data, and executes the filter algorithm to fill the output from t...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToChar()
Set the desired output scalar type to cast to.
topologically and geometrically regular array of data
a simple class to control print indentation
vtkThreadedImageAlgorithm()
#define VTK_UNSIGNED_CHAR
#define VTK_UNSIGNED_SHORT
#define VTK_UNSIGNED_LONG