<br><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 1:39 PM, Julien Finet <span dir="ltr"><<a href="mailto:julien.finet@kitware.com">julien.finet@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi Robert and Eric,<div><br></div><div>Indeed, we have done some work in that direction for Slicer.<br>We have some basic Qt widgets in <a href="http://www.commontk.org" target="_blank">CTK</a> but we are now working on using more of the VTK/Charts (see image enclosed).</div>


<div>For a gallery of what exists in CTK: <a href="http://www.commontk.org/index.php/Documentation/ctkTransferFunctionWidget" target="_blank">http://www.commontk.org/index.php/Documentation/ctkTransferFunctionWidget</a></div>

<div><br></div>
<div>For VTK Charts, the best is to look at the tests in VTK/Charts/Testing/Cxx and the associated baseline images in VTKData.</div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkScalarsToColorsItem.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkScalarsToColorsItem.html</a></div>


<div><a href="http://www.vtk.org/doc/nightly/html/classvtkControlPointsItem.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkControlPointsItem.html</a></div><div><br></div><div>Regards,</div><div>Julien.</div>

<div><div></div><div class="h5"><div><br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Eric E. Monson</b> <span dir="ltr"><<a href="mailto:emonson@cs.duke.edu" target="_blank">emonson@cs.duke.edu</a>></span><br>



Date: Wed, Jan 26, 2011 at 12:55 PM<br>Subject: Re: [vtk-developers] Anyone has a Qt/Class widget to modify vtk colormaps for volume rendering?<br>To: "Manzke, Robert" <<a href="mailto:robert.manzke@philips.com" target="_blank">robert.manzke@philips.com</a>><br>



Cc: "<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a>" <<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a>><br><br><br><div style="word-wrap:break-word">


Hey Robert,<div>
<br></div><div>Hopefully someone more knowledgeable about the current status will reply, too (Marcus, Julien...), but I know there has been some recent work (not in 5.6, but current development and next release) on editing color transfer functions with the 2D API elements in VTK/Charts. I'm sorry I can't guide you to the right examples, but vtkColorTransferFunction and vtkPiecewiseFunction are part of this effort, and I see there are both tests and examples linked from the Doxygen pages that may get you someplace:</div>



<div><br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkColorTransferFunction.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkColorTransferFunction.html</a></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkPiecewiseFunction.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkPiecewiseFunction.html</a></div>



<div><br></div><div>These were developed for the 3DSlicer application, which is also an open-source project. I've never looked at the code, but it's at least possible that it may be easier to grab something from there rather than ParaView...</div>



<div><br></div><div><a href="http://www.slicer.org/" target="_blank">http://www.slicer.org/</a></div><div><br></div><div>Hope this at least gets you started on pursuing another possibility,</div><div>-Eric</div><div><br>


<div>

<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>



------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><span style="font-size:medium"><br></span></div></span>
</div>
<br><div><div><div><div></div><div><div>On Jan 26, 2011, at 11:17 AM, Manzke, Robert wrote:</div><br></div></div></div><blockquote type="cite"><div link="blue" vlink="purple" lang="EN-US"><div><div>
<div></div><div>
<div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Anyone has a link to a Qt/Class widget to modify vtk colormaps for volume rendering?</div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">



 </div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">I have been checking out the code of Paraview, but the color map editor is pretty sophisticated.</div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">



 </div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Thanks a lot,</div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Robert</div></div>
<br><hr><font face="Arial" color="Gray" size="1">The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.<br>



</font></div></div><div>_______________________________________________<br>Powered by<span> </span><a href="http://www.kitware.com" style="color:blue;text-decoration:underline" target="_blank">www.kitware.com</a><br>
<br></div></div>Visit other Kitware open-source projects at<a href="http://www.kitware.com/opensource/opensource.html" style="color:blue;text-decoration:underline" target="_blank">http://www.kitware.com/opensource/opensource.html</a><div>


<div>
<br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtk-developers" style="color:blue;text-decoration:underline" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>



<br></div></div></div></blockquote></div><br></div></div><div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></div></div><div><div></div><div><br><br clear="all"><br>-- <br>Phone: 1-518-836-2174<br>Ext: 304<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>