|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.aviatrix3d.output.graphics.BaseSurface org.j3d.renderer.aviatrix3d.swt.draw2d.BaseDraw2DSurface org.j3d.renderer.aviatrix3d.swt.draw2d.DebugDraw2DSurface
public class DebugDraw2DSurface
Implementation of the most basic drawable surface using Draw2D figure.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.draw2d.KeyListener |
---|
org.eclipse.draw2d.KeyListener.Stub |
Field Summary |
---|
Fields inherited from class org.j3d.renderer.aviatrix3d.swt.draw2d.BaseDraw2DSurface |
---|
glFigure, resizer |
Fields inherited from class org.j3d.aviatrix3d.output.graphics.BaseSurface |
---|
alphaCutoff, canCreatePBuffers, canvas, canvasContext, canvasDescriptor, canvasRenderer, errorReporter, FAILED_CONTEXT_MSG, initComplete, numRenderables, renderableList, rendererMap, sharedSurface, singleThreaded, surfaceMonitor, terminate, useTwoPassTransparent |
Fields inherited from interface org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice |
---|
ALTERNATE_FRAME_STEREO, NO_STEREO, QUAD_BUFFER_STEREO, TWO_CANVAS_STEREO |
Constructor Summary | |
---|---|
DebugDraw2DSurface(org.eclipse.swt.widgets.Display device)
Construct a surface that requires the given set of capabilities. |
|
DebugDraw2DSurface(org.eclipse.swt.widgets.Display device,
javax.media.opengl.GLCapabilities caps)
Construct a surface that requires the given set of capabilities. |
|
DebugDraw2DSurface(org.eclipse.swt.widgets.Display device,
javax.media.opengl.GLCapabilities caps,
BaseSurface sharedWith)
Construct a surface shares it's GL context with the given surface. |
|
DebugDraw2DSurface(org.eclipse.swt.widgets.Display device,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser)
Construct a surface that requires the given set of capabilities. |
|
DebugDraw2DSurface(org.eclipse.swt.widgets.Display device,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
BaseSurface sharedWith)
Construct a surface shares it's GL context with the given surface. |
Method Summary | |
---|---|
void |
keyPressed(org.eclipse.draw2d.KeyEvent evt)
Notification of a key press event. |
void |
keyReleased(org.eclipse.draw2d.KeyEvent evt)
Notification of a key release event. |
Methods inherited from class org.j3d.renderer.aviatrix3d.swt.draw2d.BaseDraw2DSurface |
---|
addGraphicsResizeListener, draw, enableSingleThreaded, getSurfaceObject, removeGraphicsResizeListener, setErrorReporter, swap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugDraw2DSurface(org.eclipse.swt.widgets.Display device)
device
- The screen device context that holds the parent component.
Must not be nullpublic DebugDraw2DSurface(org.eclipse.swt.widgets.Display device, javax.media.opengl.GLCapabilities caps)
device
- The screen device context that holds the parent component.
Must not be nullcaps
- A set of required capabilities for this canvas.public DebugDraw2DSurface(org.eclipse.swt.widgets.Display device, javax.media.opengl.GLCapabilities caps, javax.media.opengl.GLCapabilitiesChooser chooser)
device
- The screen device context that holds the parent component.
Must not be nullcaps
- A set of required capabilities for this canvas.chooser
- Custom algorithm for selecting one of the available
GLCapabilities for the component;public DebugDraw2DSurface(org.eclipse.swt.widgets.Display device, javax.media.opengl.GLCapabilities caps, BaseSurface sharedWith)
If the sharedWith parameter is null, then this is just treated as an ordinary non-shared frame. The return flag will be set appropriately.
device
- The screen device context that holds the parent component.
Must not be nullcaps
- A set of required capabilities for this canvas.sharedWith
- The surface that you'd like this surface to share
the GL context with, if possible. May be null.public DebugDraw2DSurface(org.eclipse.swt.widgets.Display device, javax.media.opengl.GLCapabilities caps, javax.media.opengl.GLCapabilitiesChooser chooser, BaseSurface sharedWith)
If the sharedWith parameter is null, then this is just treated as an ordinary non-shared frame. The return flag will be set appropriately.
device
- The screen device context that holds the parent component.
Must not be nullcaps
- A set of required capabilities for this canvas.chooser
- Custom algorithm for selecting one of the available
GLCapabilities for the component;sharedWith
- The surface that you'd like this surface to share
the GL context with, if possible. May be null.Method Detail |
---|
public void keyPressed(org.eclipse.draw2d.KeyEvent evt)
keyPressed
in interface org.eclipse.draw2d.KeyListener
evt
- The key event that caused this method to be calledpublic void keyReleased(org.eclipse.draw2d.KeyEvent evt)
keyReleased
in interface org.eclipse.draw2d.KeyListener
evt
- The key event that caused this method to be called
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |