JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
jarmos.app.visual.GLView Class Reference

Open GL view implementation for display of and interaction with reduced model visualizations. More...

Inheritance diagram for jarmos.app.visual.GLView:

Public Member Functions

 GLView (Context context, VisualizationData visData)
 
boolean onTouchEvent (final MotionEvent event)
 
boolean onKeyDown (int keyCode, KeyEvent event)
 
boolean onTrackballEvent (MotionEvent event)
 

Protected Member Functions

void onSizeChanged (int w, int h, int oldw, int oldh)
 

Package Attributes

boolean ismTouch = false
 
boolean togglePause = false
 

Detailed Description

Open GL view implementation for display of and interaction with reduced model visualizations.

This class has been taken from the original rbAppMIT package and modified to fit into the current JaRMoS framework

Current settings for interacting with the view: - Volume up/down: Switch visual feature - Tap on graphic: toggle pause (if there is an animation) - Search key: draw wireframe for 3D objects - Press trackball: reset view

Author
Daniel Wirtz
Date
Aug 23, 2011

Definition at line 24 of file GLView.java.

Constructor & Destructor Documentation

jarmos.app.visual.GLView.GLView ( Context  context,
VisualizationData  visData 
)
Parameters
context
geoData

Definition at line 45 of file GLView.java.

Member Function Documentation

boolean jarmos.app.visual.GLView.onKeyDown ( int  keyCode,
KeyEvent  event 
)
See Also
android.view.View::onKeyDown(int, android.view.KeyEvent)

Definition at line 139 of file GLView.java.

void jarmos.app.visual.GLView.onSizeChanged ( int  w,
int  h,
int  oldw,
int  oldh 
)
protected

Definition at line 61 of file GLView.java.

boolean jarmos.app.visual.GLView.onTouchEvent ( final MotionEvent  event)
See Also
android.view.View::onTouchEvent(android.view.MotionEvent)

Definition at line 70 of file GLView.java.

boolean jarmos.app.visual.GLView.onTrackballEvent ( MotionEvent  event)
See Also
android.view.View::onTrackballEvent(android.view.MotionEvent)

Definition at line 165 of file GLView.java.

Member Data Documentation

boolean jarmos.app.visual.GLView.ismTouch = false
package

Definition at line 39 of file GLView.java.

boolean jarmos.app.visual.GLView.togglePause = false
package

Definition at line 39 of file GLView.java.


The documentation for this class was generated from the following file: