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

Provides the OpenGL rendering routines for the JOGL package. More...

Inheritance diagram for jarmos.pc.visual.JOGLRenderer:
jarmos.visual.OpenGLBase

Public Member Functions

 JOGLRenderer (VisualizationData vData, int width, int height)
 
void display (GLAutoDrawable drawable)
 
void dispose (GLAutoDrawable drawable)
 
void init (GLAutoDrawable drawable)
 
void reshape (GLAutoDrawable drawable, int x, int y, int w, int h)
 
- Public Member Functions inherited from jarmos.visual.OpenGLBase
 OpenGLBase (VisualizationData vData)
 Creates an OpenGLBase with the default size. More...
 
 OpenGLBase (VisualizationData vData, int width, int height)
 
void setSize (int width, int height)
 
void resetView ()
 Sets the initial position away from the model in the y-direction looking toward the center of the model (0,0,0) horizontally. More...
 
void addPos (float posx, float posy)
 
boolean is2D ()
 
void nextColorField ()
 Shows the next color field, if available. More...
 
void prevColorField ()
 Shows the next color field, if available. More...
 
void togglePause ()
 pause the animation if there is any More...
 
void setOrientation (Orientation o)
 Sets the current orientation. More...
 
void zoomIn ()
 zoom in More...
 
void zoomOut ()
 zoom out More...
 

Additional Inherited Members

- Public Attributes inherited from jarmos.visual.OpenGLBase
boolean isContinuousRotation = true
 Flag that indicates whether the object rotates continuously in the 3D case. More...
 
boolean isFrontFace = true
 Flag that indicates whether the front face should be rendered or not. More...
 
- Static Public Attributes inherited from jarmos.visual.OpenGLBase
static final float FRAME_INCREASE = 0.01f
 
- Protected Member Functions inherited from jarmos.visual.OpenGLBase
void frameRendered ()
 
float getBoxSize ()
 
int getCurrentColorOffset ()
 
int getCurrentNormalsOffset ()
 
int getCurrentVertexOffset ()
 
int getCurrentWireframeOffset ()
 
int getFaceOffset ()
 
int getHeight ()
 
int getNumFaces ()
 
float[] getOrtographicProj ()
 
float[] getRotationMatrix ()
 
float getScalingFactor ()
 
int getWidth ()
 
float getXTranslation ()
 
float getYTranslation ()
 
void initRendering ()
 Initializes the rendering process (Vertex, face, color and normal openGL buffers) More...
 
- Protected Attributes inherited from jarmos.visual.OpenGLBase
FloatBuffer floatBuf
 
ShortBuffer shortBuf
 
- Package Attributes inherited from jarmos.visual.OpenGLBase
int h
 

Detailed Description

Provides the OpenGL rendering routines for the JOGL package.

For details on the Java OpenGL framework see http://www.jogamp.org or http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL

Author
Daniel Wirtz

Definition at line 20 of file JOGLRenderer.java.

Constructor & Destructor Documentation

jarmos.pc.visual.JOGLRenderer.JOGLRenderer ( VisualizationData  vData,
int  width,
int  height 
)

Definition at line 22 of file JOGLRenderer.java.

Member Function Documentation

void jarmos.pc.visual.JOGLRenderer.display ( GLAutoDrawable  drawable)
See Also
javax.media.opengl.GLEventListener::display(javax.media.opengl.GLAutoDrawable)

Definition at line 30 of file JOGLRenderer.java.

void jarmos.pc.visual.JOGLRenderer.dispose ( GLAutoDrawable  drawable)

Definition at line 137 of file JOGLRenderer.java.

void jarmos.pc.visual.JOGLRenderer.init ( GLAutoDrawable  drawable)

Definition at line 150 of file JOGLRenderer.java.

void jarmos.pc.visual.JOGLRenderer.reshape ( GLAutoDrawable  drawable,
int  x,
int  y,
int  w,
int  h 
)
See Also
javax.media.opengl.GLEventListener::reshape(javax.media.opengl.GLAutoDrawable, int, int, int, int)

Definition at line 191 of file JOGLRenderer.java.


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