<!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.6000.16441" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Galina,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thank you for your mail.&nbsp; But my question is 
*how* do I assign colors to my vertices?&nbsp; I have a contour derived from a 
voxel set, i.e. purely geometrical data, and a separate voxel set providing 
temperatures.&nbsp; I don't know how to assign the temperature to the 
vertices.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>- Christian</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=gatanasova@gmail.com href="mailto:gatanasova@gmail.com">Galina 
  Atanasova</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=zemlinc@upstate.edu 
  href="mailto:zemlinc@upstate.edu">Christian Zemlin</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, June 03, 2007 8:31 AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [vtkusers] Assigning colors 
  in vtkPolyDataMapper</DIV>
  <DIV><BR></DIV>
  <DIV>Try using yellow-green-blue gamma and see how it&nbsp; looks.</DIV>
  <DIV>G<BR><BR>&nbsp;</DIV>
  <DIV><SPAN class=gmail_quote>On 6/3/07, <B class=gmail_sendername>Christian 
  Zemlin</B> &lt;<A 
  href="mailto:zemlinc@upstate.edu">zemlinc@upstate.edu</A>&gt; wrote:</SPAN> 
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV bgcolor="#ffffff">
    <DIV><FONT face=Arial size=2>Dear vtk-experts,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>I have derived contours from an anatomical 
    voxel set (similar to the examples Medical1,2,3 that come with 
    vtk).</FONT></DIV>
    <DIV><FONT face=Arial size=2>Now I would like to color this surface 
    according to some spatially varying function, e.g. local body temperature 
    that I have given as a second voxel array.</FONT></DIV>
    <DIV><FONT face=Arial size=2>I suppose I have to tell the vtkPolyMapper to 
    take the colors from my array, but how?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>- Christian</FONT></DIV>
    <P></P></DIV><BR>_______________________________________________<BR>This is 
    the private VTK discussion list.<BR>Please keep messages on-topic. Check the 
    FAQ at: <A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://www.vtk.org/Wiki/VTK_FAQ" 
    target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A><BR>Follow this link to 
    subscribe/unsubscribe:<BR><A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://www.vtk.org/mailman/listinfo/vtkusers" 
    target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers 
  </A><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>