29 #ifndef vtkThresholdTextureCoords_h
30 #define vtkThresholdTextureCoords_h
33 #include "vtkFiltersTextureModule.h"
35 VTK_ABI_NAMESPACE_BEGIN
46 void ThresholdByLower(
double lower);
51 void ThresholdByUpper(
double upper);
56 void ThresholdBetween(
double lower,
double upper);
62 vtkGetMacro(UpperThreshold,
double);
63 vtkGetMacro(LowerThreshold,
double);
70 vtkSetClampMacro(TextureDimension,
int, 1, 3);
71 vtkGetMacro(TextureDimension,
int);
78 vtkSetVector3Macro(InTextureCoord,
double);
79 vtkGetVectorMacro(InTextureCoord,
double, 3);
87 vtkSetVector3Macro(OutTextureCoord,
double);
88 vtkGetVectorMacro(OutTextureCoord,
double, 3);
103 double InTextureCoord[3];
104 double OutTextureCoord[3];
108 int Lower(
double s) {
return (s <= this->LowerThreshold ? 1 : 0); }
109 int Upper(
double s) {
return (s >= this->UpperThreshold ? 1 : 0); }
112 return (s >= this->LowerThreshold ? (s <= this->UpperThreshold ? 1 : 0) : 0);
120 VTK_ABI_NAMESPACE_END
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()