<html><head><base href="x-msg://47/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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">http://www.vtk.org/doc/nightly/html/classvtkColorTransferFunction.html</a></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkPiecewiseFunction.html">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/">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 class="Apple-style-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; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><span class="Apple-style-span" style="font-size: medium;"><br></span></div></span>
</div>
<br><div><div>On Jan 26, 2011, at 11:17 AM, Manzke, Robert wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; ">Anyone has a link to a Qt/Class widget to modify vtk colormaps for volume rendering?<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; 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.<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; ">Thanks a lot,<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; ">Robert<o:p></o:p></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>_______________________________________________<br>Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com" style="color: blue; text-decoration: underline; ">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<a href="http://www.kitware.com/opensource/opensource.html" style="color: blue; text-decoration: underline; ">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" style="color: blue; text-decoration: underline; ">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br><br></div></blockquote></div><br></div></body></html>