public class JoglInteractionManager extends java.lang.Object implements java.awt.event.KeyListener, IMouseProcessor
Constructor and Description |
---|
JoglInteractionManager(GraphicsDisplay disp) |
Modifier and Type | Method and Description |
---|---|
void |
addInteraction(JoglInteraction i) |
void |
ClearInteractions() |
void |
displaySizeChangedEvent(int w,
int h) |
<T extends JoglInteraction> |
findInteraction(java.lang.Class<T> c) |
com.jogamp.opengl.util.AnimatorBase |
getAnimator() |
void |
InitAnimator(com.jogamp.opengl.awt.GLCanvas canvas) |
void |
InitVRAnimator(com.jogamp.opengl.awt.GLCanvas canvas) |
void |
keyPressed(java.awt.event.KeyEvent evt) |
void |
keyReleased(java.awt.event.KeyEvent evt) |
void |
keyTyped(java.awt.event.KeyEvent evt) |
void |
mouseClicked(JoglInputMouseEvent jime) |
void |
mouseDragged(JoglInputMouseEvent jime) |
void |
mouseEntered(JoglInputMouseEvent jime) |
void |
mouseExited(JoglInputMouseEvent jime) |
void |
mouseMoved(JoglInputMouseEvent jime) |
void |
mousePressed(JoglInputMouseEvent jime) |
void |
mouseReleased(JoglInputMouseEvent jime) |
void |
mouseWheelMoved(JoglInputMouseWheelEvent jimwe) |
void |
removeInteraction(JoglInteraction i) |
void |
Screenshot(IScreenshotCapture cap) |
void |
Screenshot(java.lang.String fileName) |
void |
Screenshot(java.lang.String fileName,
int resx,
int resy,
int samples) |
void |
setScene(JoglScene s) |
boolean |
ShouldResumeAnim() |
void |
UpdateScene(JoglScene scene) |
public JoglInteractionManager(GraphicsDisplay disp)
public com.jogamp.opengl.util.AnimatorBase getAnimator()
public void addInteraction(JoglInteraction i)
public <T extends JoglInteraction> T findInteraction(java.lang.Class<T> c)
public void removeInteraction(JoglInteraction i)
public void setScene(JoglScene s)
public void Screenshot(java.lang.String fileName)
public void Screenshot(java.lang.String fileName, int resx, int resy, int samples)
public void Screenshot(IScreenshotCapture cap)
public void UpdateScene(JoglScene scene)
public void keyPressed(java.awt.event.KeyEvent evt)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent evt)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent evt)
keyTyped
in interface java.awt.event.KeyListener
public void mouseClicked(JoglInputMouseEvent jime)
mouseClicked
in interface IMouseProcessor
public void mouseEntered(JoglInputMouseEvent jime)
mouseEntered
in interface IMouseProcessor
public void mouseExited(JoglInputMouseEvent jime)
mouseExited
in interface IMouseProcessor
public void mousePressed(JoglInputMouseEvent jime)
mousePressed
in interface IMouseProcessor
public void mouseReleased(JoglInputMouseEvent jime)
mouseReleased
in interface IMouseProcessor
public void mouseMoved(JoglInputMouseEvent jime)
mouseMoved
in interface IMouseProcessor
public void mouseDragged(JoglInputMouseEvent jime)
mouseDragged
in interface IMouseProcessor
public void mouseWheelMoved(JoglInputMouseWheelEvent jimwe)
mouseWheelMoved
in interface IMouseProcessor
public void displaySizeChangedEvent(int w, int h)
public boolean ShouldResumeAnim()
public void InitAnimator(com.jogamp.opengl.awt.GLCanvas canvas)
public void InitVRAnimator(com.jogamp.opengl.awt.GLCanvas canvas)
public void ClearInteractions()