[vtkusers] Show slice from vtkPolyData in slice of vtkImageData

Bill Lorensen bill.lorensen at gmail.com
Mon Mar 5 14:04:45 EST 2012


vtkCutter should do it. Just create a mapper, actor and render it.

On Mon, Mar 5, 2012 at 2:02 PM, johannes.simon <johannes.simon at gmail.com> wrote:
> Ok, here's my problem:
>
> I have a vtkImageData volume containing a number of slices. These are CT
> scans. Only one slice at a time from the vtkImageData is rendered using a
> vtkImagePlaneWidget.
>
> The segmentation of one of the organs is stored in a vtkPolyData mesh.
>
> Question: What is the most straight-forward way to extract a slice from this
> mesh and render an outline over the corresponding slice in the widget?
>
> Should I cut a slice from the mesh using a vtkCutter? How would I render it
> to show the outline on the vtkImageData slice?
>
> Thanks!
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Show-slice-from-vtkPolyData-in-slice-of-vtkImageData-tp5538519p5538519.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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