public void ReadFromRecorder(BinaryReader reader)
        {
            RawSensors1 = new SensorRawFeatureSet();
            RawSensors2 = new SensorRawFeatureSet();

            RawSensors1.ReadFromRecorder(reader);
            RawSensors2.ReadFromRecorder(reader);
        }
        public void Update3dPhoneModel(SensorRawFeatureSet reading)
        {
            var quat = new Quaternion(reading.QuaternionX, reading.QuaternionY,
                                      reading.QuaternionZ, reading.QuaternionW);
            GlobalSystem.Transform = new RotateTransform3D(new QuaternionRotation3D(quat));

            if (calibrate)
            {
                quat.Invert();
                CalibrateManually(quat);
                calibrate = false;
            }
        }
        public void ReadFromRecorder(BinaryReader reader)
        {
            RawSensors = new SensorRawFeatureSet();
            RawKinect = new KinectRawFeatureSet();
            RawManual = new ManualRawFeatureSet();

            RawSensors.ReadFromRecorder(reader);
            RawKinect.ReadFromRecorder(reader);
            RawManual.ReadFromRecorder(reader);

            // Only write and read raw features
            // SensorFeatures = new SensorFeatureSet();
            // KinectFeatures = new KinectFeatureSet();
            // SensorFeatures.ReadFromRecorder(reader);
            // KinectFeatures.ReadFromRecorder(reader);
        }