Cross-section images
Ron Inbar
rinbar at netvision.net.il
Mon Aug 30 16:00:53 EDT 1999
Hi David!
Just after mailing the original message, I came across your vtkImageReslice
in the man pages. I saw that it can do what I need, but I had trouble
figuring out exactly how it works. Namely, I didn't understand how it
determines its OutputExtent. I connected it to a 512x512x35 volume and got
an output extent of (0 430 0 430 0 270) Could you please explain? I'd be
most grateful.
Regards,
Ron
----- Original Message -----
From: David Gobbi <dgobbi at irus.rri.on.ca>
To: Ron Inbar <rinbar at netvision.net.il>
Cc: VTK Mailing List <vtkusers at gsao.med.ge.com>
Sent: Monday, August 30, 1999 20:14
Subject: Re: Cross-section images
> Hi Ron,
>
> The vtkImageReslice class in the contrib directory does what you want.
> There is a new example in the nightlies which should provide a
> good starting point: vtk/contrib/examplesTcl/TextureReslice.tcl (thanks
> to Kenneth Wang for converting it from python to tcl, and Bill Lorenson
> for quality control).
>
> The example extracts an oblique slice from a volume and texture maps
> it back into the scene; a vtkTransform defines which slice to extract.
> The original TestReslice.tcl example is still kicking around, too.
>
> - David
>
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list