jpl.mipl.jade.jadis.agile2d
Class AgileOffscreen

java.lang.Object
  extended by jpl.mipl.jade.jadis.agile2d.AgileOffscreen

public class AgileOffscreen
extends Object

Support for offscreen hardware accelerated OpenGL rendering using Agile2D.

Version:
$Revision: 1.3 $
Author:
Jean-Daniel Fekete

Field Summary
protected  Component comp
           
protected  int height
           
protected  AgileGraphics2D jgraphics
           
protected  javax.media.opengl.GLAutoDrawable offscreenDrawable
           
protected  BufferedImage offscreenImage
           
protected  javax.media.opengl.GLAutoDrawable parentDrawable
           
protected  int width
           
 
Constructor Summary
AgileOffscreen(AgileGraphics2D parentGraphics, int width, int height)
           
AgileOffscreen(javax.media.opengl.GLAutoDrawable parentDrawable, int width, int height)
           
 
Method Summary
 BufferedImage render(Component comp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentDrawable

protected javax.media.opengl.GLAutoDrawable parentDrawable

offscreenDrawable

protected javax.media.opengl.GLAutoDrawable offscreenDrawable

offscreenImage

protected BufferedImage offscreenImage

jgraphics

protected AgileGraphics2D jgraphics

comp

protected Component comp

width

protected int width

height

protected int height
Constructor Detail

AgileOffscreen

public AgileOffscreen(javax.media.opengl.GLAutoDrawable parentDrawable,
                      int width,
                      int height)

AgileOffscreen

public AgileOffscreen(AgileGraphics2D parentGraphics,
                      int width,
                      int height)
Method Detail

render

public BufferedImage render(Component comp)