<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm reading in a vtk file that has no scalar 
information</FONT></DIV>
<DIV><FONT face=Arial size=2>using&nbsp;vtkPolyDataReader(). I'd like to give 
each point&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>in the vtkPolyData object that it outputs a scalar 
value</FONT></DIV>
<DIV><FONT face=Arial size=2>that I have in a standard array. I'd like to use 
these </FONT></DIV>
<DIV><FONT face=Arial size=2>scalars&nbsp;for color mapping.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I can see how to color map by creating an 
object</FONT></DIV>
<DIV><FONT face=Arial size=2>manually such in example: <FONT 
face="Times New Roman" 
size=3>Examples/DataManipulation/Cxx/Cube.cxx,</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>but I'm a little stuck when it comes to reading 
in</FONT></DIV>
<DIV><FONT face=Arial size=2>from a vtk file.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can anyone point me in the right direction 
please?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Richard.</FONT>&nbsp;</DIV></BODY></HTML>