[vtkusers] Re: vtkXYPlot

Jose Luis Pina jlpina at ivo.cps.unizar.es
Tue Feb 17 11:01:42 EST 2004


Hello:
Try this (in tcl)

    vtkRenderWindow renWin
       renWin AddRenderer ren1

    vtkWindowToImageFilter renimagen
       renimagen SetInput renWin

    vtkJPEGWriter jpg1
      jpg1 SetInput [renimagen GetOutput]
      jpg1 SetFileName filesalida.jpg
      jpg1 Write

-- 
Jose Luis Pina
jlpina at ivo.cps.unizar.es



More information about the vtkusers mailing list