[vtkusers] Re: simple slice viewer application

Juerg Tschirren juerg-tschirren at uiowa.edu
Tue Jul 10 08:53:16 EDT 2001


Dave,

Can you make the source available somewhere, e.g. on your webpage until it
is part of the VTK distribution? It looks like your program includes many
things I am currently struggeling with and it would be very helpful for me
to take a look at the source code.

thanks


Juerg



On Tue, 10 Jul 2001, Dave Reed wrote:

> > Date: Mon, 9 Jul 2001 23:26:31 -0400 (EDT)
> > From: David Gobbi <dgobbi at irus.rri.ca>
> >
> > Hi all,
> >
> > There have been a few requests for a simple slice viewer over
> > the past week, so here's one that I've been developing on-and-off.
> > It requires python and the vtkTkRenderWidget.so (or .dll).
> >
> > Documentation is scarce, but it is basically a widget with
> > a SetInput() method and SetLookupTable() method that provides
> > useful interaction with 3D images.  You can also set multiple
> > inputs (for image overlay), mix 3D actor rendering with the
> > image rendering, and do other little tricks.
> >
> > You can pick it up (the vtkSliceWidget.py) at
> > http://www.atamai.com/download.html
> > The license is similar to the VTK license.
> >
> >  - David
>
> I've tried a couple times over the last few minutes but when I click
> on the link that directs you to the actual source code at the ftp
> site, it fails (Netscape complains no route to host).
>
> When I saw those requests for a slice viewer, I also started writing
> one (since I need one). I've written a complete GUI application using
> GTK and vtk (using the GTK widget Prabhu Ramachandran wrote). It
> allows you to enter the data set, extents, bits per data, a data mask,
> and a data range (which is used to create a linear gray scale map) or
> you can enter a file that contains a color mapping.  The interface
> could be certainly be made prettier, but it's functional.
>
> A screen shot is available at:
> http://capital2.capital.edu/faculty/dreed/slice.jpg
>
> The left mouse button tells you the value under the mouse, the right
> button changes the slice and the middle button changes the color
> level.
>
> I'd be happy to get it included in VTK if anyone wants. It requires,
> Python and libglade since the interface is generated from a XML file
> output by Glade. It probably wouldn't take more than an hour to write
> the interface code by hand so that libglade wouldn't be necessary.
>
> Dave
>
>
> _______________________________________________
> 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
>





More information about the vtkusers mailing list