Esempio n. 1
0
    public void Initialize_Modules(Capture_module capture, Compare_module compare, Animation_module animate,Interaction_module interact, GUI_module user_interface, Recorded_animation_module animate_trial)
    {
        _coach_scenario_state = Coach_scenario_state.INITIALISATION;

        _capture = capture;
        _compare = compare;
        _animate = animate;
        _interact = interact;
        _user_interface = user_interface;
        _animate_trial = animate_trial;
        //Initialise 3D environment

        //Initialise 3D animation

        //Initialise capture module
        _capture.Initialise_capture(_device);
        //Initialise comparison module

        //Initialise database module

        //Initialise GUI module
        //TEMP
        _coach_scenario_state = Coach_scenario_state.START_SCREEN;
        Animation_data temp = new Animation_data();
        temp.Initialize_from_file("test_recorded_data/HB_Underarm_reference");
        _animate_trial.SetRecordedAnimation(temp);

        Animation_data temp_2 = new Animation_data();
        temp_2.Initialize_from_file("test_recorded_data/HB_Underarm_reference_copy");
        _animate_trial.SetReferenceAnimation(temp_2);

        _user_interface.SetLoginMenuVisibility(true);
    }
    public void Initialize_Modules(Capture_module capture, Compare_module compare, Animation_module animate,Interaction_module interact, GUI_module user_interface, Recorded_animation_module animate_trial)
    {
        _test_state = Test_state.INITIALISATION;

        _capture = capture;
        _compare = compare;
        _animate = animate;
        _interact = interact;
        _user_interface = user_interface;
        _animate_trial = animate_trial;
        //Initialise 3D environment

        //Initialise 3D animation

        //Initialise capture module
        _capture.Initialise_capture(_device);
        //Initialise comparison module

        //Initialise database module

        //Initialise GUI module
        //TEMP
        Animation_data temp = new Animation_data();
        temp.Initialize_from_file("test_recorded_data/HB_Underarm_reference");
        _animate_trial.SetRecordedAnimation(temp);
    }
    public void Initialize_Modules(Capture_module capture, Compare_module compare, Animation_module animate,Interaction_module interact, Recorded_animation_module animate_trial)
    {
        _scenario_state = Capture_scene_state.INITIALISATION;

        _capture = capture;
        _compare = compare;
        _animate = animate;
        _interact = interact;

        _animate_trial = animate_trial;
        //Initialise 3D environment

        //Initialise 3D animation

        //Initialise capture module
        _capture.Initialise_capture(_device);
        //Initialise comparison module
        _compare.Initialise_comparison();
        _compare.DrawPlots = false;
        //Initialise database module

        //Initialise GUI module
        //TEMP

        Animation_data temp = new Animation_data();
        temp.Initialize_from_file("test_recorded_data/HB_Underarm_reference");
        _animate_trial.SetRecordedAnimation(temp);

        Animation_data temp_2 = new Animation_data();
        temp_2.Initialize_from_file("test_recorded_data/HB_Underarm_reference_copy");
        _animate_trial.SetReferenceAnimation(temp_2);

        Wait_user();
    }
    public void Initialize_Modules(Capture_module capture, Compare_module compare, Animation_module animate, Interaction_module interact, GUI_module_play_and_learn user_interface, Recorded_animation_module animate_trial)
    {
        _play_scenario_state = Play_scenario_state.START_SCREEN;

        _capture = capture;
        _compare = compare;
        _animate = animate;
        _interact = interact;
        _user_interface = user_interface;
        _animate_trial = animate_trial;
        //Initialise 3D environment

        //Initialise 3D animation

        //Initialise capture module
        _capture.Initialise_capture(_device);
        //Initialise comparison module
        _compare.Initialise_comparison();
        _compare.DrawPlots = false;
        //Initialise database module

        //Initialise GUI module
        //TEMP
        _play_scenario_state = Play_scenario_state.MAIN_MENU;
        Animation_data temp = new Animation_data();
        temp.Initialize_from_file("test_recorded_data/HB_Underarm_reference");
        _animate_trial.SetRecordedAnimation(temp);

        Animation_data temp_2 = new Animation_data();
        temp_2.Initialize_from_file("test_recorded_data/HB_Underarm_reference_copy");
        _animate_trial.SetReferenceAnimation(temp_2);

        /*_user_interface.SetLoginMenuVisibility (true);*/
        _user_interface.SetChildMainMenuVisibility(true);
        _user_interface.SetChildLeftPanelVisibility(true);
    }