27 #ifndef vtkImageThreshold_h 
   28 #define vtkImageThreshold_h 
   31 #include "vtkImagingCoreModule.h"  
   44   void ThresholdByUpper(
double thresh);
 
   49   void ThresholdByLower(
double thresh);
 
   54   void ThresholdBetween(
double lower, 
double upper);
 
   61   vtkGetMacro(ReplaceIn, 
int);
 
   69   void SetInValue(
double val);
 
   70   vtkGetMacro(InValue, 
double);
 
   78   vtkGetMacro(ReplaceOut, 
int);
 
   86   void SetOutValue(
double val);
 
   87   vtkGetMacro(OutValue, 
double);
 
   94   vtkGetMacro(UpperThreshold, 
double);
 
   95   vtkGetMacro(LowerThreshold, 
double);
 
  103   vtkGetMacro(OutputScalarType, 
int);
 
  109     {this->SetOutputScalarType(
VTK_LONG);}
 
  113     {this->SetOutputScalarType(
VTK_INT);}
 
  121     {this->SetOutputScalarType(
VTK_CHAR);}
 
void SetOutputScalarTypeToChar()
Set the desired output scalar type to cast to. 
 
void SetOutputScalarTypeToUnsignedChar()
Set the desired output scalar type to cast to. 
 
#define VTK_UNSIGNED_SHORT
 
void SetOutputScalarTypeToSignedChar()
Set the desired output scalar type to cast to. 
 
void SetOutputScalarTypeToInt()
Set the desired output scalar type to cast to. 
 
Generic filter that has one input. 
 
a simple class to control print indentation 
 
topologically and geometrically regular array of data 
 
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
 
void SetOutputScalarTypeToFloat()
Set the desired output scalar type to cast to. 
 
void SetOutputScalarTypeToDouble()
Set the desired output scalar type to cast to. 
 
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. 
 
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
void SetOutputScalarTypeToUnsignedInt()
Set the desired output scalar type to cast to. 
 
void SetOutputScalarTypeToLong()
Set the desired output scalar type to cast to. 
 
#define VTK_UNSIGNED_CHAR
 
void SetOutputScalarTypeToUnsignedShort()
Set the desired output scalar type to cast to. 
 
void SetOutputScalarTypeToShort()
Set the desired output scalar type to cast to. 
 
static vtkAlgorithm * New()
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses. 
 
#define VTK_UNSIGNED_LONG
 
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
void SetOutputScalarTypeToUnsignedLong()
Set the desired output scalar type to cast to.