Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkTriangularTCoords Class Reference

2D texture coordinates based for triangles. More...

#include <vtkTriangularTCoords.h>

Inheritance diagram for vtkTriangularTCoords:

Inheritance graph
[legend]
Collaboration diagram for vtkTriangularTCoords:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Methods

vtkTriangularTCoords * New ()
int IsTypeOf (const char *type)
vtkTriangularTCoords * SafeDownCast (vtkObject *o)

Protected Methods

 vtkTriangularTCoords ()
 ~vtkTriangularTCoords ()
 vtkTriangularTCoords (const vtkTriangularTCoords &)
void operator= (const vtkTriangularTCoords &)
void Execute ()

Detailed Description

2D texture coordinates based for triangles.

Date:
2000/12/10 20:08:56
Revision:
1.17

vtkTriangularTCoords is a filter that generates texture coordinates for triangles. Texture coordinates for each triangle are: (0,0), (1,0) and (.5,sqrt(3)/2). This filter assumes that the triangle texture map is symmetric about the center of the triangle. Thus the order Of the texture coordinates is not important. The procedural texture in vtkTriangularTexture is designed with this symmetry. For more information see the paper "Opacity-modulating Triangular Textures for Irregular Surfaces," by Penny Rheingans, IEEE Visualization '96, pp. 219-225.

See also:
vtkTriangularTexture vtkThresholdPoints vtkTextureMapToPlane vtkTextureMapToSphere vtkTextureMapToCylinder vtkTextureMapToBox
Examples:
vtkTriangularTCoords (examples)

Definition at line 66 of file vtkTriangularTCoords.h.


Constructor & Destructor Documentation

vtkTriangularTCoords::vtkTriangularTCoords   [inline, protected]
 

Definition at line 74 of file vtkTriangularTCoords.h.

vtkTriangularTCoords::~vtkTriangularTCoords   [inline, protected]
 

Definition at line 75 of file vtkTriangularTCoords.h.

vtkTriangularTCoords::vtkTriangularTCoords const vtkTriangularTCoords &    [inline, protected]
 

Definition at line 76 of file vtkTriangularTCoords.h.


Member Function Documentation

vtkTriangularTCoords* vtkTriangularTCoords::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkTriangularTCoords::GetClassName   [virtual]
 

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

int vtkTriangularTCoords::IsTypeOf const char *    type [static]
 

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

virtual int vtkTriangularTCoords::IsA const char *    type [virtual]
 

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

vtkTriangularTCoords* vtkTriangularTCoords::SafeDownCast vtkObject   o [static]
 

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

void vtkTriangularTCoords::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

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.

void vtkTriangularTCoords::operator= const vtkTriangularTCoords &    [inline, protected]
 

Definition at line 77 of file vtkTriangularTCoords.h.

void vtkTriangularTCoords::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:01:21 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001