org.ros.android.view.visualization
Class Texture

java.lang.Object
  extended by org.ros.android.view.visualization.Texture

public class Texture
extends java.lang.Object


Constructor Summary
Texture()
           
 
Method Summary
 int getTextureHandle()
           
 void maybeInitTexture(GL10 gl)
          If necessary, initializes and/or reloads the texture from the previously specified occupancy grid.
 void updateTexture(Bitmap bitmap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Texture

public Texture()
Method Detail

updateTexture

public void updateTexture(Bitmap bitmap)

getTextureHandle

public int getTextureHandle()
                     throws TextureNotInitialized
Throws:
TextureNotInitialized

maybeInitTexture

public void maybeInitTexture(GL10 gl)
If necessary, initializes and/or reloads the texture from the previously specified occupancy grid. This needs to be called at least once before calling getTextureHandle.

Parameters:
gl - the OpenGL context