|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OpenGLWindow
A "low-level" interface to the window (canvas) used to draw the OpenGL scene. Its main use is to provide "out-of-context" access to IDrawing and OpenGL handles.
| Method Summary | |
|---|---|
void |
blending(IShape.RenderBlending rb)
Set the blending mode |
Component |
canvas()
The drawing canvas component. |
IDrawing |
drawing()
A handle to the drawing interface (renamed from idrawing() in Commuter 4.0) |
byte[] |
frameAsByteArray()
Return the current screen state as an array of ARGB bytes. |
void |
gotoObject()
Raise the "Find" window, which will search for an object and move the viewpoint to that object using IViewport.moveTo(com.azalient.api.a.position.IXyz) |
int |
height()
The height of the drawing area, in pixels |
IDrawing |
idrawing()
Deprecated. Use drawing() |
void |
notPrimarySelection(Object object)
This object is no longer the primary selection of its type (primary link, primary node, etc ) |
OpenGL |
openGL()
A handle to the OpenGL interface |
OpenGLU |
openGLU()
A handle to the OpenGL Utility interface (GLU) |
void |
primarySelection(Object object)
Mark this object as being the primary selection of its type (primary link, primary node, etc ) |
void |
redraw()
Call this to force a screen redraw. |
void |
refresh()
Call this to force a screen refresh |
void |
resize()
Call this to force redraw/recalculation due to a change in window size |
void |
swap()
Force swap of OpenGL buffers. |
int |
width()
The width of the drawing area, in pixels |
int |
x()
The X coordinate of the upper-left corner of the drawing pane, in screen coordinates |
int |
y()
The Y coordinate of the upper-left corner of the drawing pane, in screen coordinates |
| Methods inherited from interface java.awt.event.WindowStateListener |
|---|
windowStateChanged |
| Methods inherited from interface javax.swing.event.ChangeListener |
|---|
stateChanged |
| Method Detail |
|---|
void swap()
void redraw()
refresh()void refresh()
void resize()
OpenGL openGL()
OpenGLU openGLU()
int x()
int y()
int width()
int height()
byte[] frameAsByteArray()
IDrawing idrawing()
drawing()
IDrawing drawing()
Component canvas()
void gotoObject()
IViewport.moveTo(com.azalient.api.a.position.IXyz)
void primarySelection(Object object)
void notPrimarySelection(Object object)
void blending(IShape.RenderBlending rb)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||