[vtkusers] texture mapping
Bill Lorensen
bill.lorensen at gmail.com
Wed Nov 20 08:34:36 EST 2013
What image do you want to map to the brain?
On Wed, Nov 20, 2013 at 7:43 AM, Susanne Schmalkalt
<Susanne.Schmalkalt at gmx.de> wrote:
> Hello,
>
> I am working on a project and would like to map an image to the surface of a
> brain. The brain is saved as a vtkMRMLLabelMetaListNode, which is a
> vtkMRMLNode, a labelmap in Slicer4. I assume, I can extract the surface of
> the labelmap with vtkGeometryFilter. Now, to apply the texture to the
> surface I was hoping to find something like vtkTextureMaptoSurface, but all
> I found was vtkTextureMaptoPlane, -Sphere, etc.
> Does someone know a nice example that does something similar? I found many
> users asking similar questions also in vtkusers mailing list but the answers
> weren't visible or simply not there.
>
> The second question (and perhaps also important information for the first
> one): To get the image I am using vtkpolydata to form a grid, assign my
> measurement values to the mesh and visualize it using a colormap. I couldn't
> find any way to turn this resulting image into a vtkImage, but I assume that
> I would need this inorder to use the texturemapping, right?
>
> Thank you a lot for any help or hints!
> Susi
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list