TextObject.java
Go to the documentation of this file.
00001 //package ri.blog.opengl008;
00002 package com.introlab.rtabmap;
00003 
00004 public class TextObject {
00005         
00006         public String text;
00007         public float x;
00008         public float y;
00009         public float[] color;
00010         
00011         public TextObject()
00012         {
00013                 text = "default";
00014                 x = 0f;
00015                 y = 0f;
00016                 color = new float[] {1f, 1f, 1f, 1.0f};
00017         }
00018         
00019         public TextObject(String txt, float xcoord, float ycoord)
00020         {
00021                 text = txt;
00022                 x = xcoord;
00023                 y = ycoord;
00024                 color = new float[] {1f, 1f, 1f, 1.0f};
00025         }
00026         
00027         /*public boolean validate()
00028         {
00029                 if(text.compareTo("")==0) return false;
00030                 
00031                 return true;
00032         }*/
00033 }


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