Cross-section images

David Gobbi dgobbi at
Mon Aug 30 13:14:43 EDT 1999

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
On Mon, 30 Aug 1999, Ron Inbar wrote:

> Hello everybody!
> I have some volumetric data (3D structured points) and I want to obtain a cross section to display in an image window.  I can't figure out how to set up my pipeline.  Please help.
> As a first shot at the problem, I could do with a cross section which is parallel to the x-y plane.  Later I would also like to obtain more general sections, i.e. ones which are not necessarily parallel to any of the axis planes.
> Your help will be appreciated.
> Thanks in advance,
> Ron

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list