vtk-python and serialization

David Gobbi dgobbi at irus.rri.on.ca
Fri May 5 12:00:45 EDT 2000


On Fri, 5 May 2000, Vetle Roeim wrote:

>  David Gobbi wrote:
> 
> > Yes, I agree, this is silly, especially if you try to print a list of
> > several VTK objects.
> >
> > The solution would be to change the python wrappers so that
> > you can use camera.Print() instead.  Then, repr(camera) 
> > could be changed so that it returned '<vtkCamera at 2ff3f8>'
> > which is much more consistent with the Python way of doing things.
> > I might shy away from printing 'instance' because vtk objects
> > are not instances of python classes.
> 
> will this change be made?

Next time I feel the urge to plow my way though the wrapper code.
Probably not any time too soon.

 - David

--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list