NAME
vtkThresholdTextureCoords - compute 1D, 2D, or 3D texture coordinates based on scalar threshold
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkThresholdTextureCoords.h"
class VTK_EXPORT vtkThresholdTextureCoords : public vtkDataSetToDataSetFilter
vtkThresholdTextureCoords();
static vtkThresholdTextureCoords *New() {return new vtkThresholdTextureCoords;};
const char *GetClassName() {return "vtkThresholdTextureCoords";};
void PrintSelf(ostream& os, vtkIndent indent);
void ThresholdByLower(float lower);
void ThresholdByUpper(float upper);
void ThresholdBetween(float lower, float upper);
float GetUpperThreshold();
float GetLowerThreshold();
void SetTextureDimension(int);
int GetTextureDimension();
void SetInTextureCoord(float, float, float);
void SetInTextureCoord(float *);
float *GetInTextureCoord();
void GetInTextureCoord(float data[3]);
void SetOutTextureCoord(float, float, float);
void SetOutTextureCoord(float *);
float *GetOutTextureCoord();
void GetOutTextureCoord(float data[3]);
DESCRIPTION
vtkThresholdTextureCoords is a filter that generates texture coordinates for any input dataset type given a threshold criterion. The criterion can take three forms: 1) greater than a particular value (ThresholdByUpper()); 2) less than a particular value (ThresholdByLower(); or 3) between two values (ThresholdBetween(). If the threshold criterion is satisfied, the "in" texture coordinate will be set (this can be specified by the user). If the threshold criterion is not satisfied the "out" is set.
void SetInTextureCoord(float, float, float)
void SetOutTextureCoord(float, float, float)
void ThresholdByLower(float lower)
void ThresholdByUpper(float upper)
void ThresholdBetween(float lower, float upper)
CAVEATS
There is a texture map - texThres.vtk - that can be used in conjunction with this filter. This map defines a "transparent" region for texture coordinates 0<=r<0.5, and an
opaque full intensity map for texture coordinates 0.5SEE ALSO
vtkThreshold vtkThresholdPoints vtkTextureMapToPlane vtkTextureMapToSphere vtkTextureMapToCylinder vtkTextureMapToBoxSUMMARY
void SetTextureDimension(int)
Set the desired dimension of the texture map.
void SetInTextureCoord(float *)
Set the texture coordinate value for point satisfying threshold criterion.
void SetOutTextureCoord(float *)
Set the texture coordinate value for point NOT satisfying threshold criterion.
Criterion is cells whose scalars are less than lower threshold.
Criterion is cells whose scalars are less than upper threshold.
Criterion is cells whose scalars are between lower and upper thresholds.