UnityMol  0.9.6-875
UnityMol viewer / In developement
GuidedNavigationManager Class Reference

Public Member Functions

void Init ()
 
void CreateAxeAndOrigin ()
 
void DestroyAxeAndOrigin ()
 
void Clear ()
 
void UpdateManager ()
 

Private Member Functions

void OnEnable ()
 
void LateUpdateManager ()
 
void keyboard ()
 
void NearSpreading ()
 
void SpreadCAlpha ()
 
void SpreadHyperballs ()
 
void SpreadSpheres ()
 
void SpreadSecondaryStructure ()
 
void Spreading ()
 
void NarrowCAlpha ()
 
void NarrowHyperballs ()
 
void NarrowSpheres ()
 
void NarrowSecondaryStructure ()
 
void Narrowing ()
 
void ResetChainPosForHyperballsAndSecondaryStructure ()
 
void ResetChainPosForHyperballs ()
 
void ResetChainPosForSpheres ()
 
void ResetChainsPos ()
 
Vector3 get_com (string chain)
 
void computeSpreadingVector ()
 
void computeSpreadPart (out Vector3 Spread1, out Vector3 Spread2, string chain)
 
void computeSpreadHelix (out Vector3 Spreadhelix, int first_atom, int last_atom, string chain)
 
void goUpConstrained ()
 
void goDownConstrained ()
 
IEnumerator Transition ()
 
void ReorientCamera ()
 

Private Attributes

GameObject originPoint
 
GameObject symmetryAxis
 

Detailed Description

Definition at line 10 of file GuidedNavigationManager.cs.

Member Function Documentation

void GuidedNavigationManager.Clear ( )
void GuidedNavigationManager.computeSpreadHelix ( out Vector3  Spreadhelix,
int  first_atom,
int  last_atom,
string  chain 
)
private

Computes spreading vectors for helices (third step spreading)

Parameters
SpreadhelixSpreadhelix.
first_atomFirst_atom.
last_atomLast_atom.
chainChain.

Definition at line 993 of file GuidedNavigationManager.cs.

References Molecule.Model.MoleculeModel.atomsLocationlist, get_com(), and GuidedNav.GNParameters.onlyTMD.

+ Here is the call graph for this function:

void GuidedNavigationManager.computeSpreadingVector ( )
private

Compute spreading vectors (first step).

Definition at line 916 of file GuidedNavigationManager.cs.

References get_com(), Molecule.Model.MoleculeModel.MaxValue, Molecule.Model.MoleculeModel.MinValue, GuidedNav.GNParameters.spreadA, GuidedNav.GNParameters.spreadB, GuidedNav.GNParameters.spreadC, GuidedNav.GNParameters.spreadD, and GuidedNav.GNParameters.spreadE.

Referenced by Narrowing(), and Spreading().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GuidedNavigationManager.computeSpreadPart ( out Vector3  Spread1,
out Vector3  Spread2,
string  chain 
)
private
void GuidedNavigationManager.CreateAxeAndOrigin ( )

Instantiate the origin and symmetry axis game objects.

Definition at line 25 of file GuidedNavigationManager.cs.

References Molecule.Model.MoleculeModel.MaxValue, and Molecule.Model.MoleculeModel.MinValue.

Referenced by GuidedNavigationOldGUI.GuidedOptions(), and Reorient.Reorient.LoadSymmetry().

+ Here is the caller graph for this function:

void GuidedNavigationManager.DestroyAxeAndOrigin ( )

Destroy the axis and origin game objects.

Definition at line 37 of file GuidedNavigationManager.cs.

Referenced by Clear(), and GuidedNavigationOldGUI.GuidedOptions().

+ Here is the caller graph for this function:

void GuidedNavigationManager.goDownConstrained ( )
private

Only available in "guided navigation" and specific to pentameric channels.

Constrained path for camera moving around the protein structure (second way).

Definition at line 1056 of file GuidedNavigationManager.cs.

