[vtkusers] Texture coordinates with VTK 4

Wilfrid Lefer Wilfrid.Lefer at univ-pau.fr
Fri Jan 25 13:13:21 EST 2002


Hi,
I am migrating from VTK 3.1 to VTK 4. On 3.1 there was the vtkTCoords
class to define texture coordinates, which has been replaced by a
subclass of vtkDataArray. My question is : how do you translate the
following instruction in VTK 4:
  tc SetTCoord i x y 0
which aimed at associating (x,y) texture coordinates for point index i
Thanks for your help.



More information about the vtkusers mailing list