Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
vtkTriangularTexture Class Reference
generate 2D triangular texture map.
More...
#include <vtkTriangularTexture.h>
Inheritance diagram for vtkTriangularTexture:
[legend]Collaboration diagram for vtkTriangularTexture:
[legend]List of all members.
Detailed Description
generate 2D triangular texture map.
-
Date:
-
2000/12/10 20:08:56
-
Revision:
-
1.18
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
-
Examples:
-
vtkTriangularTexture (examples)
Definition at line 65 of file vtkTriangularTexture.h.
Constructor & Destructor Documentation
vtkTriangularTexture::vtkTriangularTexture |
( |
|
) |
[protected] |
|
vtkTriangularTexture::~vtkTriangularTexture |
( |
|
) |
[inline, protected] |
|
vtkTriangularTexture::vtkTriangularTexture |
( |
const vtkTriangularTexture & |
|
) |
[inline, protected] |
|
Member Function Documentation
virtual const char* vtkTriangularTexture::GetClassName |
( |
|
) |
[virtual] |
|
int vtkTriangularTexture::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 vtkStructuredPointsSource. |
virtual int vtkTriangularTexture::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 vtkStructuredPointsSource. |
vtkTriangularTexture* vtkTriangularTexture::SafeDownCast |
( |
vtkObject * |
o |
) |
[static] |
|
void vtkTriangularTexture::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. |
vtkTriangularTexture* vtkTriangularTexture::New |
( |
|
) |
[static] |
|
|
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. |
virtual void vtkTriangularTexture::SetScaleFactor |
( |
float |
|
) |
[virtual] |
|
virtual float vtkTriangularTexture::GetScaleFactor |
( |
|
) |
[virtual] |
|
virtual void vtkTriangularTexture::SetXSize |
( |
int |
|
) |
[virtual] |
|
|
Set the X texture map dimension. Default is 64. |
virtual int vtkTriangularTexture::GetXSize |
( |
|
) |
[virtual] |
|
virtual void vtkTriangularTexture::SetYSize |
( |
int |
|
) |
[virtual] |
|
|
Set the Y texture map dimension. Default is 64. |
virtual int vtkTriangularTexture::GetYSize |
( |
|
) |
[virtual] |
|
virtual void vtkTriangularTexture::SetTexturePattern |
( |
int |
|
) |
[virtual] |
|
|
Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices |
virtual int vtkTriangularTexture::GetTexturePattern |
( |
|
) |
[virtual] |
|
void vtkTriangularTexture::operator= |
( |
const vtkTriangularTexture & |
|
) |
[inline, protected] |
|
void vtkTriangularTexture::Execute |
( |
|
) |
[protected, virtual] |
|
Member Data Documentation
int vtkTriangularTexture::XSize [protected]
|
|
int vtkTriangularTexture::YSize [protected]
|
|
float vtkTriangularTexture::ScaleFactor [protected]
|
|
int vtkTriangularTexture::TexturePattern [protected]
|
|
The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:01:21 2001 for VTK by
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001