UnityMol  0.9.6-875
UnityMol viewer / In developement
GuidedNav.GNParameters Class Reference
+ Collaboration diagram for GuidedNav.GNParameters:

Static Public Attributes

static string SymmetryOriginX = "34.3444"
 
static string SymmetryOriginY = "4.29016"
 
static string SymmetryOriginZ = "69.0832"
 
static string SymmetryDirectionX = "0.446105"
 
static string SymmetryDirectionY = "0.00135695"
 
static string SymmetryDirectionZ = "-0.894949"
 
static string TargetX = "16.32"
 
static string TargetY = "-1.42"
 
static string TargetZ = "-18.17"
 
static string CameraDistance = "20.0"
 
static bool showOriginAxe = true
 
static bool originThere = true
 
static float nav_speed = 2.0f
 
static bool navigationUp = false
 
static bool navigationDown = false
 
static bool guidedzoom = false
 
static bool reoriented = false
 
static bool panoramic = false
 
static bool reset_panoramic
 
static bool isabove = false
 
static bool isunder = false
 
static float rotation_done = 0.0f
 
static bool monomer_jump = false
 
static bool next_right = false
 
static bool next_left = false
 
static BallUpdateHB[] hballs
 
static BallUpdateSphere[] sballs
 
static Vector3 spreadA
 
static Vector3 spreadB
 
static Vector3 spreadC
 
static Vector3 spreadD
 
static Vector3 spreadE
 
static double comp_spread = 0
 
static AtomTree atomtree
 
static string rep = ""
 
static float[] closeatom
 
static Vector3 poscloseatom
 
static float distclose
 
static bool near_spread = false
 
static bool onlyTMD = false
 
static GameObject ghost_target
 
static GameObject ghost_camera
 
static bool ghost_target_instantiate = false
 
static Vector3 optim_target
 
static Vector3[] optim_cam_position
 
static Vector3 optim_user_cam_pos
 
static Vector3 velocity = Vector3.zero
 
static float transitionDuration = 2.5f
 
static GameObject mainCamera
 
static int reslim = 192
 

Static Private Attributes

static Vector3 spreadA1
 
static Vector3 spreadA2
 
static Vector3 spreadB1
 
static Vector3 spreadB2
 
static Vector3 spreadC1
 
static Vector3 spreadC2
 
static Vector3 spreadD1
 
static Vector3 spreadD2
 
static Vector3 spreadE1
 
static Vector3 spreadE2
 

Detailed Description

Definition at line 9 of file GuidedNavigationParameters.cs.

Member Data Documentation

AtomTree GuidedNav.GNParameters.atomtree
static
string GuidedNav.GNParameters.CameraDistance = "20.0"
static

Distance of the camera to the target.

Definition at line 33 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

float [] GuidedNav.GNParameters.closeatom
static

3D coordinates of the closest atom to the camera.

Definition at line 127 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.NearSpreading().

float GuidedNav.GNParameters.distclose
static

Distance between the camera and the closest atom.

Definition at line 133 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.NearSpreading().

GameObject GuidedNav.GNParameters.ghost_camera
static

Reference to the sphere primitive representing the camera ending position.

Definition at line 149 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.Clear(), and GuidedNavigationManager.LateUpdateManager().

GameObject GuidedNav.GNParameters.ghost_target
static

Reference to the sphere primitive representing the camera target.

Definition at line 146 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.Clear(), and GuidedNavigationManager.LateUpdateManager().

bool GuidedNav.GNParameters.ghost_target_instantiate = false
static

Have the game objects for camera target and position been instantiated.

Definition at line 152 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.Clear(), and GuidedNavigationManager.LateUpdateManager().

bool GuidedNav.GNParameters.guidedzoom = false
static

Should we zoom? True when the camera is not at the right distance (maxCamera.desiredDistance != maxCamera.currentDistance; cf. LateUpdateManager in GuidedNavigationManger).

Definition at line 55 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.LateUpdateManager().

bool GuidedNav.GNParameters.isabove = false
static

Allows to dive into the channel when zoom in the structure from above.

Triggered by camera position check relative to the molecule bounding box. See GuidedNavigationManager::goUpConstrained

Definition at line 73 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.goDownConstrained(), GuidedNavigationManager.goUpConstrained(), and GuidedNavigationManager.LateUpdateManager().

bool GuidedNav.GNParameters.isunder = false
static

Allows to dive into the channel when zoom in the structure from below.

Triggered by camera position check relative to the molecule bounding box. See GuidedNavigationManager::goDownConstrained

Definition at line 78 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.goDownConstrained(), GuidedNavigationManager.goUpConstrained(), and GuidedNavigationManager.LateUpdateManager().

bool GuidedNav.GNParameters.monomer_jump = false
static

Enter or exit jump navigation Triggered by key press (see GuidedNavigationManager::UpdateManager)

Definition at line 89 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.keyboard(), and GuidedNavigationManager.UpdateManager().

float GuidedNav.GNParameters.nav_speed = 2.0f
static
bool GuidedNav.GNParameters.navigationDown = false
static

Are we moving down? Boolean set to true on key press.

Definition at line 52 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.LateUpdateManager(), and GuidedNavigationManager.UpdateManager().

bool GuidedNav.GNParameters.navigationUp = false
static

Are we moving down. Boolean set to true on key press.

