VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkTriangularTCoords Class Reference

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

#include <vtkTriangularTCoords.h>

Inherits vtkPolyDataAlgorithm.

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

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

Static Public Member Functions

static vtkTriangularTCoordsNew ()
 
static int IsTypeOf (const char *type)
 
static vtkTriangularTCoordsSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkTriangularTCoords ()
 
 ~vtkTriangularTCoords ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Detailed Description

2D texture coordinates based for triangles.

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

Definition at line 40 of file vtkTriangularTCoords.h.

Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkTriangularTCoords::Superclass

Definition at line 44 of file vtkTriangularTCoords.h.

Constructor & Destructor Documentation

vtkTriangularTCoords::vtkTriangularTCoords ( )
inlineprotected

Definition at line 48 of file vtkTriangularTCoords.h.

vtkTriangularTCoords::~vtkTriangularTCoords ( )
inlineprotected

Definition at line 49 of file vtkTriangularTCoords.h.

Member Function Documentation

static vtkTriangularTCoords* vtkTriangularTCoords::New ( )
static
static int vtkTriangularTCoords::IsTypeOf ( const char *  type)
static
virtual int vtkTriangularTCoords::IsA ( const char *  type)
virtual
static vtkTriangularTCoords* vtkTriangularTCoords::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkTriangularTCoords::NewInstanceInternal ( ) const
protectedvirtual
vtkTriangularTCoords* vtkTriangularTCoords::NewInstance ( ) const
void vtkTriangularTCoords::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
int vtkTriangularTCoords::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

The documentation for this class was generated from the following file: