Пример #1
0
        /// <summary>
        /// Constuctor
        /// </summary>
        /// <param name="visualizerData"></param>
        public Renderer(VisualizerData visualizerData)
        {
            this.visualizerData = visualizerData;

            LeftHand_Kinect_PA  = new PointArray(MAX_NUM_OF_POINTS);
            RightHand_Kinect_PA = new PointArray(MAX_NUM_OF_POINTS);

            LeftHand_Hololens_PA  = new PointArray(MAX_NUM_OF_POINTS);
            RightHand_Hololens_PA = new PointArray(MAX_NUM_OF_POINTS);

            LeftHand_Hololens_list  = new List <Point3D>();
            RightHand_Hololens_list = new List <Point3D>();
            LeftHand_Kinect_list    = new List <Point3D>();
            RightHand_Kinect_list   = new List <Point3D>();

            LH_Hololens_pos = new Point3D(0, 0, 0);
            RH_Hololens_pos = new Point3D(0, 0, 0);

            MT = new MatrixTransformation();
            ReadHololensIP();

            udpClient = new UdpClient(20201);
        }