43 #ifndef vtkThresholdTextureCoords_h
44 #define vtkThresholdTextureCoords_h
57 void ThresholdByLower(
double lower);
60 void ThresholdByUpper(
double upper);
64 void ThresholdBetween(
double lower,
double upper);
68 vtkGetMacro(UpperThreshold,
double);
69 vtkGetMacro(LowerThreshold,
double);
74 vtkSetClampMacro(TextureDimension,
int,1,3);
75 vtkGetMacro(TextureDimension,
int);
81 vtkSetVector3Macro(InTextureCoord,
double);
82 vtkGetVectorMacro(InTextureCoord,
double,3);
88 vtkSetVector3Macro(OutTextureCoord,
double);
89 vtkGetVectorMacro(OutTextureCoord,
double,3);
104 double InTextureCoord[3];
105 double OutTextureCoord[3];
111 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
112 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
113 int Between(
double s) {
return ( s >= this->LowerThreshold ?
114 ( s <= this->UpperThreshold ? 1 : 0 ) : 0 );};
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKFILTERSTEXTURE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
compute 1D, 2D, or 3D texture coordinates based on scalar threshold
static vtkDataSetAlgorithm * New()
~vtkThresholdTextureCoords()