//TextWriter tw;


        // modified
        #region Public API
        public KinectDiagnosticViewer()
        {
            InitializeComponent();
            /*
            bodyMM.IsEnabled = false;
            leftHandMM.IsEnabled = false;
            rightHandMM.IsEnabled = false;
            leftLegMM.IsEnabled = false;
            rightLegMM.IsEnabled = false;
            */

            contor = 0;

            motionUtils = new MotionUtils();
            bodyState = new State(Constants.stateType.INTERMEDIATE, "");
            bodyState.setName("D");
            leftHandState = new State(Constants.stateType.INTERMEDIATE, "");
            leftHandState.setName("Lc");
            rightHandState = new State(Constants.stateType.INTERMEDIATE, "");
            rightHandState.setName("Lc");
            leftLegState = new State(Constants.stateType.INTERMEDIATE, "");
            leftLegState.setName("D");
            rightLegState = new State(Constants.stateType.INTERMEDIATE, "");
            rightLegState.setName("D");

            bodyCommonPosition = new List<string>();
            leftHandCommonPosition = new List<string>();
            rightHandCommonPosition = new List<string>();
            leftLegCommonPosition = new List<string>();
            rightLegCommonPosition = new List<string>();
        }
Beispiel #2
0
        //TextWriter tw;


        // modified
        #region Public API
        public KinectDiagnosticViewer()
        {
            InitializeComponent();

            /*
             * bodyMM.IsEnabled = false;
             * leftHandMM.IsEnabled = false;
             * rightHandMM.IsEnabled = false;
             * leftLegMM.IsEnabled = false;
             * rightLegMM.IsEnabled = false;
             */

            contor = 0;

            motionUtils = new MotionUtils();
            bodyState   = new State(Constants.stateType.INTERMEDIATE, "");
            bodyState.setName("D");
            leftHandState = new State(Constants.stateType.INTERMEDIATE, "");
            leftHandState.setName("Lc");
            rightHandState = new State(Constants.stateType.INTERMEDIATE, "");
            rightHandState.setName("Lc");
            leftLegState = new State(Constants.stateType.INTERMEDIATE, "");
            leftLegState.setName("D");
            rightLegState = new State(Constants.stateType.INTERMEDIATE, "");
            rightLegState.setName("D");

            bodyCommonPosition      = new List <string>();
            leftHandCommonPosition  = new List <string>();
            rightHandCommonPosition = new List <string>();
            leftLegCommonPosition   = new List <string>();
            rightLegCommonPosition  = new List <string>();
        }