com.metsci.glimpse.support.screenshot
Class ScreenshotUtil

java.lang.Object
  extended by com.metsci.glimpse.support.screenshot.ScreenshotUtil

public class ScreenshotUtil
extends java.lang.Object


Constructor Summary
ScreenshotUtil()
           
ScreenshotUtil(javax.media.opengl.GLContext _context)
           
 
Method Summary
 void captureScreenshot(GlimpseLayout layout, java.io.File outputFile, int width, int height)
           
 FrameBufferGlimpseCanvas getGlimpseCanvas()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenshotUtil

public ScreenshotUtil()

ScreenshotUtil

public ScreenshotUtil(javax.media.opengl.GLContext _context)
Method Detail

getGlimpseCanvas

public FrameBufferGlimpseCanvas getGlimpseCanvas()

captureScreenshot

public void captureScreenshot(GlimpseLayout layout,
                              java.io.File outputFile,
                              int width,
                              int height)
                       throws javax.media.opengl.GLException,
                              java.io.IOException
Throws:
javax.media.opengl.GLException
java.io.IOException


Copyright © 2012 Metron, Inc.. All Rights Reserved.