38 #ifndef vtkThresholdTextureCoords_h 39 #define vtkThresholdTextureCoords_h 41 #include "vtkFiltersTextureModule.h" 54 void ThresholdByLower(
double lower);
59 void ThresholdByUpper(
double upper);
64 void ThresholdBetween(
double lower,
double upper);
70 vtkGetMacro(UpperThreshold,
double);
71 vtkGetMacro(LowerThreshold,
double);
78 vtkSetClampMacro(TextureDimension,
int,1,3);
79 vtkGetMacro(TextureDimension,
int);
86 vtkSetVector3Macro(InTextureCoord,
double);
87 vtkGetVectorMacro(InTextureCoord,
double,3);
95 vtkSetVector3Macro(OutTextureCoord,
double);
96 vtkGetVectorMacro(OutTextureCoord,
double,3);
111 double InTextureCoord[3];
112 double OutTextureCoord[3];
116 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
117 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
118 int Between(
double s) {
return ( s >= this->LowerThreshold ?
119 ( 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()