|
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.output.BaseSWTSurface org.j3d.renderer.aviatrix3d.swt.output.SimpleSWTSurface
public class SimpleSWTSurface
Implementation of the most basic drawable surface using SWT.
Note: The lightweight flag is ignored currently.
Field Summary |
---|
Fields inherited from class org.j3d.renderer.aviatrix3d.swt.output.BaseSWTSurface |
---|
resizer, swtCanvas |
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 | |
---|---|
SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps)
Construct a surface that requires the given set of capabilities. |
|
SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
BaseSurface sharedWith)
Construct a surface shares it's GL context with the given surface. |
|
SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
BaseSurface sharedWith,
boolean lightweight)
Construct a surface shares it's GL context with the given surface. |
|
SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
boolean lightweight)
Construct a surface that requires the given set of capabilities. |
|
SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser)
Construct a surface that requires the given set of capabilities. |
|
SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
BaseSurface sharedWith)
Construct a surface shares it's GL context with the given surface. |
|
SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
BaseSurface sharedWith,
boolean lightweight)
Construct a surface shares it's GL context with the given surface. |
|
SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
boolean lightweight)
Construct a surface that requires the given set of capabilities. |
Method Summary |
---|
Methods inherited from class org.j3d.renderer.aviatrix3d.swt.output.BaseSWTSurface |
---|
addGraphicsResizeListener, getSurfaceObject, removeGraphicsResizeListener, setErrorReporter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent, int style, javax.media.opengl.GLCapabilities caps)
parent
- The parent component that this surface uses for the canvasstyle
- The SWT style bits to use on the created canvascaps
- A set of required capabilities for this canvas.public SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent, int style, javax.media.opengl.GLCapabilities caps, javax.media.opengl.GLCapabilitiesChooser chooser)
parent
- The parent component that this surface uses for the canvasstyle
- The SWT style bits to use on the created canvascaps
- A set of required capabilities for this canvas.chooser
- Custom algorithm for selecting one of the available
GLCapabilities for the component;public SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent, int style, javax.media.opengl.GLCapabilities caps, boolean lightweight)
parent
- The parent component that this surface uses for the canvasstyle
- The SWT style bits to use on the created canvascaps
- A set of required capabilities for this canvas.lightweight
- If true, uses a GLJPanel (lightweight) JComponent,
otherwise a GLCanvas. Note that setting this to true could negatively
impact performance.public SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent, int style, javax.media.opengl.GLCapabilities caps, javax.media.opengl.GLCapabilitiesChooser chooser, boolean lightweight)
parent
- The parent component that this surface uses for the canvasstyle
- The SWT style bits to use on the created canvascaps
- A set of required capabilities for this canvas.lightweight
- If true, uses a GLJPanel (lightweight) JComponent,
otherwise a GLCanvas. Note that setting this to true could negatively
impact performance.chooser
- Custom algorithm for selecting one of the available
GLCapabilities for the component;public SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent, int style, 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.
parent
- The parent component that this surface uses for the canvasstyle
- The SWT style bits to use on the created canvascaps
- 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 SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent, int style, 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.
parent
- The parent component that this surface uses for the canvasstyle
- The SWT style bits to use on the created canvascaps
- 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.public SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent, int style, javax.media.opengl.GLCapabilities caps, BaseSurface sharedWith, boolean lightweight)
If the sharedWith parameter is null, then this is just treated as an ordinary non-shared frame. The return flag will be set appropriately.
parent
- The parent component that this surface uses for the canvasstyle
- The SWT style bits to use on the created canvascaps
- 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.lightweight
- If true, uses a GLJPanel (lightweight) JComponent,
otherwise a GLCanvas. Note that setting this to true could negatively
impact performance.public SimpleSWTSurface(org.eclipse.swt.widgets.Composite parent, int style, javax.media.opengl.GLCapabilities caps, javax.media.opengl.GLCapabilitiesChooser chooser, BaseSurface sharedWith, boolean lightweight)
If the sharedWith parameter is null, then this is just treated as an ordinary non-shared frame. The return flag will be set appropriately.
parent
- The parent component that this surface uses for the canvasstyle
- The SWT style bits to use on the created canvascaps
- 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.lightweight
- If true, uses a GLJPanel (lightweight) JComponent,
otherwise a GLCanvas. Note that setting this to true could negatively
impact performance.
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |