Assuming your mesh is dense enough, you can probe the imagedata with the polydata. <br><br>See vtkProbeFilter. <br><br>This is going to create point data / cell data attributes on your 2D polydata containing the interpolated scalars from the image data. You would just color this using a lookup table.<br>
<br><div class="gmail_quote">2009/8/20 Lars Matthäus <span dir="ltr"><<a href="mailto:lars.matthaeus@web.de">lars.matthaeus@web.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Is there a way to create a texture for a 2d PolyData from the<br>
intersection with an 3d ImageData? In detail, I'd like to implement a<br>
curvilinear brain surface display in vtk (see e.g.<br>
<a href="http://www.nibib.nih.gov/gallery/images/nibib_092605_082252.jpg" target="_blank">http://www.nibib.nih.gov/gallery/images/nibib_092605_082252.jpg</a> ).<br>
Therefore, I need to create the texture of each triangle of the PolyData<br>
as the cut through underlying ImageData (voxels) of the brain, coming<br>
e.g. from an MRI. Just like the vtkImagePlaneWidget, but for a curved<br>
surface of a polydata.<br>
<br>
Is such a feature available in VTK?<br>
<br>
Thanks, Lars<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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Karthik Krishnan<br>R&D Engineer,<br>Kitware Inc.<br>Ph: 518 881 4919<br>Fax: 518 371 4573<br>