Public Member Functions | |
void | AddCharRenderInformation (float[] vec, float[] cs, float[] uv, short[] indi) |
void | Draw (float[] m) |
float | getMaxTextHeight () |
float | getUniformscale () |
void | PrepareDraw (Vector< TextObject > txtcollection) |
void | PrepareDrawInfo (Vector< TextObject > txtcollection) |
void | setColor (float color) |
void | setTextureID (int val) |
void | setUniformscale (float uniformscale) |
TextManager (Context context) | |
Static Public Member Functions | |
static int | loadShader (int type, String shaderCode) |
Static Public Attributes | |
static final String | fs_Text = "}" |
static final float | RI_TEXT_HEIGHT_BASE = 32.0f |
static final char | RI_TEXT_START = ' ' |
static final char | RI_TEXT_STOP = '~'+1 |
static final int | RI_TEXT_TEXTURE_SIZE = 512 |
static int | sp_Text |
static final String | vs_Text = "}" |
Package Attributes | |
float[] | mCharacterWidth |
Private Member Functions | |
void | convertTextToTriangleInfo (TextObject val) |
Private Attributes | |
ShortBuffer | drawListBuffer |
int | index_indices |
int | index_uvs |
int | index_vecs |
short[] | indices |
float | mColor |
float | mTextHeight |
int[] | mTextures |
float | mUVHeight |
float | mUVWidth |
FloatBuffer | textureBuffer |
int | texturenr |
float | uniformscale = 1.0f |
float[] | uvs |
float[] | vecs |
FloatBuffer | vertexBuffer |
Definition at line 21 of file TextManager.java.
com.introlab.rtabmap.TextManager.TextManager | ( | Context | context | ) | [inline] |
Definition at line 81 of file TextManager.java.
void com.introlab.rtabmap.TextManager.AddCharRenderInformation | ( | float[] | vec, |
float[] | cs, | ||
float[] | uv, | ||
short[] | indi | ||
) | [inline] |
Definition at line 173 of file TextManager.java.
void com.introlab.rtabmap.TextManager.convertTextToTriangleInfo | ( | TextObject | val | ) | [inline, private] |
Definition at line 332 of file TextManager.java.
void com.introlab.rtabmap.TextManager.Draw | ( | float[] | m | ) | [inline] |
Definition at line 252 of file TextManager.java.
float com.introlab.rtabmap.TextManager.getMaxTextHeight | ( | ) | [inline] |
Definition at line 55 of file TextManager.java.
float com.introlab.rtabmap.TextManager.getUniformscale | ( | ) | [inline] |
Definition at line 408 of file TextManager.java.
static int com.introlab.rtabmap.TextManager.loadShader | ( | int | type, |
String | shaderCode | ||
) | [inline, static] |
Definition at line 158 of file TextManager.java.
void com.introlab.rtabmap.TextManager.PrepareDraw | ( | Vector< TextObject > | txtcollection | ) | [inline] |
Definition at line 233 of file TextManager.java.
void com.introlab.rtabmap.TextManager.PrepareDrawInfo | ( | Vector< TextObject > | txtcollection | ) | [inline] |
Definition at line 203 of file TextManager.java.
void com.introlab.rtabmap.TextManager.setColor | ( | float | color | ) | [inline] |
Definition at line 416 of file TextManager.java.
void com.introlab.rtabmap.TextManager.setTextureID | ( | int | val | ) | [inline] |
Definition at line 153 of file TextManager.java.
void com.introlab.rtabmap.TextManager.setUniformscale | ( | float | uniformscale | ) | [inline] |
Definition at line 412 of file TextManager.java.
ShortBuffer com.introlab.rtabmap.TextManager.drawListBuffer [private] |
Definition at line 64 of file TextManager.java.
final String com.introlab.rtabmap.TextManager.fs_Text = "}" [static] |
Definition at line 38 of file TextManager.java.
int com.introlab.rtabmap.TextManager.index_indices [private] |
Definition at line 71 of file TextManager.java.
int com.introlab.rtabmap.TextManager.index_uvs [private] |
Definition at line 72 of file TextManager.java.
int com.introlab.rtabmap.TextManager.index_vecs [private] |
Definition at line 70 of file TextManager.java.
short [] com.introlab.rtabmap.TextManager.indices [private] |
Definition at line 68 of file TextManager.java.
float [] com.introlab.rtabmap.TextManager.mCharacterWidth [package] |
Definition at line 79 of file TextManager.java.
float com.introlab.rtabmap.TextManager.mColor [private] |
Definition at line 60 of file TextManager.java.
float com.introlab.rtabmap.TextManager.mTextHeight [private] |
Definition at line 59 of file TextManager.java.
int [] com.introlab.rtabmap.TextManager.mTextures [private] |
Definition at line 75 of file TextManager.java.
float com.introlab.rtabmap.TextManager.mUVHeight [private] |
Definition at line 58 of file TextManager.java.
float com.introlab.rtabmap.TextManager.mUVWidth [private] |
Definition at line 57 of file TextManager.java.
final float com.introlab.rtabmap.TextManager.RI_TEXT_HEIGHT_BASE = 32.0f [static] |
Definition at line 51 of file TextManager.java.
final char com.introlab.rtabmap.TextManager.RI_TEXT_START = ' ' [static] |
Definition at line 52 of file TextManager.java.
final char com.introlab.rtabmap.TextManager.RI_TEXT_STOP = '~'+1 [static] |
Definition at line 53 of file TextManager.java.
final int com.introlab.rtabmap.TextManager.RI_TEXT_TEXTURE_SIZE = 512 [static] |
Definition at line 50 of file TextManager.java.
int com.introlab.rtabmap.TextManager.sp_Text [static] |
Definition at line 48 of file TextManager.java.
FloatBuffer com.introlab.rtabmap.TextManager.textureBuffer [private] |
Definition at line 63 of file TextManager.java.
int com.introlab.rtabmap.TextManager.texturenr [private] |
Definition at line 74 of file TextManager.java.
float com.introlab.rtabmap.TextManager.uniformscale = 1.0f [private] |
Definition at line 77 of file TextManager.java.
float [] com.introlab.rtabmap.TextManager.uvs [private] |
Definition at line 67 of file TextManager.java.
float [] com.introlab.rtabmap.TextManager.vecs [private] |
Definition at line 66 of file TextManager.java.
FloatBuffer com.introlab.rtabmap.TextManager.vertexBuffer [private] |
Definition at line 62 of file TextManager.java.
final String com.introlab.rtabmap.TextManager.vs_Text = "}" [static] |
Definition at line 29 of file TextManager.java.