Static Public Member Functions | |
static void | apply (GL10 gl, Transform transform) |
Private Member Functions | |
OpenGlTransform () | |
Static Private Attributes | |
static final ThreadLocal < FloatBuffer > | buffer |
An adapter for applying Transforms in an OpenGL context.
Definition at line 31 of file OpenGlTransform.java.
org.ros.android.view.visualization.OpenGlTransform.OpenGlTransform | ( | ) | [inline, private] |
Definition at line 47 of file OpenGlTransform.java.
static void org.ros.android.view.visualization.OpenGlTransform.apply | ( | GL10 | gl, |
Transform | transform | ||
) | [inline, static] |
Applies a Transform to an OpenGL context.
gl | the context |
transform | the Transform to apply |
Definition at line 59 of file OpenGlTransform.java.
final ThreadLocal<FloatBuffer> org.ros.android.view.visualization.OpenGlTransform.buffer [static, private] |
new ThreadLocal<FloatBuffer>() { @Override protected FloatBuffer initialValue() { return FloatBuffer.allocate(16); }; @Override public FloatBuffer get() { FloatBuffer buffer = super.get(); buffer.clear(); return buffer; }; }
Definition at line 33 of file OpenGlTransform.java.