I have a 3D Eve display that I want to save as a pdf or png.
When I use the “Save As” button of the “File” menu of the viewer, I get a nice picture… but not
the one shown in the display: not the same background color, no text, and a different outlook
where the outer surface of my objects is not transparent.
When I execute from the command line: gEve->GetDefaultGLViewer()->SavePicture()
the picture saved to file is a completely different one, corresponding to that I obtain when I
first draw my event, w/o any of the editing I had done in the meantime.
Is there some button of action, I need to press or execute to get an exact replica of the picture
drawn in the browser?
Or anything I would have missed?
I have just discovered that I when I use something call Viewer1, as opposed to 3DView,
I obtain what I want, via the command line execution.
The only question I would have then is: "Where can I find the documentation explaining this behaviours of Viewer1 and 3DView, if someone has the answer?..
If you are using the standard MultiView.C, the following should also work, look at the MultiView.C code:
root [2] gMultiView->f3DView->GetGLViewer()
(TGLViewer *) 0x614ca00
Thank you very much for these detailed explanations.
I had in the mean time understood the confusion I had initially made among my various viewers. But
indeed gMultiView->f3DView->GetGLViewer() is most convenient. Thank you!