![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Member Functions | |
override void | Init () |
override void | DestroyAll () |
override void | SetColor (Color col, List< string > atoms, string residue="All", string chain="All") |
override void | SetColor (Color col, int atomNum) |
override void | SetRadii (List< string > atoms, string residue="All", string chain="All") |
override void | SetRadii (int atomNum) |
override GameObject | GetBall (int id) |
override void | ToggleDistanceCueing (bool enabling) |
override void | ResetPositions () |
void | ResetPositionsInteractive () |
void | ResetColorsInteractive () |
override void | ResetIMDSimulationPositions () |
override void | ResetRadii () |
override void | EnableRenderers () |
override void | DisableRenderers () |
override void | EnableShadows () |
override void | DisableShadows () |
override void | showHydrogens (bool hide) |
void | ResetShininess () |
Static Public Attributes | |
static StickUpdate[] | sticks |
static bool | xgmml = false |
static float | depthFactor = 1.0f |
static bool | resetBrightness = false |
static bool | adjustRadii = false |
static float | shininess = 0.0f |
static bool | resetShininess = false |
Private Member Functions | |
void | ResetColors () |
void | ResetTextures () |
void | ResetBrightness () |
void | Update () |
Private Attributes | |
Material[] | stickMaterials |
Static Private Attributes | |
static float | oldDepthFactor = 1.0f |
static bool | wasInteractive = false |
static bool | wasInteractiveColored = false |
Additional Inherited Members | |
![]() | |
bool | isInit = false |
Definition at line 9 of file HStickManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 46 of file HStickManager.cs.
References GenericManager.isInit.
Referenced by Molecule.View.DisplayMolecule.DestroyAllAtomsAndBonds().
|
virtual |
Disables the renderers for all objects managed by the instance of the manager.
Implements GenericManager.
Definition at line 250 of file HStickManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 266 of file HStickManager.cs.
|
virtual |
Enables the renderers for all objects managed by the instance of the manager.
Implements GenericManager.
Definition at line 243 of file HStickManager.cs.
References UnityMolMain.setCurrentBondManager().
|
virtual |
Implements GenericManager.
Definition at line 258 of file HStickManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 58 of file HStickManager.cs.
|
virtual |
Initializes this instance of the manager.
Implements GenericManager.
Definition at line 26 of file HStickManager.cs.
References BallUpdate.bondsReadyToBeReset, UI.GUIDisplay.file_extension, and GenericManager.isInit.
Referenced by Molecule.View.DisplayBond.BondCubeStyle.DisplayBonds().
|
private |
Definition at line 284 of file HStickManager.cs.
References HBallManager.brightness.
Referenced by Update().
|
private |
Definition at line 74 of file HStickManager.cs.
References StickUpdate.atomnumber1, StickUpdate.atomnumber2, Molecule.Model.MoleculeModel.atomsColorList, BallUpdate.bondsReadyToBeReset, and UI.UIData.bondtype.
Referenced by Update().
void HStickManager.ResetColorsInteractive | ( | ) |
Definition at line 144 of file HStickManager.cs.
References StickUpdate.atomnumber1, StickUpdate.atomnumber2, and Molecule.Model.MoleculeModel.atoms.
Referenced by Update().
|
virtual |
Implements GenericManager.
Definition at line 154 of file HStickManager.cs.
References StickUpdate.atomnumber1, StickUpdate.atomnumber2, Molecule.Model.MoleculeModel.atomsIMDSimulationLocationlist, and Molecule.Model.MoleculeModel.bondEPList.
|
virtual |
Resets the bond vectors, which is necessary when the balls move.
Not very optimized: transform.position is actually quite costly, and buffering might be better.
Implements GenericManager.
Definition at line 114 of file HStickManager.cs.
References StickUpdate.atomnumber1, StickUpdate.atomnumber2, and Molecule.Model.MoleculeModel.atomsLocationlist.
Referenced by Update(), and Molecule3D.Update().
void HStickManager.ResetPositionsInteractive | ( | ) |
Definition at line 130 of file HStickManager.cs.
References StickUpdate.atomnumber1, StickUpdate.atomnumber2, and Molecule.Model.MoleculeModel.atoms.
Referenced by Update().
|
virtual |
Adjusts the stick radii, which is needed to match the size of the balls when their radii are modified.
Implements GenericManager.
Definition at line 170 of file HStickManager.cs.
References StickUpdate.atomnumber1, StickUpdate.atomnumber2, Molecule.Model.MoleculeModel.atomsLocalScaleList, Molecule.Model.MoleculeModel.atomsTypelist, RepresentationOldGUI.globalRadius, StickUpdate.oldrayon1, and StickUpdate.oldrayon2.
Referenced by Update().
void HStickManager.ResetShininess | ( | ) |
Definition at line 290 of file HStickManager.cs.
Referenced by Update().
|
private |
Definition at line 90 of file HStickManager.cs.
References StickUpdate.atomnumber1, StickUpdate.atomnumber2, Molecule.Model.MoleculeModel.atoms, UI.UIData.atomtype, BallUpdate.bondsReadyToBeReset, and UI.UIData.bondtype.
Referenced by Update().
|
virtual |
Implements GenericManager.
Definition at line 53 of file HStickManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 54 of file HStickManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 55 of file HStickManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 56 of file HStickManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 274 of file HStickManager.cs.
References StickUpdate.atomnumber1, StickUpdate.atomnumber2, and Molecule.Model.MoleculeModel.atomsTypelist.
|
virtual |
Implements GenericManager.
Definition at line 62 of file HStickManager.cs.
References UI.UIData.bondtype.
|
private |
Definition at line 296 of file HStickManager.cs.
References BallUpdate.bondsReadyToBeReset, UI.UIData.bondtype, depthFactor, StickUpdate.oldscale, StickUpdate.oldshrink, ResetBrightness(), ResetColors(), ResetColorsInteractive(), ResetPositions(), ResetPositionsInteractive(), BallUpdate.resetRadii, ResetRadii(), ResetShininess(), ResetTextures(), StickUpdate.scale, StickUpdate.shrink, UI.GUIMoleculeController.toggle_NA_INTERACTIVE, and UI.UIData.toggleGray.
|
static |
Definition at line 15 of file HStickManager.cs.
Referenced by HBallMeshManager.ResetRadii(), and HBallManager.Update().
|
static |
Definition at line 13 of file HStickManager.cs.
Referenced by Update(), and Molecule3D.Update().
|
staticprivate |
Definition at line 16 of file HStickManager.cs.
|
static |
Definition at line 14 of file HStickManager.cs.
Referenced by HBallMeshManager.ResetBrightness(), and HBallManager.ResetBrightness().
|
static |
Definition at line 18 of file HStickManager.cs.
Referenced by HBallMeshManager.ResetShininess(), and HBallManager.ResetShininess().
|
static |
Definition at line 17 of file HStickManager.cs.
Referenced by HBallMeshManager.ResetShininess(), and HBallManager.ResetShininess().
|
private |
Definition at line 23 of file HStickManager.cs.
|
static |
Definition at line 10 of file HStickManager.cs.
Referenced by SugarManager.Hide_No_Sugar_Hyperballs(), and SugarManager.show_HyperBalls_Sugar().
|
staticprivate |
Definition at line 19 of file HStickManager.cs.
|
staticprivate |
Definition at line 20 of file HStickManager.cs.
|
static |
Definition at line 12 of file HStickManager.cs.