Public Member Functions | Static Public Member Functions | Static Public Attributes | Package Attributes | Private Member Functions | Private Attributes
com.introlab.rtabmap.TextManager Class Reference

List of all members.

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

Detailed Description

Definition at line 21 of file TextManager.java.


Constructor & Destructor Documentation

com.introlab.rtabmap.TextManager.TextManager ( Context  context) [inline]

Definition at line 81 of file TextManager.java.


Member Function Documentation

void com.introlab.rtabmap.TextManager.AddCharRenderInformation ( float[]  vec,
float[]  cs,
float[]  uv,
short[]  indi 
) [inline]

Definition at line 173 of file TextManager.java.

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.

Definition at line 55 of file TextManager.java.

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.

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.


Member Data Documentation

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.

Definition at line 71 of file TextManager.java.

Definition at line 72 of file TextManager.java.

Definition at line 70 of file TextManager.java.

Definition at line 68 of file TextManager.java.

Definition at line 79 of file TextManager.java.

Definition at line 60 of file TextManager.java.

Definition at line 59 of file TextManager.java.

Definition at line 75 of file TextManager.java.

Definition at line 58 of file TextManager.java.

Definition at line 57 of file TextManager.java.

Definition at line 51 of file TextManager.java.

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.

Definition at line 50 of file TextManager.java.

Definition at line 48 of file TextManager.java.

Definition at line 63 of file TextManager.java.

Definition at line 74 of file TextManager.java.

Definition at line 77 of file TextManager.java.

Definition at line 67 of file TextManager.java.

Definition at line 66 of file TextManager.java.

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.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:40