![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Static Public Member Functions | |
static void | AtomStyle (int a) |
static void | Bond (int a) |
static void | CubeLineBond (int a) |
static void | Metaphor (int a) |
static void | HyperballStyle (int a) |
static void | SetAtomStyle () |
static void | AtomMenu (int a) |
Static Public Attributes | |
static bool | showMetaphorType = false |
static bool | showAtomType = false |
static bool | showBondType = false |
static bool | showHyperballsMenu = false |
static bool | showCubeLineBondMenu = false |
static bool | transMETAPHOR = false |
static float | deltaShrink |
static float | deltaScale |
static float | deltaRadius |
static float | newShrink |
static float | newScale |
static float | newGlobalRadius = 1.0f |
static float | transDelta = 25.0f |
static float | shrink = 0.4f |
static float | globalRadius = 0.35f |
static float | linkScale = 1.0f |
static float | bondWidth = 0.15f |
static float | shininess = 0f |
static Molecule3D | m3d = GameObject.Find ("LoadBox").GetComponent<Molecule3D> () |
Static Private Member Functions | |
static void | MetaphorControl () |
static void | PhysicalChoice () |
static void | RenderingParameters () |
Definition at line 8 of file RepresentationOldGUI.cs.
|
static |
Defines the Atom menu.
a | Window identifier. |
Definition at line 721 of file RepresentationOldGUI.cs.
References Rectangles.atomButtonWidth, Rectangles.atomMenuWidth, UI.UIData.atomtype, HBallMeshManager.brightness, HBallManager.brightness, UI.GUIMoleculeController.LabelSlider(), UI.UIData.lightStop, UI.GUIMoleculeController.LightStop(), UI.GUIMoleculeController.mainCamera, Molecule.Model.MoleculeModel.newtooltip, RenderingParameters(), HBallMeshManager.resetBrightness, HBallManager.resetBrightness, SetAtomStyle(), UI.LoadTypeGUI.SetTitleExit(), UI.GUIMoleculeController.showAtomMenu, UI.GUIMoleculeController.toggle_LIGHTCAM, UI.GUIMoleculeController.toggle_NA_CAMLOCK, and UI.GUIMoleculeController.toggle_NA_CLICK.
Referenced by UI.GUIMoleculeController.SetAtomMenu().
|
static |
Defines the style of atoms.
a | Window identifier. |
Definition at line 42 of file RepresentationOldGUI.cs.
References UI.UIData.bondtype, Molecule.View.DisplayMolecule.ChangeRepresentation(), Molecule.Model.MoleculeModel.newtooltip, BallUpdate.resetColors, UI.LoadTypeGUI.SetTitle(), UI.GUIMoleculeController.toggle_NA_CLICK, UI.GUIMoleculeController.toggle_NA_HIDE, and UI.GUIMoleculeController.toggle_NA_SWITCH.
Referenced by UI.GUIMoleculeController.SetAtomType().
|
static |
Defines the bond type selection menu window, which is called from the appearance menu.
a | Window identifier. |
Definition at line 150 of file RepresentationOldGUI.cs.
References Rectangles.atomButtonWidth, UI.UIData.atomtype, Molecule.View.DisplayMolecule.ChangeRepresentation(), Molecule.Model.MoleculeModel.newtooltip, and UI.LoadTypeGUI.SetTitle().
Referenced by UI.GUIMoleculeController.SetBondType().
|
static |
Defines the cube/line bond window, that lets users define how wide they want their bonds.
Opened from the Atom appearance menu.
a | Window identifier. |
Definition at line 212 of file RepresentationOldGUI.cs.
References bondWidth, Rectangles.cubeLineBondTypeWidth, UI.GUIMoleculeController.LabelSlider(), UI.LoadTypeGUI.SetTitle(), LineUpdate.width, and BondCubeUpdate.width.
Referenced by UI.GUIMoleculeController.SetCubeLineBond().
|
static |
Defines the Hyperball Style window.
opened from the Atom Appearance menu.
a | Window identifier. |
Definition at line 338 of file RepresentationOldGUI.cs.
References UI.UIData.atomtype, UI.GUIMoleculeController.depthfactor, UI.GUIMoleculeController.distanceCueingEnabled, UI.GUIMoleculeController.drag, Molecule.Model.MoleculeModel.fieldLineFileExists, UI.GUIMoleculeController.fov_angle, Rectangles.hyperballWidth, UI.UIData.interactive, UI.GUIMoleculeController.LabelSlider(), UI.GUIMoleculeController.mainCamera, MetaphorControl(), Molecule.Model.MoleculeModel.networkLoaded, PhysicalChoice(), UI.GUIMoleculeController.previous_angle, UI.UIData.resetInteractive, HStickMeshManager.resetScale, HStickMeshManager.resetShrink, Molecule3D.SetFOV(), UI.LoadTypeGUI.SetTitle(), UI.GUIMoleculeController.showGrayColor, UI.GUIMoleculeController.showSurfaceButton, UI.GUIMoleculeController.spring, Molecule.Model.MoleculeModel.surfaceFileExists, UI.GUIMoleculeController.toggle_DISTANCE_CUEING, UI.GUIMoleculeController.toggle_NA_INTERACTIVE, UI.GUIMoleculeController.toggle_NA_MEASURE, UI.UIData.toggleColor, Molecule.View.DisplayMolecule.ToggleDistanceCueing(), and UI.UIData.toggleGray.
Referenced by UI.GUIMoleculeController.SetHyperBall().
|
static |
Defines the Metaphor menu window, which is launched by the Metaphor button in the Hperball Style window
a | Window identifier. |
Definition at line 232 of file RepresentationOldGUI.cs.
References globalRadius, linkScale, Molecule.Model.MoleculeModel.newtooltip, UI.LoadTypeGUI.SetTitleExit(), and shrink.
Referenced by UI.GUIMoleculeController.SetMetaphorType().
|
staticprivate |
Just triggers the metaphor menu.
Part of the Hyperball Style window.
Definition at line 132 of file RepresentationOldGUI.cs.
References Molecule.Model.MoleculeModel.newtooltip.
Referenced by HyperballStyle().
|
staticprivate |
This function defines the GUI components that let users choose the colors used in interactive mode.
When in interactive mode, toggling 'Gray' will turn the molecule gray, and the higher the velocity of an atom/bond, the darker it will be.
Definition at line 307 of file RepresentationOldGUI.cs.
References Molecule.Model.MoleculeModel.newtooltip, UI.UIData.toggleColor, and UI.UIData.toggleGray.
Referenced by HyperballStyle().
|
staticprivate |
Defines the rendering parameters, in the atom appearance menu.
Definition at line 446 of file RepresentationOldGUI.cs.
References UI.GUIDisplay.applyToAtoms, Rectangles.atomButtonWidth, Rectangles.atomMenuWidth, UI.UIData.atomtype, Molecule.View.DisplayMolecule.ChangeRepresentation(), GenericManager.DisableShadows(), GenericManager.EnableShadows(), UnityMolMain.getCurrentAtomManager(), UnityMolMain.getCurrentBondManager(), globalRadius, UI.UIData.hballsmoothmode, Molecule.View.DisplayMolecule.HideMolecule(), UI.GUIMoleculeController.LabelSlider(), UI.GUIMoleculeController.m_colorPicker, Molecule.Model.MoleculeModel.newtooltip, BallUpdate.resetColors, HBallMeshManager.resetRadii, BallUpdate.resetRadii, HBallMeshManager.resetShininess, HBallManager.resetShininess, UI.UIData.shadow, HBallMeshManager.shininess, shininess, HBallManager.shininess, UI.GUIMoleculeController.showAtomsExtendedMenu, UI.GUIMoleculeController.showChainsMenu, Molecule.View.DisplayMolecule.showHydrogens(), Molecule.View.DisplayMolecule.ShowMolecule(), UI.GUIMoleculeController.showPanelsMenu, UI.GUIMoleculeController.showResiduesMenu, UI.GUIMoleculeController.showSetAtomScales, UI.UIData.switchmode, UI.GUIMoleculeController.toggle_HIDE_HYDROGEN, UI.GUIMoleculeController.toggle_NA_AUTOMOVE, UI.GUIMoleculeController.toggle_NA_HBALLSMOOTH, UI.GUIMoleculeController.toggle_NA_HIDE, and UI.GUIMoleculeController.toggle_NA_SWITCH.
Referenced by AtomMenu().
|
static |
Sets the atom style.
Calls a few sub-functions that define GUI elements for structure, smoothness, etc.
Definition at line 587 of file RepresentationOldGUI.cs.
References Rectangles.atomButtonWidth, UI.UIData.atomtype, UI.UIData.bondtype, Molecule.View.DisplayMolecule.ChangeRepresentation(), UI.UIData.hballsmoothmode, UI.GUIMoleculeController.m_colorPicker, UI.GUIMoleculeController.Molecule3DComp, Molecule.Model.MoleculeModel.newtooltip, Molecule3D.PreviousAtomType, showAtomType, showBondType, UI.GUIMoleculeController.toggle_NA_HBALLSMOOTH, and UI.GUIMoleculeController.toggle_NA_HIDE.
Referenced by AtomMenu(), and SecondaryStructureOldGUI.ChooseStructure_BF().
|
static |
Definition at line 31 of file RepresentationOldGUI.cs.
Referenced by CubeLineBond(), and BondCubeUpdate.Start().
|
static |
Definition at line 21 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().
|
static |
Definition at line 20 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().
|
static |
Definition at line 19 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().
|
static |
Definition at line 29 of file RepresentationOldGUI.cs.
Referenced by SecondaryStructureOldGUI.ChooseStructure_BF(), Molecule3D.clearScene(), Selections.clearSelection(), Molecule3D.loadFile(), AtomsGUI.Metaphor(), Metaphor(), AtomsGUI.Radius(), RenderingParameters(), HStickManager.ResetRadii(), HStickMeshManager.ResetRadii(), CubeManager.ResetRadii(), SphereManager.ResetRadii(), HBallMeshManager.ResetRadii(), HBallManager.ResetRadii(), and Molecule3D.Update().
|
static |
Definition at line 30 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.BondScale(), Molecule3D.loadFile(), AtomsGUI.Metaphor(), Metaphor(), HStickMeshManager.ResetScale(), and Molecule3D.Update().
|
static |
Definition at line 34 of file RepresentationOldGUI.cs.
|
static |
Definition at line 24 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().
|
static |
Definition at line 23 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().
|
static |
Definition at line 22 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().
|
static |
Definition at line 32 of file RepresentationOldGUI.cs.
Referenced by RenderingParameters().
|
static |
Definition at line 12 of file RepresentationOldGUI.cs.
Referenced by SetAtomStyle(), UI.GUIMoleculeController.SetAtomType(), UI.GUIMoleculeController.SetCubeLineBond(), and Molecule3D.Update().
|
static |
Definition at line 13 of file RepresentationOldGUI.cs.
Referenced by SetAtomStyle(), UI.GUIMoleculeController.SetBondType(), UI.GUIMoleculeController.SetCubeLineBond(), and Molecule3D.Update().
|
static |
Definition at line 15 of file RepresentationOldGUI.cs.
Referenced by UI.GUIMoleculeController.SetCubeLineBond().
|
static |
Definition at line 14 of file RepresentationOldGUI.cs.
Referenced by UI.GUIMoleculeController.SetHyperBall(), and Molecule3D.Update().
|
static |
Definition at line 11 of file RepresentationOldGUI.cs.
Referenced by UI.GUIMoleculeController.SetMetaphorType().
|
static |
Definition at line 28 of file RepresentationOldGUI.cs.
Referenced by SecondaryStructureOldGUI.ChooseStructure_BF(), Molecule3D.loadFile(), AtomsGUI.Metaphor(), Metaphor(), HStickMeshManager.ResetShrink(), AtomsGUI.Shrink(), and Molecule3D.Update().
|
static |
Definition at line 25 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().
|
static |
Definition at line 18 of file RepresentationOldGUI.cs.
Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().