Exemplo n.º 1
0
 public static void CreateSceneManager(OgreImage ogreimg)
 {
     singleton                 = new EsdSceneManager();
     singleton.OgreImage       = ogreimg;
     singleton.ModelDataManage = new ModelDataMaintenance();
     singleton.PanState        = false;
 }
Exemplo n.º 2
0
        private void Window1_OnLoaded(object sender, RoutedEventArgs e)
        {
            _ogreImage.InitOgreAsync();
            EsdSceneManager.CreateSceneManager(_ogreImage);
            OpenModelGroup();
            LoadAllModel();
            LoadModelFiles();
            //向工具管理器增加工具

            /*  panel1.MouseDown += new MouseEventHandler(ToolManageObject.MouseDown);
             * panel1.MouseMove += new MouseEventHandler(ToolManageObject.MouseMove);
             * panel1.MouseUp += new MouseEventHandler(ToolManageObject.MouseUp);
             * this.KeyDown += new KeyEventHandler(ToolManageObject.KeyDown);
             * this.KeyUp += new KeyEventHandler(ToolManageObject.KeyUp);*/
        }