Along these same lines, there is also a "captureDisplay(DisplayImpl d,
String filename)" method in visad.util.Util. This writes the display as
a JPEG into the file you specify.
And...if you're in Python, you can simply use the:
method (this can also be used to save spreadsheet cells generated from
Mathias Stümpert wrote:
Is there a simple way to capture the 3d display for later viewing?
If you are working with Windows and only want to have a snapshot of your
display press alt+print to copy the active window to the clipboard (only
pressing print copies the whole screen). Then go to a graphics program
(CorelDraw or even Paint will do it) and press strg+v and the snapshot
is beeing copied to your graphics program. Some graphic programs even
have a function like "load image from clipboard", e.g. CorelDraw.
Another way to catch an image of your display is to use the
DisplayImpl.getImage() method. See an example for this in
Hope that helps.
Tom Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center