Documentation for vtkTriangularTexture

vtkTriangularTexture - generate 2D triangular texture map

Super Class: vtkStructuredPointsSource

Description:

vtkTriangularTexture is a filter that generates a 2D texture map based on the paper "Opacity-modulating Triangular Textures for Irregular Surfaces," by Penny Rheingans, IEEE Visualization '96, pp. 219-225. The textures assume texture coordinates of (0,0), (1.0) and (.5, sqrt(3)/2). The sequence of texture values is the same along each edge of the triangular texture map. So, the assignment order of texture coordinates is arbitrary.

 

See Also:

vtkTriangularTCoords

 

Methods:

void vtkTriangularTexture ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkTriangularTexture *New ()
void SetScaleFactor (float )
float GetScaleFactor ()
void SetXSize (int )
int GetXSize ()
void SetYSize (int )
int GetYSize ()
void SetTexturePattern (int )
int GetTexturePattern ()
void Execute ()

 

Detailed Method Descriptions:

Instantiate object with XSize and YSize = 64; the texture pattern =1 (opaque at centroid); and the scale factor set to 1.0.

static vtkTriangularTexture *New ()

Set a Scale Factor.

void SetScaleFactor (float )
float GetScaleFactor ()

Set the X texture map dimension. Default is 64.

void SetXSize (int )
int GetXSize ()

Set the Y texture map dimension. Default is 64.

void SetYSize (int )
int GetYSize ()

Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices

void SetTexturePattern (int )
int GetTexturePattern ()