Definition at line 49 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.LateUpdateManager(), and GuidedNavigationManager.UpdateManager().

bool GuidedNav.GNParameters.near_spread = false
static

Activate/Deactivate the spreading relative the closeness of the camera to the molecule.

Definition at line 136 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.LateUpdateManager(), and GuidedNavigationManager.UpdateManager().

bool GuidedNav.GNParameters.next_left = false
static

Jump to the next monomer on the left.

Triggered by key press (see GuidedNavigationManager::UpdateManager) Inpu Button: Rotate X Left

Definition at line 99 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.keyboard(), and GuidedNavigationManager.LateUpdateManager().

bool GuidedNav.GNParameters.next_right = false
static

Jump to the next monomer on the right.

Triggered by key press (see GuidedNavigationManager::UpdateManager) Input Button: Rotate X Right

Definition at line 94 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.keyboard(), and GuidedNavigationManager.LateUpdateManager().

bool GuidedNav.GNParameters.onlyTMD = false
static

If true, triggers the computation of the center of mass of only the TransMembrane Domain (TMD).

Definition at line 139 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.computeSpreadHelix(), and GuidedNavigationManager.get_com().

Vector3 [] GuidedNav.GNParameters.optim_cam_position
static

3D coordinates of the 4 best camera positions.

Definition at line 158 of file GuidedNavigationParameters.cs.

Referenced by OptimalView.OptimalView.GetOptimalPosition(), and GuidedNavigationManager.keyboard().

Vector3 GuidedNav.GNParameters.optim_target
static
Vector3 GuidedNav.GNParameters.optim_user_cam_pos
static

3D coordinates of the selected best camera position.

Changed by keypad press (button 1, 2, 3 or 4)

Definition at line 162 of file GuidedNavigationParameters.cs.

Referenced by OptimalView.OptimalView.GetOptimalPosition(), GuidedNavigationManager.keyboard(), and GuidedNavigationManager.LateUpdateManager().

bool GuidedNav.GNParameters.originThere = true
static

Did we instantiate the origin and symmetry axis? True by default.

Definition at line 39 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

bool GuidedNav.GNParameters.panoramic = false
static

Activates/Deactivate the panoramic view (immersive camera positioning).

Triggered by key input (see GuidedNavigationManager::UpdateManager).

Definition at line 64 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.keyboard(), GuidedNavigationManager.LateUpdateManager(), and GuidedNavigationManager.UpdateManager().

Vector3 GuidedNav.GNParameters.poscloseatom
static

3D coordinates of the closest atom to the camera.

Definition at line 130 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.NearSpreading().

bool GuidedNav.GNParameters.reoriented = false
static

When true, triggers the camera repositioning inside the molecule bounding box.

When done, it is then set to false to trigger the camera reorientation and constrain it. False by default.

Definition at line 60 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.ReorientCamera(), and GuidedNavigationManager.UpdateManager().

string GuidedNav.GNParameters.rep = ""
static
bool GuidedNav.GNParameters.reset_panoramic
static

When true, triggers the transition from panoramic view to normal view.

Set to false once the camera has move up to the normal view position.

Definition at line 68 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.LateUpdateManager(), and GuidedNavigationManager.UpdateManager().

int GuidedNav.GNParameters.reslim = 192
static

Number of the first residue outside of the GLIC transmembrane domain.

Used for second step spreading (currently only available for GLIC).

Definition at line 176 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.computeSpreadPart(), GuidedNavigationManager.get_com(), and GuidedNavigationManager.SpreadSpheres().

float GuidedNav.GNParameters.rotation_done = 0.0f
static
BallUpdateSphere [] GuidedNav.GNParameters.sballs
static

List of all spheres mono behavior scripts.

Filled when spreading, narrowing or resetting chains positions.

Definition at line 111 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.NarrowSpheres(), GuidedNavigationManager.ResetChainPosForSpheres(), and GuidedNavigationManager.SpreadSpheres().

bool GuidedNav.GNParameters.showOriginAxe = true
static

Display the origin and symmetry axis (true) or not (false)

Definition at line 36 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.SymmetryDirectionX = "0.446105"
static

Symmetry axis direction.

Definition at line 21 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.SymmetryDirectionY = "0.00135695"
static

Definition at line 22 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.SymmetryDirectionZ = "-0.894949"
static

Definition at line 23 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.SymmetryOriginX = "34.3444"
static

3D coordinates of the symmetry axis origin

Definition at line 14 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.SymmetryOriginY = "4.29016"
static

Definition at line 15 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.SymmetryOriginZ = "69.0832"
static

Definition at line 16 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.TargetX = "16.32"
static

3D coordinates of the camera target

Definition at line 28 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.TargetY = "-1.42"
static

Definition at line 29 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

string GuidedNav.GNParameters.TargetZ = "-18.17"
static

Definition at line 30 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationOldGUI.GuidedOptions().

float GuidedNav.GNParameters.transitionDuration = 2.5f
static

Definition at line 169 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.Transition().

Vector3 GuidedNav.GNParameters.velocity = Vector3.zero
static

Camera 3D speed during its repositioning.

The value is modified by successive calls to Vector3.SmoothDamp in GuidedNavigationManager::LateUpdateManager.

Definition at line 166 of file GuidedNavigationParameters.cs.

Referenced by GuidedNavigationManager.LateUpdateManager().


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