15#ifndef vtkImageThreshold_h 
   16#define vtkImageThreshold_h 
   18#include "vtkImagingCoreModule.h"  
   21VTK_ABI_NAMESPACE_BEGIN
 
   58  vtkGetMacro(InValue, 
double);
 
   75  vtkGetMacro(OutValue, 
double);
 
   82  vtkGetMacro(UpperThreshold, 
double);
 
   83  vtkGetMacro(LowerThreshold, 
double);
 
   90  vtkSetMacro(OutputScalarType, 
int);
 
   91  vtkGetMacro(OutputScalarType, 
int);
 
  122    int outExt[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()
Set the desired output scalar type to cast to.
 
void SetOutValue(double val)
Replace the in range pixels with this value.
 
void SetOutputScalarTypeToLong()
Set the desired output scalar type to cast to.
 
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.
 
static vtkImageThreshold * New()
 
void SetOutputScalarTypeToDouble()
Set the desired output scalar type to cast to.
 
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 SetOutputScalarTypeToUnsignedLong()
Set the desired output scalar type to cast to.
 
void SetInValue(double val)
Replace the in range pixels with this value.
 
void SetOutputScalarTypeToShort()
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 ThresholdByUpper(double thresh)
The values greater than or equal to the value match.
 
void SetOutputScalarTypeToUnsignedChar()
Set the desired output scalar type to cast to.
 
void SetOutputScalarTypeToUnsignedInt()
Set the desired output scalar type to cast to.
 
~vtkImageThreshold() override=default
 
void SetOutputScalarTypeToFloat()
Set the desired output scalar type to cast to.
 
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