Processing:
New examples implemented :
Fluid, Smoke, Interaction examples.
Split in one file for the main instructions, one for TUIO stuff.
License headers added.
/*
* This file is part of the TraKERS\Middleware package.
*
* (c) IRI <http://www.iri.centrepompidou.fr/>
*
* For the full copyright and license information, please view the LICENSE_MIDDLEWARE
* file that was distributed with this source code.
*/
/*
* Projet : TraKERS
* Module : MIDDLEWARE
* Classe : MainClass
*
* Auteur : alexandre.bastien@iri.centrepompidou.fr
*
* Fonctionnalités : Classe principale du Middleware, elle lance le sous-module Tracking en instanciant la classe
* KinectMain.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Trakers.Debug;
using Trakers.Tracking;
using Trakers.Communication;
using System.Windows.Media.Media3D;
using System.Drawing;
using System.Threading;
using System.IO;
using System.Resources;
using System.Reflection;
using Tuio;
namespace Trakers
{
public class MainClass
{
[STAThread]
public static void Main()
{
//Crée le gestionnaire de ressources.
ResourceManager rm = new ResourceManager("Trakers.Properties.resources", Assembly.GetExecutingAssembly());
//Fait appel à la classe qui gère la Kinect.
KinectMain kinectMain = new KinectMain(rm);
/*TuioServer s = new TuioServer("127.0.0.1", 80);
s.AddTuioCursor(0, new Point3D(100, 100, 1));
for (int i = 0; i < 10000; i++)
{
Thread.Sleep(100);
s.UpdateTuioCursor(0, new Point3D(100, 100, 1));
Console.Out.WriteLine("ref");
}
s.DeleteTuioCursor(0);*/
}
}
}