41 #ifndef vtkThresholdTextureCoords_h
42 #define vtkThresholdTextureCoords_h
45 #include "vtkFiltersTextureModule.h"
57 void ThresholdByLower(
double lower);
62 void ThresholdByUpper(
double upper);
67 void ThresholdBetween(
double lower,
double upper);
73 vtkGetMacro(UpperThreshold,
double);
74 vtkGetMacro(LowerThreshold,
double);
81 vtkSetClampMacro(TextureDimension,
int, 1, 3);
82 vtkGetMacro(TextureDimension,
int);
89 vtkSetVector3Macro(InTextureCoord,
double);
90 vtkGetVectorMacro(InTextureCoord,
double, 3);
98 vtkSetVector3Macro(OutTextureCoord,
double);
99 vtkGetVectorMacro(OutTextureCoord,
double, 3);
114 double InTextureCoord[3];
115 double OutTextureCoord[3];
119 int Lower(
double s) {
return (s <= this->LowerThreshold ? 1 : 0); }
120 int Upper(
double s) {
return (s >= this->UpperThreshold ? 1 : 0); }
123 return (s >= this->LowerThreshold ? (s <= this->UpperThreshold ? 1 : 0) : 0);
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()