Definition at line 22 of file TextManager.java.
◆ TextManager()
com.introlab.rtabmap.TextManager.TextManager |
( |
Context |
context | ) |
|
|
inline |
◆ AddCharRenderInformation()
void com.introlab.rtabmap.TextManager.AddCharRenderInformation |
( |
float[] |
vec, |
|
|
float[] |
cs, |
|
|
float[] |
uv, |
|
|
short[] |
indi |
|
) |
| |
|
inline |
◆ convertTextToTriangleInfo()
void com.introlab.rtabmap.TextManager.convertTextToTriangleInfo |
( |
TextObject |
val | ) |
|
|
inlineprivate |
◆ Draw()
void com.introlab.rtabmap.TextManager.Draw |
( |
float[] |
m | ) |
|
|
inline |
◆ getMaxTextHeight()
float com.introlab.rtabmap.TextManager.getMaxTextHeight |
( |
| ) |
|
|
inline |
◆ getUniformscale()
float com.introlab.rtabmap.TextManager.getUniformscale |
( |
| ) |
|
|
inline |
◆ loadShader()
static int com.introlab.rtabmap.TextManager.loadShader |
( |
int |
type, |
|
|
String |
shaderCode |
|
) |
| |
|
inlinestatic |
◆ PrepareDraw()
void com.introlab.rtabmap.TextManager.PrepareDraw |
( |
Vector< TextObject > |
txtcollection | ) |
|
|
inline |
◆ PrepareDrawInfo()
void com.introlab.rtabmap.TextManager.PrepareDrawInfo |
( |
Vector< TextObject > |
txtcollection | ) |
|
|
inline |
◆ setColor()
void com.introlab.rtabmap.TextManager.setColor |
( |
float |
color | ) |
|
|
inline |
◆ setTextureID()
void com.introlab.rtabmap.TextManager.setTextureID |
( |
int |
val | ) |
|
|
inline |
◆ setUniformscale()
void com.introlab.rtabmap.TextManager.setUniformscale |
( |
float |
uniformscale | ) |
|
|
inline |
◆ drawListBuffer
ShortBuffer com.introlab.rtabmap.TextManager.drawListBuffer |
|
private |
◆ fs_Text
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.
◆ index_indices
int com.introlab.rtabmap.TextManager.index_indices |
|
private |
◆ index_uvs
int com.introlab.rtabmap.TextManager.index_uvs |
|
private |
◆ index_vecs
int com.introlab.rtabmap.TextManager.index_vecs |
|
private |
◆ indices
short [] com.introlab.rtabmap.TextManager.indices |
|
private |
◆ mColor
float com.introlab.rtabmap.TextManager.mColor |
|
private |
◆ mTextHeight
float com.introlab.rtabmap.TextManager.mTextHeight |
|
private |
◆ mTextures
int [] com.introlab.rtabmap.TextManager.mTextures |
|
private |
◆ mUVHeight
float com.introlab.rtabmap.TextManager.mUVHeight |
|
private |
◆ mUVWidth
float com.introlab.rtabmap.TextManager.mUVWidth |
|
private |
◆ RI_TEXT_HEIGHT_BASE
final float com.introlab.rtabmap.TextManager.RI_TEXT_HEIGHT_BASE = 32.0f |
|
static |
◆ RI_TEXT_START
final char com.introlab.rtabmap.TextManager.RI_TEXT_START = ' ' |
|
static |
◆ RI_TEXT_STOP
final char com.introlab.rtabmap.TextManager.RI_TEXT_STOP = '\u00B0'+1 |
|
static |
◆ RI_TEXT_TEXTURE_SIZE
final int com.introlab.rtabmap.TextManager.RI_TEXT_TEXTURE_SIZE = 512 |
|
static |
◆ sp_Text
int com.introlab.rtabmap.TextManager.sp_Text |
|
static |
◆ textureBuffer
FloatBuffer com.introlab.rtabmap.TextManager.textureBuffer |
|
private |
◆ texturenr
int com.introlab.rtabmap.TextManager.texturenr |
|
private |
◆ uniformscale
float com.introlab.rtabmap.TextManager.uniformscale = 1.0f |
|
private |
◆ uvs
float [] com.introlab.rtabmap.TextManager.uvs |
|
private |
◆ vecs
float [] com.introlab.rtabmap.TextManager.vecs |
|
private |
◆ vertexBuffer
FloatBuffer com.introlab.rtabmap.TextManager.vertexBuffer |
|
private |
◆ vs_Text
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: