|
static int | loadShader (int type, String shaderCode) |
|
Definition at line 22 of file TextManager.java.
com.introlab.rtabmap.TextManager.TextManager |
( |
Context |
context | ) |
|
|
inline |
void com.introlab.rtabmap.TextManager.AddCharRenderInformation |
( |
float[] |
vec, |
|
|
float[] |
cs, |
|
|
float[] |
uv, |
|
|
short[] |
indi |
|
) |
| |
|
inline |
void com.introlab.rtabmap.TextManager.convertTextToTriangleInfo |
( |
TextObject |
val | ) |
|
|
inlineprivate |
void com.introlab.rtabmap.TextManager.Draw |
( |
float[] |
m | ) |
|
|
inline |
float com.introlab.rtabmap.TextManager.getMaxTextHeight |
( |
| ) |
|
|
inline |
float com.introlab.rtabmap.TextManager.getUniformscale |
( |
| ) |
|
|
inline |
static int com.introlab.rtabmap.TextManager.loadShader |
( |
int |
type, |
|
|
String |
shaderCode |
|
) |
| |
|
inlinestatic |
void com.introlab.rtabmap.TextManager.PrepareDraw |
( |
Vector< TextObject > |
txtcollection | ) |
|
|
inline |
void com.introlab.rtabmap.TextManager.PrepareDrawInfo |
( |
Vector< TextObject > |
txtcollection | ) |
|
|
inline |
void com.introlab.rtabmap.TextManager.setColor |
( |
float |
color | ) |
|
|
inline |
void com.introlab.rtabmap.TextManager.setTextureID |
( |
int |
val | ) |
|
|
inline |
void com.introlab.rtabmap.TextManager.setUniformscale |
( |
float |
uniformscale | ) |
|
|
inline |
ShortBuffer com.introlab.rtabmap.TextManager.drawListBuffer |
|
private |
final String com.introlab.rtabmap.TextManager.fs_Text |
|
static |
Initial value:=
"precision mediump float;" +
"uniform float uColor;" +
"varying vec2 v_texCoord;" +
"uniform sampler2D s_texture;" +
"void main() {" +
" gl_FragColor = texture2D( s_texture, v_texCoord );" +
" gl_FragColor.rgb *= uColor;" +
"}"
Definition at line 39 of file TextManager.java.
int com.introlab.rtabmap.TextManager.index_indices |
|
private |
int com.introlab.rtabmap.TextManager.index_uvs |
|
private |
int com.introlab.rtabmap.TextManager.index_vecs |
|
private |
short [] com.introlab.rtabmap.TextManager.indices |
|
private |
float com.introlab.rtabmap.TextManager.mColor |
|
private |
float com.introlab.rtabmap.TextManager.mTextHeight |
|
private |
int [] com.introlab.rtabmap.TextManager.mTextures |
|
private |
float com.introlab.rtabmap.TextManager.mUVHeight |
|
private |
float com.introlab.rtabmap.TextManager.mUVWidth |
|
private |
final float com.introlab.rtabmap.TextManager.RI_TEXT_HEIGHT_BASE = 32.0f |
|
static |
final char com.introlab.rtabmap.TextManager.RI_TEXT_START = ' ' |
|
static |
final char com.introlab.rtabmap.TextManager.RI_TEXT_STOP = '\u00B0'+1 |
|
static |
final int com.introlab.rtabmap.TextManager.RI_TEXT_TEXTURE_SIZE = 512 |
|
static |
int com.introlab.rtabmap.TextManager.sp_Text |
|
static |
FloatBuffer com.introlab.rtabmap.TextManager.textureBuffer |
|
private |
int com.introlab.rtabmap.TextManager.texturenr |
|
private |
float com.introlab.rtabmap.TextManager.uniformscale = 1.0f |
|
private |
float [] com.introlab.rtabmap.TextManager.uvs |
|
private |
float [] com.introlab.rtabmap.TextManager.vecs |
|
private |
FloatBuffer com.introlab.rtabmap.TextManager.vertexBuffer |
|
private |
final String com.introlab.rtabmap.TextManager.vs_Text |
|
static |
Initial value:=
"uniform mat4 uMVPMatrix;" +
"attribute vec4 vPosition;" +
"attribute vec2 a_texCoord;" +
"varying vec2 v_texCoord;" +
"void main() {" +
" gl_Position = uMVPMatrix * vPosition;" +
" v_texCoord = a_texCoord;" +
"}"
Definition at line 30 of file TextManager.java.
The documentation for this class was generated from the following file: