object.h
Go to the documentation of this file.
00001 /*
00002  *  AR Objects
00003  *  Copyright (C) 2013, I Heart Engineering
00004  *  Copyright (C) 2010, CCNY Robotics Lab
00005  *  William Morris <bill@iheartengineering.com>
00006  *  Ivan Dryanovski <ivan.dryanovski@gmail.com>
00007  *  Gautier Dumonteil <gautier.dumonteil@gmail.com>
00008  *  http://www.iheartengineering.com
00009  *  http://robotics.ccny.cuny.edu
00010  *
00011  *  This program is free software: you can redistribute it and/or modify
00012  *  it under the terms of the GNU General Public License as published by
00013  *  the Free Software Foundation, either version 3 of the License, or
00014  *  (at your option) any later version.
00015  *
00016  *  This program is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  *  GNU General Public License for more details.
00020  *
00021  *  You should have received a copy of the GNU General Public License
00022  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
00023  */
00024 
00025 #ifndef OBJECT_H
00026 #define OBJECT_H
00027 
00028 #define   OBJECT_MAX       30 // FIXME: Why is this limit set?
00029 
00030 namespace ar_object
00031 {
00032   typedef struct
00033   {
00034     char name[256];
00035     int id;
00036     int visible;
00037     int collide;
00038     double marker_coord[4][2];
00039     double trans[3][4];
00040     double marker_width;
00041     double marker_center[2];
00042   } ObjectData_T;
00043 
00044   ObjectData_T *read_ObjData (char *name, int *objectnum);
00045 }
00046 #endif


ar_pose
Author(s): Ivan Dryanovsk, Bill Morris , Gautier Dumonteil
autogenerated on Thu Aug 27 2015 12:24:37