[vtkusers] Cut plane through a 3D volume

Fabrice Vincent fabrice.vincent at creatis.insa-lyon.fr
Sat Apr 21 06:56:21 EDT 2001


See example textureReslice.tcl .
It should convince you to use vtkImageReslice which is the perfect class
to do what you want.

Fabrice

John Wilson wrote:

> Looking for some advice on the best way to display a cut plane through a 3D
> volume.  From examining "The Visualization Toolkit User's Guide" and "The
> Visualization Toolkit" books, I notice there are a number of different ways
> this can be done (at least from my novice level of vtk understanding, these
> all appear to be able to do this):
>
> 1. Use vtkImageReslice
> 2. Use 2 clipping planes to extract the slice of interest
> 3. Use vtkCutter
> 4. Use probing
> 5. Use vtkStructuredPointsGeometryFilter
>
> Initially, I want to do this on 2 different sets of image data (I'll read in
> a series of TIFF files to create the volume; one set is grayscale MR data,
> another set is colored image slices).  Later, I'll be doing this on
> segmented data.
>
> I see there is a nice example of using vtkStructuredPointsGeometryFilter to
> do what I'm after (at least for the image data) in chapter 13 of "The
> Visualization Toolkit".  I have looked in the CD that comes with the book to
> try to find this code, but can't locate it - does anyone know the file
> names/locations?  Also, is there a Tcl version of this example (I'll be
> developing in Tcl).
>
> Many thanks for the help -
>
> John Wilson
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

--
Fabrice VINCENT

CREATIS (CNRS UMR 5515), INSA 502, 69621 Villeurbanne, FRANCE
email: fabrice.vincent at creatis.insa-lyon.fr
 Tel. : 06 22 31 04 93
 Fax : +33 (0)4 72 43 85 26






More information about the vtkusers mailing list