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:
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 () |