Documentation for vtkThresholdTextureCoords

vtkThresholdTextureCoords - compute 1D, 2D, or 3D texture coordinates based on scalar threshold

Super Class: vtkDataSetToDataSetFilter

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.

 

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.5

 

See Also:

vtkThreshold vtkThresholdPoints vtkTextureMapToPlane vtkTextureMapToSphere vtkTextureMapToCylinder vtkTextureMapToBox

 

Methods:

void vtkThresholdTextureCoords ()
static vtkThresholdTextureCoords *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void ThresholdByLower (float )
void ThresholdByUpper (float )
void ThresholdBetween (float ,float )
float GetUpperThreshold ()
float GetLowerThreshold ()
void SetTextureDimension (int )
int GetTextureDimension ()
void SetInTextureCoord (float ,float ,float )
void SetInTextureCoord (float *)
float *GetInTextureCoord ()
void SetOutTextureCoord (float ,float ,float )
void SetOutTextureCoord (float *)
float *GetOutTextureCoord ()
void Execute ()
int Lower (float )
int Upper (float )
int Between (float )

 

Detailed Method Descriptions:

Criterion is cells whose scalars are less than lower threshold.

void ThresholdByLower (float )

Criterion is cells whose scalars are less than upper threshold.

void ThresholdByUpper (float )

Criterion is cells whose scalars are between lower and upper thresholds.

void ThresholdBetween (float ,float )

Return the upper and lower thresholds.

float GetUpperThreshold ()
float GetLowerThreshold ()

Set the desired dimension of the texture map.

void SetTextureDimension (int )
int GetTextureDimension ()

Set the texture coordinate value for point satisfying threshold criterion.

void SetInTextureCoord (float ,float ,float )
void SetInTextureCoord (float *)
float *GetInTextureCoord ()

Set the texture coordinate value for point NOT satisfying threshold criterion.

void SetOutTextureCoord (float ,float ,float )
void SetOutTextureCoord (float *)
float *GetOutTextureCoord ()