<html>
<body>
Hi Cristian,<br><br>
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.<br><br>
The online documentation for vtkTexture can be found at the following
URL.<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkTexture.html" eudora="autourl">http://www.vtk.org/doc/nightly/html/classvtkTexture.html<br><br>
</a>- Amy<br><br>
At 02:17 PM 4/21/2004, Cristian Luciano wrote:<br>
<blockquote type=cite class=cite cite><font face="arial" size=2>Hi,<br>
</font> <br>
<font face="arial" size=2>How can I create a colormap texture from
precomputed scalar values contained in a vtkStructuredPoints?<br>
The vtkStructuredPoints is an mxn matrix.<br>
</font> <br>
<font face="arial" size=2>Thanks.<br>
</font> <br>
<font face="arial" size=2>Cristian<br>
</font> <br>
<font face="arial" size=2>__________________________________________________________<br>
</font> <br>
<font face="arial" size=2>Cristian J. Luciano<br>
Research Computer Scientist<br>
</font> <br>
<font face="arial" size=2>Electronic Visualization Laboratory<br>
Industrial Virtual Reality Institute<br>
<br>
University of Illinois at Chicago<br>
842 W. Taylor Street, 2039 ERF <br>
Chicago, IL, 60607<br>
ph: (312) 996-0579<br>
fax: (312) 413-0447<br>
<<a href="http://www.evl.uic.edu">http://www.evl.uic.edu</a>><br>
__________________________________________________________ <br>
<br>
</font> <br>
</blockquote></body>
</html>