![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Static Public Member Functions | |
static void | openCloseSurfaceMenu () |
static void | Surface (int a) |
static void | SurfaceParams (int a) |
static void | HydroMenu (int a) |
static void | SurfaceCut (int a) |
static void | MoveCutPlane (int a) |
static void | SurfaceMobileCut (int a) |
static void | SurfaceTexture (int a) |
static void | FileSelectedCallback (string path) |
Static Public Attributes | |
static bool | showSurfaceMenu = false |
static bool | showBfactorMenu = false |
static bool | showSurfaceTexture = false |
static bool | showHydroMenu = false |
static bool | showSurfaceCut = false |
static bool | showSurfaceMobileCut = false |
static bool | cutPlaneIsDraggable = true |
Static Private Member Functions | |
static void | textureMenu (string texDir, string[] texList, string texDescr) |
Static Private Attributes | |
static ColorObject | tmpSurfaceColor = new ColorObject(Color.white) |
static ColorObject | tmpSurfaceInsideColor = new ColorObject(Color.gray) |
static bool | isTransparentSurface = false |
static float | alphaTransparentSurface = 0.25f |
Definition at line 6 of file SurfaceOldGUI.cs.
|
static |
Definition at line 478 of file SurfaceOldGUI.cs.
References SurfaceManager.externalSurfaceTexture, SurfaceManager.extSurf, UI.GUIMoleculeController.FileBrowser_show2, UI.GUIMoleculeController.m_fileBrowser, SurfaceManager.m_last_extSurf_Path, and UI.GUIMoleculeController.m_textPath.
Referenced by textureMenu().
|
static |
Definition at line 254 of file SurfaceOldGUI.cs.
References UI.LoadTypeGUI.SetTitleExit(), showHydroMenu, SurfaceManager.useEinsenbergColor(), SurfaceManager.useEnglemanColor(), SurfaceManager.useKyteAndDoolittleColor(), and SurfaceManager.useWhiteOctanolColor().
Referenced by UI.GUIMoleculeController.SetHydroMenu().
|
static |
Defines the move cut plane window, that lets the user change the cut plane of the surface by clicking or scrolling.
Opened from the Surface menu.
a | Window identifier. |
Definition at line 311 of file SurfaceOldGUI.cs.
References cutPlaneIsDraggable, SurfaceManager.cutX, SurfaceManager.cutY, SurfaceManager.cutZ, SurfaceManager.depthCut, UnityMolMain.getSurfaceManager(), UI.LoadTypeGUI.InDeadZone(), Rectangles.movePlaneRect, UI.LoadTypeGUI.SetTitle(), showSurfaceCut, showSurfaceMenu, and SurfaceManager.updateCut().
Referenced by UI.GUIMoleculeController.SetSurfaceCut().
|
static |
Opens or closes the surface menu.
Definition at line 33 of file SurfaceOldGUI.cs.
References SurfaceManager.pdbGen, UI.GUIMoleculeController.showAnimationMenu, showBfactorMenu, UI.GUIMoleculeController.showOpenMenu, UI.GUIMoleculeController.showReactionMenu, showSurfaceMenu, showSurfaceTexture, UI.UIData.toggleBfac, and UI.UIData.toggleSurf.
Referenced by UI.LoadTypeGUI.MainFun().
|
static |
Defines the Surface menu window, which is opened from the main menu window.
a | Window identifier. |
Definition at line 60 of file SurfaceOldGUI.cs.
References SurfaceManager.GenerateSurface(), SurfaceManager.GenerateSurfaceBfact(), UnityMolMain.getSurfaceManager(), SurfaceManager.getSurfaces(), UI.UIData.hasMoleculeDisplay, UI.GUIMoleculeController.LabelSlider(), Molecule.Model.MoleculeModel.newtooltip, UI.LoadTypeGUI.SetTitleExit(), SurfaceManager.ShowHideSurfaces(), SurfaceManager.ShowHideVolumetricDensity(), showSurfaceMenu, Molecule.Model.MoleculeModel.surfaceFileExists, Rectangles.surfaceMenuWidth, SurfaceManager.surfaceThreshold, SurfaceManager.useHetatmForSurface, and SurfaceManager.useSugarForSurface.
Referenced by UI.GUIMoleculeController.SetBfactorMenu(), and UI.GUIMoleculeController.SetSurfaceMenu().
|
static |
Defines the static surface cut window, which is opened from the Surface parameters menu.
a | Window identifier. |
Definition at line 284 of file SurfaceOldGUI.cs.
References SurfaceManager.cutX, SurfaceManager.cutY, SurfaceManager.cutZ, SurfaceManager.depthCut, SurfaceManager.depthCutMax, SurfaceManager.depthCutMin, UnityMolMain.getSurfaceManager(), UI.GUIMoleculeController.LabelSlider(), UI.LoadTypeGUI.SetTitleExit(), showSurfaceCut, Rectangles.surfaceCutWidth, and SurfaceManager.updateCut().
Referenced by UI.GUIMoleculeController.SetSurfaceCut().
|
static |
Defines the mobile surface cut window, which is opened from the Surface parameters menu.
a | Window identifier. |
Definition at line 349 of file SurfaceOldGUI.cs.
References ElectrostaticManager.adjustFieldLineCut, SurfaceManager.depthCut, UnityMolMain.getElectrostaticManager(), UnityMolMain.getSurfaceManager(), UI.GUIMoleculeController.LabelSlider(), ElectrostaticManager.nbFieldLine(), UI.LoadTypeGUI.SetTitle(), Rectangles.surfaceCutWidth, and SurfaceManager.updateCut().
Referenced by UI.GUIMoleculeController.SetSurtfaceMobileCut().
|
static |
Defines the Surface Parameters menu window.
The latter is automatically opened when a surface is generated, in the Surface window.
a | Window identifier. |
Definition at line 121 of file SurfaceOldGUI.cs.
References alphaTransparentSurface, SurfaceManager.brightness, ColorPicker.changed, ColorObject.color, SurfaceManager.colorWeight, UI.GUIMoleculeController.CreateColorPicker(), SurfaceManager.cutMode, UnityMolMain.getSurfaceManager(), isTransparentSurface, UI.GUIMoleculeController.LabelSlider(), UI.GUIMoleculeController.m_colorPicker, Molecule.Model.MoleculeModel.newtooltip, SurfaceManager.setBrightness(), SurfaceManager.setColorWeight(), UI.LoadTypeGUI.SetTitle(), SurfaceManager.SetTransparentSurface(), SurfaceManager.SetTransparentSurfaceColor(), showHydroMenu, showSurfaceTexture, SurfaceManager.SurfaceColor, SurfaceManager.SurfaceInsideColor, Rectangles.surfaceMenuWidth, SurfaceManager.SurfaceRenderUp(), tmpSurfaceColor, UI.GUIMoleculeController.toggle_NA_HIDE, SurfaceManager.updateColors(), SurfaceManager.useBFactorColor(), SurfaceManager.useChainColor(), and SurfaceManager.usePropertiesColor().
Referenced by UI.GUIMoleculeController.SetBfactorMenu(), and UI.GUIMoleculeController.SetSurfaceMenu().
|
static |
Defines the texture selection window.
Negative values of texture_set are used to represent the "best" sets.
a | Window identifier. |
Definition at line 471 of file SurfaceOldGUI.cs.
References UI.GUIMoleculeController.texture_set, textureMenu(), UI.GUIDisplay.textureMenuList, and UI.GUIDisplay.textureMenuTitles.
Referenced by UI.GUIMoleculeController.SetSurfaceTexture().
|
staticprivate |
Helper function to fill a texture choice menu with up to 15 boxes.
texDir | Texture directory. |
texList | List of textures. |
texDescr | Texture description. |
Definition at line 380 of file SurfaceOldGUI.cs.
References UI.GUIMoleculeController.FileBrowser_show2, FileSelectedCallback(), UnityMolMain.getSurfaceManager(), UI.UIData.grayscalemode, UI.GUIMoleculeController.m_fileBrowser, SurfaceManager.m_last_extSurf_Path, Molecule.Model.MoleculeModel.newtooltip, UI.GUIMoleculeController.onlyBestTextures, UI.LoadTypeGUI.SetTitleExit(), showSurfaceTexture, SurfaceManager.surfaceTextureName, UI.GUIMoleculeController.texture_set, Rectangles.textureHeight, UI.GUIDisplay.textureMenuList, Rectangles.textureWidth, and SurfaceManager.updateTexture().
Referenced by SurfaceTexture().
|
staticprivate |
Definition at line 24 of file SurfaceOldGUI.cs.
Referenced by SurfaceParams().
|
static |
Definition at line 19 of file SurfaceOldGUI.cs.
Referenced by UI.LoadTypeGUI.InDeadZone(), and MoveCutPlane().
|
staticprivate |
Definition at line 22 of file SurfaceOldGUI.cs.
Referenced by SurfaceParams().
|
static |
Definition at line 11 of file SurfaceOldGUI.cs.
Referenced by UI.LoadTypeGUI.MainFun(), openCloseSurfaceMenu(), UI.GUIMoleculeController.SetBfactorMenu(), UI.GUIMoleculeController.SetSurfaceCut(), UI.GUIMoleculeController.SetSurfaceTexture(), and UI.GUIMoleculeController.SetSurtfaceMobileCut().
|
static |
Definition at line 13 of file SurfaceOldGUI.cs.
Referenced by HydroMenu(), UI.GUIMoleculeController.SetHydroMenu(), and SurfaceParams().
|
static |
Definition at line 16 of file SurfaceOldGUI.cs.
Referenced by UI.GUIMoleculeController.CameraStop(), UI.LoadTypeGUI.MainFun(), MoveCutPlane(), UI.GUIMoleculeController.SetSurfaceCut(), and SurfaceCut().
|
static |
Definition at line 10 of file SurfaceOldGUI.cs.
Referenced by UI.GUIMoleculeController.CameraStop(), UI.LoadTypeGUI.MainFun(), MoveCutPlane(), openCloseSurfaceMenu(), UI.GUIMoleculeController.SetHydroMenu(), UI.GUIMoleculeController.SetSurfaceCut(), UI.GUIMoleculeController.SetSurfaceMenu(), UI.GUIMoleculeController.SetSurfaceTexture(), UI.GUIMoleculeController.SetSurtfaceMobileCut(), and Surface().
|
static |
Definition at line 17 of file SurfaceOldGUI.cs.
Referenced by UI.LoadTypeGUI.MainFun(), and UI.GUIMoleculeController.SetSurtfaceMobileCut().
|
static |
Definition at line 12 of file SurfaceOldGUI.cs.
Referenced by UI.LoadTypeGUI.MainFun(), openCloseSurfaceMenu(), UI.GUIMoleculeController.SetSurfaceTexture(), SurfaceParams(), and textureMenu().
|
staticprivate |
Definition at line 20 of file SurfaceOldGUI.cs.
Referenced by SurfaceParams().
|
staticprivate |
Definition at line 21 of file SurfaceOldGUI.cs.