[vtkusers] Creating a slice of an ImageData

Amy Squillacote ahs at cfdrc.com
Thu May 22 09:19:37 EDT 2008


Hi Thomas,

Try using vtkCutter 
(http://www.vtk.org/doc/nightly/html/classvtkCutter.html) with a 
vtkPlane (a subclass of vtkImplicitFunction).

- Amy

Jefferson Thomas wrote:
> Hi,
> How to create a slice from a 3D ImageData ? Ive been doing it with
> vtkImageDataGeometryFilter with SetExtent but in this way it is only
> possible to make a slice parallel to xy, xz or yz plane. I cant figure
> out a way to get a diagonal slice.
> Is there any smart way to create a slice for any arbitrary surface ?
> Thank you for any help,
> Thomas
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>   

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtkusers mailing list