com.drismo.gui.monitor
Class QualityMeterMonitor.PointArrow

java.lang.Object
  extended by com.drismo.gui.monitor.QualityMeterMonitor.PointArrow
Enclosing class:
QualityMeterMonitor

private class QualityMeterMonitor.PointArrow
extends java.lang.Object

This class is an object representation of a PointArrow containing the vertex information, color information and drawing functionality, which is called by the renderer.


Field Summary
private  float[] blue
           
private  java.nio.FloatBuffer blueBuffer
          The buffers holding the colors
private  float[] green
           
private  java.nio.FloatBuffer greenBuffer
           
private  float[] red
          The initial color definition
private  java.nio.FloatBuffer redBuffer
           
private  java.nio.FloatBuffer vertexBuffer
          The buffer holding the vertices
private  float[] vertices
          The initial vertex definition
private  float[] white
           
private  java.nio.FloatBuffer whiteBuffer
           
private  float[] yellow
           
private  java.nio.FloatBuffer yellowBuffer
           
 
Constructor Summary
QualityMeterMonitor.PointArrow()
          The PointArrow constructor.
 
Method Summary
 void draw(javax.microedition.khronos.opengles.GL10 gl, int color)
          The object own drawing function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vertexBuffer

private java.nio.FloatBuffer vertexBuffer
The buffer holding the vertices


blueBuffer

private java.nio.FloatBuffer blueBuffer
The buffers holding the colors


whiteBuffer

private java.nio.FloatBuffer whiteBuffer

redBuffer

private java.nio.FloatBuffer redBuffer

greenBuffer

private java.nio.FloatBuffer greenBuffer

yellowBuffer

private java.nio.FloatBuffer yellowBuffer

vertices

private float[] vertices
The initial vertex definition


red

private float[] red
The initial color definition


white

private float[] white

blue

private float[] blue

green

private float[] green

yellow

private float[] yellow
Constructor Detail

QualityMeterMonitor.PointArrow

public QualityMeterMonitor.PointArrow()
The PointArrow constructor. Initiate the buffers.

Method Detail

draw

public void draw(javax.microedition.khronos.opengles.GL10 gl,
                 int color)
The object own drawing function. Called from the renderer to redraw this instance with possible changes in values.

Parameters:
gl - - The GL Context