UnityMol  0.9.6-875
UnityMol viewer / In developement
RepresentationOldGUI Class Reference
+ Collaboration diagram for RepresentationOldGUI:

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 ()
 

Detailed Description

Definition at line 8 of file RepresentationOldGUI.cs.

Member Function Documentation

static void RepresentationOldGUI.AtomStyle ( int  a)
static
static void RepresentationOldGUI.Bond ( int  a)
static

Defines the bond type selection menu window, which is called from the appearance menu.

Parameters
aWindow 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void RepresentationOldGUI.CubeLineBond ( int  a)
static

Defines the cube/line bond window, that lets users define how wide they want their bonds.

Opened from the Atom appearance menu.

Parameters
aWindow 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void RepresentationOldGUI.Metaphor ( int  a)
static

Defines the Metaphor menu window, which is launched by the Metaphor button in the Hperball Style window

Parameters
aWindow 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void RepresentationOldGUI.MetaphorControl ( )
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().

+ Here is the caller graph for this function:

static void RepresentationOldGUI.PhysicalChoice ( )
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().

+ Here is the caller graph for this function:

static void RepresentationOldGUI.RenderingParameters ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void RepresentationOldGUI.SetAtomStyle ( )
static

Member Data Documentation

float RepresentationOldGUI.bondWidth = 0.15f
static

Definition at line 31 of file RepresentationOldGUI.cs.

Referenced by CubeLineBond(), and BondCubeUpdate.Start().

float RepresentationOldGUI.deltaRadius
static

Definition at line 21 of file RepresentationOldGUI.cs.

Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().

float RepresentationOldGUI.deltaScale
static

Definition at line 20 of file RepresentationOldGUI.cs.

Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().

float RepresentationOldGUI.deltaShrink
static

Definition at line 19 of file RepresentationOldGUI.cs.

Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().

float RepresentationOldGUI.linkScale = 1.0f
static
Molecule3D RepresentationOldGUI.m3d = GameObject.Find ("LoadBox").GetComponent<Molecule3D> ()
static

Definition at line 34 of file RepresentationOldGUI.cs.

float RepresentationOldGUI.newGlobalRadius = 1.0f
static

Definition at line 24 of file RepresentationOldGUI.cs.

Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().

float RepresentationOldGUI.newScale
static

Definition at line 23 of file RepresentationOldGUI.cs.

Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().

float RepresentationOldGUI.newShrink
static

Definition at line 22 of file RepresentationOldGUI.cs.

Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().

float RepresentationOldGUI.shininess = 0f
static

Definition at line 32 of file RepresentationOldGUI.cs.

Referenced by RenderingParameters().

bool RepresentationOldGUI.showAtomType = false
static
bool RepresentationOldGUI.showBondType = false
static
bool RepresentationOldGUI.showCubeLineBondMenu = false
static

Definition at line 15 of file RepresentationOldGUI.cs.

Referenced by UI.GUIMoleculeController.SetCubeLineBond().

bool RepresentationOldGUI.showHyperballsMenu = false
static
bool RepresentationOldGUI.showMetaphorType = false
static

Definition at line 11 of file RepresentationOldGUI.cs.

Referenced by UI.GUIMoleculeController.SetMetaphorType().

float RepresentationOldGUI.transDelta = 25.0f
static

Definition at line 25 of file RepresentationOldGUI.cs.

Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().

bool RepresentationOldGUI.transMETAPHOR = false
static

Definition at line 18 of file RepresentationOldGUI.cs.

Referenced by AtomsGUI.Metaphor(), and Molecule3D.Update().


The documentation for this class was generated from the following file: