29#ifndef vtkThresholdTextureCoords_h 
   30#define vtkThresholdTextureCoords_h 
   33#include "vtkFiltersTextureModule.h"  
   35VTK_ABI_NAMESPACE_BEGIN
 
   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);
 
Superclass for algorithms that produce output of the same type as input.
 
a simple class to control print indentation
 
compute 1D, 2D, or 3D texture coordinates based on scalar threshold
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
void ThresholdBetween(double lower, double upper)
Criterion is cells whose scalars are between lower and upper thresholds.
 
static vtkThresholdTextureCoords * New()
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
 
vtkThresholdTextureCoords()
 
void ThresholdByLower(double lower)
Criterion is cells whose scalars are less than lower threshold.
 
void ThresholdByUpper(double upper)
Criterion is cells whose scalars are less than upper threshold.
 
~vtkThresholdTextureCoords() override=default