コード例 #1
0
ファイル: TuioManger.cs プロジェクト: pancur/KinectDisplay
 public TuioManager(Size windowSize)
 {
     server = new TuioServer();
     this.windowSize = windowSize;
     this.cursors = new Dictionary<int, long>();
     this.clickMissingTimer = new Stopwatch();
     this.clickMissingTimer.Start();
     ThreadPool.QueueUserWorkItem(ThreadPoolCallback);
 }
コード例 #2
0
ファイル: App1.cs プロジェクト: emnullfuenf/SUR_TUIO
        public App1()
        {
            graphics = new GraphicsDeviceManager(this);
            tuioserver = new TuioServer();
            tuio_ids = new HashSet<int>();

            size_x = InteractiveSurface.PrimarySurfaceDevice.Width;
            size_y = InteractiveSurface.PrimarySurfaceDevice.Height;
        }