|
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Inheritance diagram for HBallMeshManager:
Collaboration diagram for HBallMeshManager: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) |
| void | SetTexture (Texture texture) |
| void | SetTexture (string resource_name) |
| override GameObject | GetBall (int id) |
| override void | ResetPositions () |
| override void | ResetIMDSimulationPositions () |
| override void | DisableRenderers () |
| override void | EnableRenderers () |
| override void | EnableShadows () |
| override void | DisableShadows () |
| void | SetBrightness (float val) |
| void | ResetBrightness () |
| override void | ResetRadii () |
| void | ResetShininess () |
| void | ApplyTextures () |
| override void | showHydrogens (bool hide) |
| void | hideAtom (int idAtom, bool show) |
| void | ResetVisibility () |
| SingleAtomSelection | getClosestAtomGameObject (Vector3 position) |
| void | CreateMouseOversIMDSimulation () |
| void | DestroyMouseOversIMDSimulation () |
Public Attributes | |
| GameObject[] | hball_meshes = new GameObject[0] |
| GameObject[] | collidersGO |
| Dictionary< int, KeyValuePair< int, int > > | coordAtomTexture |
| Material[] | materialsAtoms |
| Texture2D[] | texturesAtoms |
| Material[] | materialsSticks |
| GameObject | collidersParent |
Public Attributes inherited from GenericManager | |
| bool | isInit = false |
Static Public Attributes | |
| static int | selectionAtoms |
| static float | brightness = 1.0f |
| static float | shininess = 0.0f |
| static bool | resetBrightness = false |
| static bool | resetRadii = false |
| static bool | resetShininess = false |
| static float | scaleAtoms = 1.0f |
Private Member Functions | |
| void | Update () |
Private Attributes | |
| List< int > | texturesToUpdate |
Definition at line 11 of file HBallMeshManager.cs.
| void HBallMeshManager.ApplyTextures | ( | ) |
Definition at line 618 of file HBallMeshManager.cs.
Referenced by SugarManager.Hide_No_Sugar_Hyperballs(), ResetIMDSimulationPositions(), ResetPositions(), ResetRadii(), ResetVisibility(), SetColor(), SugarManager.show_HyperBalls_Sugar(), and showHydrogens().
Here is the caller graph for this function:| void HBallMeshManager.CreateMouseOversIMDSimulation | ( | ) |
Implements GenericAtomManager.
Definition at line 689 of file HBallMeshManager.cs.
References MouseOverMoleculeIMDSimulation.setAtomId().
Referenced by EnableRenderers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Disable and destroys all the Hyperballs
Implements GenericManager.
Definition at line 48 of file HBallMeshManager.cs.
References GenericManager.isInit.
Referenced by Molecule.View.DisplayMolecule.DestroyAllAtomsAndBonds().
Here is the caller graph for this function:| void HBallMeshManager.DestroyMouseOversIMDSimulation | ( | ) |
Implements GenericAtomManager.
Definition at line 697 of file HBallMeshManager.cs.
Referenced by DisableRenderers().
Here is the caller graph for this function:
|
virtual |
Disables the renderers for the entire set of balls and sticks.
Implements GenericManager.
Definition at line 525 of file HBallMeshManager.cs.
References DestroyMouseOversIMDSimulation(), and UI.GUIMoleculeController.toggle_IMD.
Here is the call graph for this function:
|
virtual |
Implements GenericManager.
Definition at line 562 of file HBallMeshManager.cs.
|
virtual |
Enables the renderers for the entire set of balls and sticks.
Implements GenericManager.
Definition at line 542 of file HBallMeshManager.cs.
References CreateMouseOversIMDSimulation(), UnityMolMain.setCurrentAtomManager(), and UI.GUIMoleculeController.toggle_IMD.
Referenced by Molecule.View.DisplayMolecule.ChangeRepresentation(), and Molecule.View.DisplayAtom.AtomMeshStyle.DisplayAtoms().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements GenericManager.
Definition at line 555 of file HBallMeshManager.cs.
|
virtual |
Gets the GameObject from hballs at the position "id".
| id | Identifier. |
Implements GenericManager.
Definition at line 461 of file HBallMeshManager.cs.
References Molecule.Model.MoleculeModel.atoms.
| SingleAtomSelection HBallMeshManager.getClosestAtomGameObject | ( | Vector3 | position | ) |
Implements GenericAtomManager.
Definition at line 686 of file HBallMeshManager.cs.
| void HBallMeshManager.hideAtom | ( | int | idAtom, |
| bool | show | ||
| ) |
Definition at line 646 of file HBallMeshManager.cs.
Referenced by SugarManager.Hide_No_Sugar_Hyperballs(), and SugarManager.show_HyperBalls_Sugar().
Here is the caller graph for this function:
|
virtual |
Initalizes this instance.
Implements GenericManager.
Definition at line 33 of file HBallMeshManager.cs.
References GenericManager.isInit, and UnityMolMain.setCurrentAtomManager().
Referenced by Molecule.View.DisplayAtom.AtomCubeStyle.DisplayAtomCube(), and Molecule.View.DisplayAtom.AtomMeshStyle.DisplayAtoms().
Here is the call graph for this function:
Here is the caller graph for this function:| void HBallMeshManager.ResetBrightness | ( | ) |
Definition at line 574 of file HBallMeshManager.cs.
References HStickManager.resetBrightness, and HStickMeshManager.resetBrightness.
Referenced by Update().
Here is the caller graph for this function:
|
virtual |
Resets the positions of all balls.
(Useful after interactive mode)
Implements GenericManager.
Definition at line 500 of file HBallMeshManager.cs.
References ApplyTextures(), Molecule.Model.MoleculeModel.atomsIMDSimulationLocationlist, Molecule.Model.MoleculeModel.atomsNamelist, and EncodeFloatToColor.EncodeFloatRGBA().
Here is the call graph for this function:
|
virtual |
Resets the positions of all balls.
(Useful after interactive mode)
Implements GenericManager.
Definition at line 473 of file HBallMeshManager.cs.
References ApplyTextures(), Molecule.Model.MoleculeModel.atomsLocationlist, Molecule.Model.MoleculeModel.atomsNamelist, and EncodeFloatToColor.EncodeFloatRGBA().
Here is the call graph for this function:
|
virtual |
Implements GenericManager.
Definition at line 583 of file HBallMeshManager.cs.
References HStickManager.adjustRadii, ApplyTextures(), Molecule.Model.MoleculeModel.atomsLocalScaleList, Molecule.Model.MoleculeModel.atomsNamelist, Molecule.Model.MoleculeModel.atomsTypelist, EncodeFloatToColor.EncodeFloatRGBA(), RepresentationOldGUI.globalRadius, and HStickMeshManager.resetRadii.
Referenced by Update().
Here is the call graph for this function:
Here is the caller graph for this function:| void HBallMeshManager.ResetShininess | ( | ) |
Definition at line 608 of file HBallMeshManager.cs.
References HStickManager.resetShininess, HStickMeshManager.resetShininess, HStickManager.shininess, shininess, and HStickMeshManager.shininess.
Referenced by Update().
Here is the caller graph for this function:| void HBallMeshManager.ResetVisibility | ( | ) |
Definition at line 657 of file HBallMeshManager.cs.
References ApplyTextures(), and Molecule.Model.MoleculeModel.atomsNamelist.
Referenced by SugarManager.Hide_No_Sugar_Hyperballs(), and SugarManager.show_HyperBalls_Sugar().
Here is the call graph for this function:
Here is the caller graph for this function:| void HBallMeshManager.SetBrightness | ( | float | val | ) |
Definition at line 571 of file HBallMeshManager.cs.
|
virtual |
Sets the color of atoms.
| col | Color. |
| atom | Atom type. |
| residue | Residue. |
| chain | Chain. |
Implements GenericManager.
Definition at line 87 of file HBallMeshManager.cs.
References ApplyTextures(), Molecule.Model.MoleculeModel.atomsChainList, Molecule.Model.MoleculeModel.atomsColorList, Molecule.Model.MoleculeModel.atomsNamelist, Molecule.Model.MoleculeModel.atomsResnamelist, Molecule.Model.MoleculeModel.atomsTypelist, UI.GUIDisplay.quickSelection, HStickMeshManager.resetColors, and Molecule.Model.AtomModel.type.
Here is the call graph for this function:
|
virtual |
Sets the color of a specific atom.
(Atom selection)
| col | Color. |
| atomNum | Atom number. |
Implements GenericManager.
Definition at line 285 of file HBallMeshManager.cs.
References ApplyTextures(), Molecule.Model.MoleculeModel.atomsColorList, Molecule.Model.MoleculeModel.atomsTypelist, and HStickMeshManager.resetColors.
Here is the call graph for this function:
|
virtual |
Changes the scale of the atoms.
| atom | Atom type. |
| residue | Residue. |
| chain | Chain. |
Implements GenericManager.
Definition at line 319 of file HBallMeshManager.cs.
References Molecule.Model.MoleculeModel.atomsLocalScaleList, Molecule.Model.MoleculeModel.atomsNamelist, and UI.GUIDisplay.newScale.
|
virtual |
Changes the scale for Atom selection.
| id | Identifier of the selected atom. |
Implements GenericManager.
Definition at line 434 of file HBallMeshManager.cs.
| void HBallMeshManager.SetTexture | ( | Texture | texture | ) |
Definition at line 438 of file HBallMeshManager.cs.
References HStickMeshManager.resetTexture, and HStickMeshManager.texture.
Referenced by SetTexture().
Here is the caller graph for this function:| void HBallMeshManager.SetTexture | ( | string | resource_name | ) |
Definition at line 445 of file HBallMeshManager.cs.
References SetTexture().
Here is the call graph for this function:
|
virtual |
Implements GenericManager.
Definition at line 628 of file HBallMeshManager.cs.
References ApplyTextures(), Molecule.Model.MoleculeModel.atomsNamelist, and Molecule.Model.MoleculeModel.atomsTypelist.
Here is the call graph for this function:
|
virtual |
Implements GenericManager.
Definition at line 64 of file HBallMeshManager.cs.
|
private |
Definition at line 670 of file HBallMeshManager.cs.
References ResetBrightness(), ResetRadii(), and ResetShininess().
Here is the call graph for this function:
|
static |
Definition at line 21 of file HBallMeshManager.cs.
Referenced by RepresentationOldGUI.AtomMenu(), and AtomsGUI.Brightness().
| GameObject [] HBallMeshManager.collidersGO |
Definition at line 14 of file HBallMeshManager.cs.
Referenced by Molecule.View.DisplayAtom.AtomMeshStyle.DisplayAtoms().
| GameObject HBallMeshManager.collidersParent |
Definition at line 27 of file HBallMeshManager.cs.
Referenced by Molecule.View.DisplayAtom.AtomMeshStyle.DisplayAtoms().
| Dictionary<int,KeyValuePair<int,int> > HBallMeshManager.coordAtomTexture |
Definition at line 17 of file HBallMeshManager.cs.
Referenced by Molecule.View.DisplayAtom.AtomMeshStyle.DisplayAtoms().
| GameObject [] HBallMeshManager.hball_meshes = new GameObject[0] |
Definition at line 13 of file HBallMeshManager.cs.
Referenced by Molecule.View.DisplayAtom.AtomMeshStyle.DisplayAtoms().
| Material [] HBallMeshManager.materialsAtoms |
Definition at line 18 of file HBallMeshManager.cs.
| Material [] HBallMeshManager.materialsSticks |
Definition at line 20 of file HBallMeshManager.cs.
|
static |
Definition at line 23 of file HBallMeshManager.cs.
Referenced by RepresentationOldGUI.AtomMenu(), and AtomsGUI.Brightness().
|
static |
Definition at line 24 of file HBallMeshManager.cs.
Referenced by AtomsGUI.Radius(), RepresentationOldGUI.RenderingParameters(), and Molecule3D.Update().
|
static |
Definition at line 25 of file HBallMeshManager.cs.
Referenced by RepresentationOldGUI.RenderingParameters().
|
static |
Definition at line 26 of file HBallMeshManager.cs.
|
static |
Definition at line 15 of file HBallMeshManager.cs.
|
static |
Definition at line 22 of file HBallMeshManager.cs.
Referenced by RepresentationOldGUI.RenderingParameters(), and ResetShininess().
| Texture2D [] HBallMeshManager.texturesAtoms |
Definition at line 19 of file HBallMeshManager.cs.
|
private |
Definition at line 16 of file HBallMeshManager.cs.