44 #ifndef vtkThresholdTextureCoords_h 45 #define vtkThresholdTextureCoords_h 47 #include "vtkFiltersTextureModule.h" 60 void ThresholdByLower(
double lower);
65 void ThresholdByUpper(
double upper);
70 void ThresholdBetween(
double lower,
double upper);
76 vtkGetMacro(UpperThreshold,
double);
77 vtkGetMacro(LowerThreshold,
double);
84 vtkSetClampMacro(TextureDimension,
int,1,3);
85 vtkGetMacro(TextureDimension,
int);
92 vtkSetVector3Macro(InTextureCoord,
double);
93 vtkGetVectorMacro(InTextureCoord,
double,3);
101 vtkSetVector3Macro(OutTextureCoord,
double);
102 vtkGetVectorMacro(OutTextureCoord,
double,3);
117 double InTextureCoord[3];
118 double OutTextureCoord[3];
122 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
123 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
124 int Between(
double s) {
return ( s >= this->LowerThreshold ?
125 ( s <= this->UpperThreshold ? 1 : 0 ) : 0 );};
~vtkThresholdTextureCoords() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
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()