#include <vtkTCoords.h>
Inheritance diagram for vtkTCoords:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetData (vtkDataArray *) |
vtkAttributeData * | MakeObject () |
int | GetNumberOfTCoords () |
float * | GetTCoord (int id) |
void | GetTCoord (int id, float tc[3]) |
void | SetNumberOfTCoords (int number) |
void | SetTCoord (int id, const float tc[3]) |
void | SetTCoord (int id, float r, float s, float t) |
void | InsertTCoord (int id, const float tc[3]) |
void | InsertTCoord (int id, float tx, float ty, float tz) |
int | InsertNextTCoord (const float tc[3]) |
int | InsertNextTCoord (float tx, float ty, float tz) |
void | SetNumberOfComponents (int num) |
int | GetNumberOfComponents () |
void | GetTCoords (vtkIdList *ptId, vtkTCoords *fv) |
void | GetTCoords (vtkIdList &ptId, vtkTCoords &fv) |
Static Public Methods | |
vtkTCoords * | New (int dataType, int dim=2) |
vtkTCoords * | New () |
int | IsTypeOf (const char *type) |
vtkTCoords * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkTCoords () | |
~vtkTCoords () | |
vtkTCoords (const vtkTCoords &) | |
void | operator= (const vtkTCoords &) |
vtkTCoords represents and manipulates 1D, 2D, or 3D texture coordinates. Texture coordinates are 1D (s), 2D (s,t), or 3D (r,s,t) parametric values that map geometry into regular 1D, 2D, or 3D arrays of color and/or transparency values. During rendering the array are mapped onto the geometry for fast image detailing.
|
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 vtkAttributeData. |
|
Return number of texture coordinates in array. |
|
Copy texture coordinate components into user provided array tc[3] for specified id. |
|
Return a pointer to float texture coordinates tc[3] for a specific id. |
|
For legacy compatibility. Do not use. |
|
Get a list of texture coordinates |
|
Insert TCoord at end of array and return its location (id) in the array. |
|
Insert TCoord into position indicated. |
|
Insert TCoord into object. Range checking performed and memory allocated as necessary. |
|
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 vtkAttributeData. |
|
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 vtkAttributeData. |
|
Create a copy of this object. Implements vtkAttributeData. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
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 vtkAttributeData. |
|
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 vtkAttributeData. |
|
Set the data for this object. The tuple dimension must be consistent with the object. Reimplemented from vtkAttributeData. |
|
Set/Get the number of components in texture. Should be 1<=n<=3. |
|
Specify the number of texture coordinates for this object to hold. Make sure that you set the number of components in texture first. |
|
Insert TCoord into object. No range checking performed (fast!). Make sure you use SetNumberOfTCoords() to allocate memory prior to using SetTCoord(). |