#include <vtkTriangularTexture.h>
Inheritance diagram for vtkTriangularTexture:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetScaleFactor (float) |
virtual float | GetScaleFactor () |
virtual void | SetXSize (int) |
virtual int | GetXSize () |
virtual void | SetYSize (int) |
virtual int | GetYSize () |
virtual void | SetTexturePattern (int) |
virtual int | GetTexturePattern () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkTriangularTexture * | SafeDownCast (vtkObject *o) |
vtkTriangularTexture * | New () |
Protected Methods | |
vtkTriangularTexture () | |
~vtkTriangularTexture () | |
vtkTriangularTexture (const vtkTriangularTexture &) | |
void | operator= (const vtkTriangularTexture &) |
void | Execute () |
Protected Attributes | |
int | XSize |
int | YSize |
float | ScaleFactor |
int | TexturePattern |
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.
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsSource. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsSource. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsSource. |
|
Instantiate object with XSize and YSize = 64; the texture pattern =1 (opaque at centroid); and the scale factor set to 1.0. Reimplemented from vtkStructuredPointsSource. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsSource. |
|
Set a Scale Factor. |
|
Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices |
|
Set the X texture map dimension. Default is 64. |
|
Set the Y texture map dimension. Default is 64. |