26 #ifndef __vtkImageThreshold_h
27 #define __vtkImageThreshold_h
40 void ThresholdByUpper(
double thresh);
43 void ThresholdByLower(
double thresh);
46 void ThresholdBetween(
double lower,
double upper);
50 vtkSetMacro(ReplaceIn,
int);
51 vtkGetMacro(ReplaceIn,
int);
52 vtkBooleanMacro(ReplaceIn,
int);
57 void SetInValue(
double val);
58 vtkGetMacro(InValue,
double);
63 vtkSetMacro(ReplaceOut,
int);
64 vtkGetMacro(ReplaceOut,
int);
65 vtkBooleanMacro(ReplaceOut,
int);
70 void SetOutValue(
double val);
71 vtkGetMacro(OutValue,
double);
76 vtkGetMacro(UpperThreshold,
double);
77 vtkGetMacro(LowerThreshold,
double);
82 vtkSetMacro(OutputScalarType,
int);
83 vtkGetMacro(OutputScalarType,
int);
89 {this->SetOutputScalarType(
VTK_LONG);}
93 {this->SetOutputScalarType(
VTK_INT);}
101 {this->SetOutputScalarType(
VTK_CHAR);}
112 double UpperThreshold;