43 #ifndef __vtkThresholdTextureCoords_h
44 #define __vtkThresholdTextureCoords_h
56 void ThresholdByLower(
double lower);
59 void ThresholdByUpper(
double upper);
63 void ThresholdBetween(
double lower,
double upper);
67 vtkGetMacro(UpperThreshold,
double);
68 vtkGetMacro(LowerThreshold,
double);
73 vtkSetClampMacro(TextureDimension,
int,1,3);
74 vtkGetMacro(TextureDimension,
int);
80 vtkSetVector3Macro(InTextureCoord,
double);
81 vtkGetVectorMacro(InTextureCoord,
double,3);
87 vtkSetVector3Macro(OutTextureCoord,
double);
88 vtkGetVectorMacro(OutTextureCoord,
double,3);
103 double InTextureCoord[3];
104 double OutTextureCoord[3];
110 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
111 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
112 int Between(
double s) {
return ( s >= this->LowerThreshold ?
113 ( s <= this->UpperThreshold ? 1 : 0 ) : 0 );};