18#ifndef vtkImageBinaryThreshold_h
19#define vtkImageBinaryThreshold_h
21#include "vtkImagingCoreModule.h"
24VTK_ABI_NAMESPACE_BEGIN
38 vtkSetMacro(ReplaceIn,
bool);
39 vtkGetMacro(ReplaceIn,
bool);
40 vtkBooleanMacro(ReplaceIn,
bool);
48 vtkSetMacro(InValue,
double);
49 vtkGetMacro(InValue,
double);
57 vtkSetMacro(ReplaceOut,
bool);
58 vtkGetMacro(ReplaceOut,
bool);
59 vtkBooleanMacro(ReplaceOut,
bool);
67 vtkSetMacro(OutValue,
double);
68 vtkGetMacro(OutValue,
double);
76 vtkSetMacro(UpperThreshold,
double);
77 vtkGetMacro(UpperThreshold,
double);
85 vtkSetMacro(LowerThreshold,
double);
86 vtkGetMacro(LowerThreshold,
double);
122 vtkSetMacro(OutputScalarType,
int);
123 vtkGetMacro(OutputScalarType,
int);
155 int outExt[6],
int id)
override;
164 bool ReplaceIn =
false;
165 double InValue = 0.0;
166 bool ReplaceOut =
false;
167 double OutValue = 0.0;
169 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