|
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.SimpleDraw2DSurface
public class SimpleDraw2DSurface
Implementation of the most basic drawable surface using Draw2D figure.
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 | |
---|---|
SimpleDraw2DSurface(org.eclipse.swt.widgets.Display device)
Construct a surface that requires the given set of capabilities. |
|
SimpleDraw2DSurface(org.eclipse.swt.widgets.Display device,
javax.media.opengl.GLCapabilities caps)
Construct a surface that requires the given set of capabilities. |
|
SimpleDraw2DSurface(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. |
|
SimpleDraw2DSurface(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. |
|
SimpleDraw2DSurface(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 |
---|
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 SimpleDraw2DSurface(org.eclipse.swt.widgets.Display device)
device
- The screen device context that holds the parent component.
Must not be nullpublic SimpleDraw2DSurface(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 SimpleDraw2DSurface(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 SimpleDraw2DSurface(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 SimpleDraw2DSurface(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.
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |