NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [visad] getImage() on DisplayImplJ3D

Hi Dominik,

I'm calling Display.getImage() on a 3D-Display and I finally got to return a
> proper BufferedImage. But no matter how I rotate the display, the
> BufferedImage shows the plot from a standard view parallel to the z-achsis.
> Is there a way to get a BufferedImage of exactly the view I'm seeing in
> Display.getComponent()?
>

Indeed, the view should be exactly the same as the current view.

The Test51 example in the visad/examples folder uses the getImage() method
to capture images from a 3D display. When the display is rotated, the image
updates. Does this example behave properly on your machine?

-Curtis

On Mon, Jan 25, 2010 at 4:10 PM, Dominik Peller <
dominik.peller@xxxxxxxxxxxxxx> wrote:

> Hi all,
>
> I'm calling Display.getImage() on a 3D-Display and I finally got to return
> a proper BufferedImage. But no matter how I rotate the display, the
> BufferedImage shows the plot from a standard view parallel to the z-achsis.
> Is there a way to get a BufferedImage of exactly the view I'm seeing in
> Display.getComponent()?
>
> Thanks a lot
>
> _______________________________________________
> visad mailing list
> visad@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: