![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Member Functions | |
override void | Init () |
override void | DestroyAll () |
override void | ToggleDistanceCueing (bool enabling) |
override void | SetColor (Color col, List< string > atom, string residue="All", string chain="All") |
override void | SetColor (Color col, int atomNum) |
override void | SetRadii (List< string > atom, string residue="All", string chain="All") |
override void | SetRadii (int id) |
Color | GetColor (Vector3 pos) |
override GameObject | GetBall (int id) |
override void | DisableRenderers () |
override void | EnableRenderers () |
override void | EnableShadows () |
override void | DisableShadows () |
override void | ResetRadii () |
void | CreateMouseOversIMDSimulation () |
void | DestroyMouseOversIMDSimulation () |
override void | ResetPositions () |
override void | ResetIMDSimulationPositions () |
SingleAtomSelection | getClosestAtomGameObject (Vector3 position) |
override void | showHydrogens (bool hide) |
Static Public Attributes | |
static GameObject[] | cubeGameObjects |
Private Member Functions | |
void | ResetColors () |
void | Update () |
Private Attributes | |
BallUpdateCube[] | cubes |
Additional Inherited Members | |
![]() | |
bool | isInit = false |
Definition at line 9 of file CubeManager.cs.
void CubeManager.CreateMouseOversIMDSimulation | ( | ) |
Creates the mouse overs, needed when IMD simulation and mouse interaction are required.
Implements GenericAtomManager.
Definition at line 420 of file CubeManager.cs.
References MouseOverMoleculeIMDSimulation.setAtomId().
Referenced by EnableRenderers().
|
virtual |
Implements GenericManager.
Definition at line 21 of file CubeManager.cs.
References GenericManager.isInit.
Referenced by Molecule.View.DisplayMolecule.DestroyAllAtomsAndBonds().
void CubeManager.DestroyMouseOversIMDSimulation | ( | ) |
Destroys the mouse overs
Implements GenericAtomManager.
Definition at line 430 of file CubeManager.cs.
Referenced by DisableRenderers().
|
virtual |
Disables the renderers for all objects managed by the instance of the manager.
Implements GenericManager.
Definition at line 365 of file CubeManager.cs.
References UI.UIData.atomtype, DestroyMouseOversIMDSimulation(), and UI.GUIMoleculeController.toggle_IMD.
Referenced by Update().
|
virtual |
Implements GenericManager.
Definition at line 397 of file CubeManager.cs.
|
virtual |
Enables the renderers for all objects managed by the instance of the manager.
Implements GenericManager.
Definition at line 378 of file CubeManager.cs.
References CreateMouseOversIMDSimulation(), UnityMolMain.setCurrentAtomManager(), and UI.GUIMoleculeController.toggle_IMD.
|
virtual |
Implements GenericManager.
Definition at line 391 of file CubeManager.cs.
|
virtual |
Gets the GameObject from cubes at the position "id".
id | Identifier . |
Implements GenericManager.
Definition at line 361 of file CubeManager.cs.
SingleAtomSelection CubeManager.getClosestAtomGameObject | ( | Vector3 | position | ) |
Implements GenericAtomManager.
Definition at line 470 of file CubeManager.cs.
References SingleAtomSelection.go, BallUpdate.number, and SingleAtomSelection.pdbIndex.
Color CubeManager.GetColor | ( | Vector3 | pos | ) |
Gets the color of the atom at the location "pos".
pos | Position. |
Definition at line 345 of file CubeManager.cs.
|
virtual |
Initializes this instance of the manager.
Implements GenericManager.
Definition at line 13 of file CubeManager.cs.
References GenericManager.isInit, BallUpdate.resetColors, and BallUpdate.resetRadii.
Referenced by Molecule.View.DisplayAtom.AtomCubeStyle.DisplayAtomCube().
|
private |
Resets the colors of all cubes and sticks.
Uses the color sets in BallUpdateCube.
Definition at line 37 of file CubeManager.cs.
References Molecule.Model.MoleculeModel.atomsColorList, UI.UIData.atomtype, BallUpdate.bondsReadyToBeReset, BallUpdate.number, and BallUpdate.resetColors.
Referenced by Update().
|
virtual |
Implements GenericManager.
Definition at line 462 of file CubeManager.cs.
References Molecule.Model.MoleculeModel.atomsIMDSimulationLocationlist.
|
virtual |
Implements GenericManager.
Definition at line 453 of file CubeManager.cs.
References Molecule.Model.MoleculeModel.atomsLocationlist.
|
virtual |
Implements GenericManager.
Definition at line 404 of file CubeManager.cs.
References Molecule.Model.MoleculeModel.atomsLocalScaleList, Molecule.Model.MoleculeModel.atomsTypelist, UI.UIData.atomtype, RepresentationOldGUI.globalRadius, BallUpdate.number, BallUpdate.oldRadiusFactor, BallUpdate.radiusFactor, and BallUpdate.resetRadii.
Referenced by Update().
|
virtual |
Sets the color of atoms.
col | Color. |
atom | Atom type. |
residue | Residue. |
chain | Chain. |
Implements GenericManager.
Definition at line 63 of file CubeManager.cs.
References Molecule.Model.MoleculeModel.atomsChainList, Molecule.Model.MoleculeModel.atomsColorList, Molecule.Model.MoleculeModel.atomsNamelist, Molecule.Model.MoleculeModel.atomsResnamelist, BallUpdate.number, UI.GUIDisplay.quickSelection, and BallUpdate.resetColors.
|
virtual |
Sets the color of a specific atom.
atomNum | Atom number. |
col | Color. |
Implements GenericManager.
Definition at line 192 of file CubeManager.cs.
References Molecule.Model.MoleculeModel.atomsColorList, BallUpdate.number, and BallUpdate.resetColors.
|
virtual |
Changes the scale of the atoms.
atom | Atom type. |
residue | Residue. |
chain | Chain. |
Implements GenericManager.
Definition at line 212 of file CubeManager.cs.
References Molecule.Model.MoleculeModel.atomsChainList, Molecule.Model.MoleculeModel.atomsLocalScaleList, Molecule.Model.MoleculeModel.atomsNamelist, Molecule.Model.MoleculeModel.atomsResnamelist, BallUpdate.bondsReadyToBeReset, UI.GUIDisplay.newScale, BallUpdate.number, UI.GUIDisplay.quickSelection, and BallUpdate.resetRadii.
|
virtual |
Changes the scale for Atom selection.
id | Identifier of the selected atom. |
Implements GenericManager.
Definition at line 327 of file CubeManager.cs.
References Molecule.Model.MoleculeModel.atomsLocalScaleList, BallUpdate.bondsReadyToBeReset, UI.GUIDisplay.newScale, BallUpdate.number, and BallUpdate.resetRadii.
|
virtual |
Implements GenericManager.
Definition at line 494 of file CubeManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 30 of file CubeManager.cs.
|
private |
Definition at line 437 of file CubeManager.cs.
References UI.UIData.atomtype, DisableRenderers(), UI.UIData.isFileLoaded, BallUpdate.oldRadiusFactor, BallUpdate.radiusFactor, ResetColors(), BallUpdate.resetColors, BallUpdate.resetRadii, and ResetRadii().
|
static |
Definition at line 11 of file CubeManager.cs.
Referenced by Molecule.View.DisplayAtom.AtomCubeStyle.DisplayAtomCube().
|
private |
Definition at line 10 of file CubeManager.cs.