/* ================================================================================== TUIOSmoke - a TUIO/OSC client implementation of the popular smoke demo Copyright (C) 2009 Patrick King This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ================================================================================== This library defines a simple struct for mapping touch points and associated data (in this case color maps for each touch point) */ #ifndef INCLUDED_TOUCHMAPS_H #define INCLUDED_TOUCHMAPS_H struct TouchMap { int ID; int tagID; // position / last position float X; float Y; float lX; float lY; float height; float width; float angle; float area; // velocity vector / last velocity float dX; float dY; float ldX; float ldY; float weight; float lasttouched; }; struct RGB_PixelFloat { float b; float g; float r; }; #endif