37 #ifndef vtkThreshold_h 
   38 #define vtkThreshold_h 
   40 #include "vtkFiltersCoreModule.h"  
   43 #define VTK_ATTRIBUTE_MODE_DEFAULT 0 
   44 #define VTK_ATTRIBUTE_MODE_USE_POINT_DATA 1 
   45 #define VTK_ATTRIBUTE_MODE_USE_CELL_DATA 2 
   48 #define VTK_COMPONENT_MODE_USE_SELECTED 0 
   49 #define VTK_COMPONENT_MODE_USE_ALL 1 
   50 #define VTK_COMPONENT_MODE_USE_ANY 2 
   65   void ThresholdByLower(
double lower);
 
   70   void ThresholdByUpper(
double upper);
 
   76   void ThresholdBetween(
double lower, 
double upper);
 
   82   vtkGetMacro(UpperThreshold, 
double);
 
   83   vtkGetMacro(LowerThreshold, 
double);
 
   94   vtkSetMacro(AttributeMode, 
int);
 
   95   vtkGetMacro(AttributeMode, 
int);
 
  102   const char* GetAttributeModeAsString();
 
  115   vtkGetMacro(ComponentMode, 
int);
 
  119   const char* GetComponentModeAsString();
 
  127   vtkSetClampMacro(SelectedComponent, 
int, 0, 
VTK_INT_MAX);
 
  128   vtkGetMacro(SelectedComponent, 
int);
 
  154   vtkBooleanMacro(UseContinuousCellRange, 
vtkTypeBool);
 
  167   void SetPointsDataType(
int type);
 
  168   int GetPointsDataType();
 
  177   vtkSetMacro(Invert, 
bool);
 
  178   vtkGetMacro(Invert, 
bool);
 
  179   vtkBooleanMacro(Invert, 
bool);
 
  188   void SetOutputPointsPrecision(
int precision);
 
  189   int GetOutputPointsPrecision() 
const;
 
  207   int Lower(
double s) 
const;
 
  208   int Upper(
double s) 
const;
 
  209   int Between(
double s) 
const;