Пример #1
0
        private MotionDataUtilityForm()
        {
            MotionDataUtilSettings.Singleton.Initialize();
            InitializeComponent();

            _dataSet.ClearFrame();
            _dataSet.ClearObject();
            motionDataViewer1.AttachTimeController(TimeController.Singleton);
            motionDataViewer1.AttachDataSet(_dataSet);
            motionDataMarkerList1.AttachDataSet(_dataSet);
            objectExistsView1.AttachDataSet(_dataSet);
            objectExistsView1.AttachTimeController(TimeController.Singleton);
            _dataSet.FrameListChanged     += onDataSetChanged;
            _dataSet.ObjectInfoSetChanged += onDataSetChanged;
            _isDataSetModified             = false;

            TimePlayerMotionData.AttachTimeController(TimeController.Singleton);
            TimeController.Singleton.AddTimeInterval(_dataSet);

            Script.ScriptConsole.Singleton.ParentControl = this;
            Script.ScriptConsole.Singleton.MotionDataSet = _dataSet;
            registerScriptFunctions();

            this.UpdateOperationMenu();
            setSideBarVisible(true);
            this.Disposed += new EventHandler(MotionDataUtilityForm_Disposed);
            menuStrip1.Items.RemoveByKey("旧エディットToolStripMenuItem");
        }