[vtkusers] colormap texture
Amy Henderson
amy.henderson at kitware.com
Wed Apr 21 14:24:25 EDT 2004
Hi Cristian,
Create an instance of vtkTexture, and set its input to be your
vtkStructuredPoints data set. The data set you're applying a texture map to
must have texture coordinates defined. If that is the case, then calling
SetTexture on the actor of the data set you want to apply the texture to
should do what you want.
The online documentation for vtkTexture can be found at the following URL.
http://www.vtk.org/doc/nightly/html/classvtkTexture.html
- Amy
At 02:17 PM 4/21/2004, Cristian Luciano wrote:
>Hi,
>
>How can I create a colormap texture from precomputed scalar values
>contained in a vtkStructuredPoints?
>The vtkStructuredPoints is an mxn matrix.
>
>Thanks.
>
>Cristian
>
>__________________________________________________________
>
>Cristian J. Luciano
>Research Computer Scientist
>
>Electronic Visualization Laboratory
>Industrial Virtual Reality Institute
>
>University of Illinois at Chicago
>842 W. Taylor Street, 2039 ERF
>Chicago, IL, 60607
>ph: (312) 996-0579
>fax: (312) 413-0447
><<http://www.evl.uic.edu>http://www.evl.uic.edu>
>__________________________________________________________
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040421/0eab48f5/attachment.htm>
More information about the vtkusers
mailing list