TextObject.java
Go to the documentation of this file.
1 //package ri.blog.opengl008;
2 package com.introlab.rtabmap;
3 
4 public class TextObject {
5 
6  public String text;
7  public float x;
8  public float y;
9  public float[] color;
10 
11  public TextObject()
12  {
13  text = "default";
14  x = 0f;
15  y = 0f;
16  color = new float[] {1f, 1f, 1f, 1.0f};
17  }
18 
19  public TextObject(String txt, float xcoord, float ycoord)
20  {
21  text = txt;
22  x = xcoord;
23  y = ycoord;
24  color = new float[] {1f, 1f, 1f, 1.0f};
25  }
26 
27  /*public boolean validate()
28  {
29  if(text.compareTo("")==0) return false;
30 
31  return true;
32  }*/
33 }
com.introlab.rtabmap.TextObject.y
float y
Definition: TextObject.java:8
com.introlab.rtabmap.TextObject.text
String text
Definition: TextObject.java:6
com.introlab.rtabmap.TextObject.TextObject
TextObject(String txt, float xcoord, float ycoord)
Definition: TextObject.java:19
com.introlab.rtabmap.TextObject.TextObject
TextObject()
Definition: TextObject.java:11
f
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
com.introlab.rtabmap.TextObject
Definition: TextObject.java:4
txt
txt
com.introlab.rtabmap.TextObject.x
float x
Definition: TextObject.java:7
com.introlab.rtabmap.TextObject.color
float[] color
Definition: TextObject.java:9


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:22