Exemple #1
0
        public RefCFD(GUILayer.IterativeSystem system, String settingsName)
        {
            _hasOldMouse = false;
            _system = system;
            _previewWindow.Underlying.AddSystem(_system.Overlay);
            _previewSettings.SelectedObject = _system.PreviewSettings;

            _schemaLoader = new CFDSettingsSchemaLoader(settingsName);
            _systemSettings.Bind(
                _schemaLoader.CreatePropertyContext(_system.SimulationSettings));

            // _previewWindow.MouseDown += _previewWindow_MouseDown;
            _previewWindow.MouseMove += _previewWindow_MouseMove;
            _previewWindow.MouseEnter += _previewWindow_MouseEnter;
        }
Exemple #2
0
        public RefCFD(GUILayer.IterativeSystem system, String settingsName)
        {
            _hasOldMouse = false;
            _system      = system;
            _previewWindow.Underlying.AddSystem(_system.Overlay);
            _previewSettings.SelectedObject = _system.PreviewSettings;

            _schemaLoader = new CFDSettingsSchemaLoader(settingsName);
            _systemSettings.Bind(
                _schemaLoader.CreatePropertyContext(_system.SimulationSettings));

            // _previewWindow.MouseDown += _previewWindow_MouseDown;
            _previewWindow.MouseMove  += _previewWindow_MouseMove;
            _previewWindow.MouseEnter += _previewWindow_MouseEnter;
        }