Ejemplo 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);
    }
Ejemplo n.º 2
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)
    {
        _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);
    }