|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.inria.zvtm.engine.ViewPanel
fr.inria.zvtm.engine.GLViewPanel
public class GLViewPanel
JPanel used to paint the content of a view (all camera layers). Uses OpenGL acceletation provided by the Java2D OpenGL rendering pipeline available since J2SE 5.0 (Linux and Windows, not Mac OS X). The use of GLViewPanel requires the following Java property: -Dsun.java2d.opengl=true
| Field Summary | |
|---|---|
protected JPanel |
panel
|
| Fields inherited from class fr.inria.zvtm.engine.ViewPanel |
|---|
activeLayer, awtCursor, cams, CIRCLE, curDragx, curDragy, drawVTMcursor, FIRST_ORDER_PAN_WIDGET, lens, NO_COORDS, NONE, oldX, oldY, origDragx, origDragy, OVAL, parent, stableRefToBackBufferGraphics |
| Method Summary | |
|---|---|
Component |
getComponent()
Get the underlying Swing component. |
BufferedImage |
getImage()
Not implemented yet. |
int |
getRefreshRate()
Gets the maximum view refresh rate. |
void |
paint(Graphics g)
|
void |
setRefreshRate(int rr)
Sets the maximum view refresh rate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JPanel panel
| Method Detail |
|---|
public Component getComponent()
getComponent in class ViewPanelpublic void paint(Graphics g)
public void setRefreshRate(int rr)
ViewPanel
setRefreshRate in class ViewPanelrr - positive integer in millisecondspublic int getRefreshRate()
ViewPanel
getRefreshRate in class ViewPanelpublic BufferedImage getImage()
getImage in class ViewPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||