References GuidedNav.GNParameters.isabove, GuidedNav.GNParameters.isunder, GuidedNav.GNParameters.mainCamera, Molecule.Model.MoleculeModel.MaxValue, Molecule.Model.MoleculeModel.MinValue, GuidedNav.GNParameters.nav_speed, and maxCamera.target.

Referenced by keyboard(), and LateUpdateManager().

+ Here is the caller graph for this function:

void GuidedNavigationManager.goUpConstrained ( )
private

Only available in "guided navigation" mode and specific to pentameric channels.

Constrained path for camera moving around the protein structure.

Definition at line 1017 of file GuidedNavigationManager.cs.

References GuidedNav.GNParameters.isabove, GuidedNav.GNParameters.isunder, GuidedNav.GNParameters.mainCamera, Molecule.Model.MoleculeModel.MaxValue, Molecule.Model.MoleculeModel.MinValue, GuidedNav.GNParameters.nav_speed, and maxCamera.target.

Referenced by keyboard(), and LateUpdateManager().

+ Here is the caller graph for this function:

void GuidedNavigationManager.Init ( )

Definition at line 20 of file GuidedNavigationManager.cs.

References GuidedNav.GNParameters.mainCamera.

Referenced by OnEnable(), and UpdateManager().

+ Here is the caller graph for this function:

void GuidedNavigationManager.Narrowing ( )
private

Narrowing chains.

Definition at line 758 of file GuidedNavigationManager.cs.

References UI.UIData.atomtype, GuidedNav.GNParameters.comp_spread, computeSpreadingVector(), NarrowCAlpha(), NarrowHyperballs(), NarrowSecondaryStructure(), NarrowSpheres(), UI.UIData.secondarystruct, and SecondaryStructureOldGUI.toggle_SEC_STRUCT.

Referenced by keyboard().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GuidedNavigationManager.NarrowSpheres ( )
private
void GuidedNavigationManager.NearSpreading ( )
private
void GuidedNavigationManager.OnEnable ( )
private

Definition at line 16 of file GuidedNavigationManager.cs.

References Init().

+ Here is the call graph for this function:

void GuidedNavigationManager.ReorientCamera ( )
private
void GuidedNavigationManager.ResetChainPosForHyperballs ( )
private

Resets the chains positions when rendering hyperballs.

Definition at line 807 of file GuidedNavigationManager.cs.

References Molecule.Model.MoleculeModel.atomsLocationlist, GuidedNav.GNParameters.hballs, and BallUpdate.number.

Referenced by ResetChainsPos().

+ Here is the caller graph for this function:

void GuidedNavigationManager.ResetChainPosForHyperballsAndSecondaryStructure ( )
private

Resets the chains positions when rendering the secondary structure.

Definition at line 788 of file GuidedNavigationManager.cs.

References Molecule.Model.MoleculeModel.CaSplineList, GuidedNav.GNParameters.hballs, and BallUpdate.number.

Referenced by ResetChainsPos().

+ Here is the caller graph for this function:

void GuidedNavigationManager.ResetChainPosForSpheres ( )
private

Resets the chains positions when rendering spheres.

Definition at line 826 of file GuidedNavigationManager.cs.

References Molecule.Model.MoleculeModel.atomsLocationlist, BallUpdate.number, and GuidedNav.GNParameters.sballs.

Referenced by ResetChainsPos().

+ Here is the caller graph for this function:

void GuidedNavigationManager.SpreadCAlpha ( )
private
void GuidedNavigationManager.SpreadHyperballs ( )
private
IEnumerator GuidedNavigationManager.Transition ( )
private

Member Data Documentation

GameObject GuidedNavigationManager.originPoint
private

GameObjects representing the space origin and molecule symmetry axis.

Definition at line 13 of file GuidedNavigationManager.cs.

GameObject GuidedNavigationManager.symmetryAxis
private

Definition at line 14 of file GuidedNavigationManager.cs.


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