#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.
Definition at line 64 of file vtkTCoords.h.
|
|
|
Definition at line 132 of file vtkTCoords.h. |
|
Definition at line 133 of file vtkTCoords.h. |
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkFloatTCoords. Referenced by MakeObject().
|
|
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 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. |
|
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. |
|
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. |
|
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. |
|
Set the data for this object. The tuple dimension must be consistent with the object. Reimplemented from vtkAttributeData. Reimplemented in vtkFloatTCoords. Referenced by vtkFloatTCoords::SetData().
|
|
Create a copy of this object. Reimplemented from vtkAttributeData. Definition at line 138 of file vtkTCoords.h. |
|
Return number of texture coordinates in array. Definition at line 82 of file vtkTCoords.h. |
|
Return a pointer to float texture coordinates tc[3] for a specific id. Definition at line 86 of file vtkTCoords.h. |
|
Copy texture coordinate components into user provided array tc[3] for specified id. Definition at line 90 of file vtkTCoords.h. |
|
Specify the number of texture coordinates for this object to hold. Make sure that you set the number of components in texture first. Definition at line 94 of file vtkTCoords.h. |
|
Insert TCoord into object. No range checking performed (fast!). Make sure you use SetNumberOfTCoords() to allocate memory prior to using SetTCoord(). Definition at line 99 of file vtkTCoords.h. |
|
Definition at line 149 of file vtkTCoords.h. |
|
Insert TCoord into object. Range checking performed and memory allocated as necessary. Definition at line 104 of file vtkTCoords.h. |
|
Insert TCoord into position indicated. Definition at line 158 of file vtkTCoords.h. |
|
Insert TCoord at end of array and return its location (id) in the array. Definition at line 112 of file vtkTCoords.h. |
|
Definition at line 168 of file vtkTCoords.h. |
|
Set/Get the number of components in texture. Should be 1<=n<=3. Definition at line 143 of file vtkTCoords.h. |
|
Definition at line 118 of file vtkTCoords.h. Referenced by MakeObject().
|
|
Get a list of texture coordinates |
|
For legacy compatibility. Do not use. Definition at line 126 of file vtkTCoords.h. |
|
Definition at line 134 of file vtkTCoords.h. |