<div dir="ltr"><div><div><div><div>Hi,<br><br></div>When you say the stage version, I think you are referring to the kiwi-next branch (or kiwi-next-apps).  In this branch, the color map API has been improved, but moved :)  You'll now find that the base class, vesKiwiDataRepresentation has a color map "collection", or a vesKiwiColorMapCollection.<br>

<br></div>So, instead of doing:<br><br>rep->setColorMap(colorMap);<br><br>You can do:<br><br></div>rep->colorMapCollection()->setDefaultColorMap(colorMap);<br><br></div><div>But now you can also set multiple colormaps for different arays:<br>

<br></div><div>vesKiwiColorMapCollection::Ptr collection = rep->colorMapCollection();<br></div><div>collection->setColorMap("image_scalars", colorMap);<br><br></div><div>Then if you have an image with a scalar array with the name "image_scalars" then your color map will be chosen.  A single vesKiwiColorMapCollection can be shared by multiple representations.<br>

<br></div><div>You can also set named color maps.<br><br></div><div>collection->setColorMap("my color map", colorMap);<br>collection->setColorMapForArray("image_scalars", "my color map");<br>

</div><div><br></div><div>Hope this helps!<br><br></div><div>Pat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 8:11 PM, Eduardo Poyart <span dir="ltr"><<a href="mailto:poyart@gmail.com" target="_blank">poyart@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>The class vesKiwiImagePlaneDataRepresentation used to have a setColorMap method. It's not present in the stage version of ves. How should we set color maps?</div>

<div><br>
</div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Eduardo</div><div><br></div></font></span></div>
<br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br></div></div>