[vtkusers] how to use PrintSelf or Print in java?

Steve M. Robbins steven.robbins at videotron.ca
Wed May 10 22:01:45 EDT 2006


> N. Yang wrote:
> >Dear all,
> >
> >as i understand, some vtk objects can call PrintSelf or Print method to
> >print themselves to
> >the standard output.

As Jeff Lee alluded to, Print() doesn't print -- it returns a String.
In recent VTK you can simply use the objects' toString() method, which
simply forwards to Print().

-Steve



More information about the vtkusers mailing list