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

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 EnableRenderers ()
 
override void DisableRenderers ()
 
override void EnableShadows ()
 
override void DisableShadows ()
 
override void ResetRadii ()
 
override void ResetPositions ()
 
override void ResetIMDSimulationPositions ()
 
override void showHydrogens (bool hide)
 

Private Member Functions

void ResetColors ()
 
void AdjustWidths ()
 
void Update ()
 

Private Attributes

LineUpdate[] lines
 
LineRenderer lineRenderer
 

Additional Inherited Members

- Public Attributes inherited from GenericManager
bool isInit = false
 

Detailed Description

Definition at line 9 of file LineManager.cs.

Member Function Documentation

void LineManager.AdjustWidths ( )
private

Definition at line 52 of file LineManager.cs.

References LineUpdate.oldWidth, and LineUpdate.width.

Referenced by Update().

+ Here is the caller graph for this function:

override void LineManager.DestroyAll ( )
virtual

Implements GenericManager.

Definition at line 22 of file LineManager.cs.

References GenericManager.isInit.

Referenced by Molecule.View.DisplayMolecule.DestroyAllAtomsAndBonds().

+ Here is the caller graph for this function:

override void LineManager.DisableRenderers ( )
virtual

Disables the renderers for all objects managed by the instance of the manager.

Implements GenericManager.

Definition at line 68 of file LineManager.cs.

override void LineManager.DisableShadows ( )
virtual

Implements GenericManager.

Definition at line 81 of file LineManager.cs.

override void LineManager.EnableRenderers ( )
virtual

Enables the renderers for all objects managed by the instance of the manager.

Implements GenericManager.

Definition at line 61 of file LineManager.cs.

References UnityMolMain.setCurrentBondManager().

+ Here is the call graph for this function:

override void LineManager.EnableShadows ( )
virtual

Implements GenericManager.

Definition at line 75 of file LineManager.cs.

override GameObject LineManager.GetBall ( int  id)
virtual

Implements GenericManager.

Definition at line 32 of file LineManager.cs.

override void LineManager.Init ( )
virtual

Initializes this instance of the manager.

Implements GenericManager.

Definition at line 14 of file LineManager.cs.

References BallUpdate.bondsReadyToBeReset, and GenericManager.isInit.

Referenced by Molecule.View.DisplayBond.BondLineStyle.DisplayBonds().

+ Here is the caller graph for this function:

void LineManager.ResetColors ( )
private

Definition at line 40 of file LineManager.cs.

References LineUpdate.atomnumber1, LineUpdate.atomnumber2, Molecule.Model.MoleculeModel.atomsColorList, BallUpdate.bondsReadyToBeReset, and UI.UIData.bondtype.

Referenced by Update().

+ Here is the caller graph for this function:

override void LineManager.ResetIMDSimulationPositions ( )
virtual
override void LineManager.ResetPositions ( )
virtual

Implements GenericManager.

Definition at line 105 of file LineManager.cs.

Referenced by Molecule3D.Update().

+ Here is the caller graph for this function:

override void LineManager.ResetRadii ( )
virtual

Implements GenericManager.

Definition at line 87 of file LineManager.cs.

override void LineManager.SetColor ( Color  col,
List< string >  atoms,
string  residue = "All",
string  chain = "All" 
)
virtual

Implements GenericManager.

Definition at line 27 of file LineManager.cs.

override void LineManager.SetColor ( Color  col,
int  atomNum 
)
virtual

Implements GenericManager.

Definition at line 28 of file LineManager.cs.

override void LineManager.SetRadii ( List< string >  atoms,
string  residue = "All",
string  chain = "All" 
)
virtual

Implements GenericManager.

Definition at line 29 of file LineManager.cs.

override void LineManager.SetRadii ( int  atomNum)
virtual

Implements GenericManager.

Definition at line 30 of file LineManager.cs.

override void LineManager.showHydrogens ( bool  hide)
virtual
override void LineManager.ToggleDistanceCueing ( bool  enabling)
virtual

Implements GenericManager.

Definition at line 36 of file LineManager.cs.

void LineManager.Update ( )
private

Definition at line 93 of file LineManager.cs.

References AdjustWidths(), BallUpdate.bondsReadyToBeReset, UI.UIData.bondtype, LineUpdate.oldWidth, ResetColors(), and LineUpdate.width.

+ Here is the call graph for this function:

Member Data Documentation

LineRenderer LineManager.lineRenderer
private

Definition at line 11 of file LineManager.cs.

LineUpdate [] LineManager.lines
private

Definition at line 10 of file LineManager.cs.


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