middleware/src/Communication/TuioCursor.cs
author bastiena
Thu, 15 Mar 2012 13:33:21 +0100
changeset 3 92f19af39024
parent 0 6fefd4afe506
permissions -rw-r--r--
Middleware : Swipe & Push & Jump(Experimental) Detectors ant events added Server modified for gesture detection TUIO Server C# Modified : Hand cursors redirected to /TUIO/3DCur channel New kind of OSC message created (TuioString) for gesture detection, using /TUIO/_siP channel. TUIO Processing Java Modified : Hand cursors redirected to /TUIO/3DCur channel New kind of OSC message created (TuioString) for gesture detection, using /TUIO/_siP channel. Front Processing : Mask added and modifications in the drawing process New front for gesture detection (just showing a text message in the mask for the moment)

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace Tuio
{
    /// <summary>
    /// TUIO cursor.
    /// 
    /// (c) 2010 by Dominik Schmidt (schmidtd@comp.lancs.ac.uk)
    /// </summary>
    public class TuioCursor
    {
        #region properties

        public int Id { get; private set; }

        public PointF Location { get; set; }

        public PointF Speed { get; set; }

        public float MotionAcceleration { get; set; }

        #endregion

        #region constructors

        public TuioCursor(int id, PointF location)
        {
            Id = id;
            Location = location;
        }

        #endregion

    }
}