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

Static Public Member Functions

static void CreateRingBlending ()
 
static void DestroyRingBlending ()
 
static void CreateSugarRibs (bool sugaronly)
 
static void DestroySugarRibs ()
 
static void ShowOxySphere (int colotype=0)
 
static void ShowRingOxySphere ()
 
static void DestroyOxySphere ()
 
static void UpdateOxySphereSize ()
 
static void UpdateOxySphereColor ()
 
static int OxySphereCount ()
 
static void UpdateSugarRibsRingColor (int mode=-1)
 
static void UpdateSugarRibsBondColor (int mode=-1)
 
static void ResetDefaultParametersSugarRibbons ()
 
static void ResetSugarRibbons (bool sugaronly=false)
 
static void show_HyperBalls_Sugar (bool show)
 
static void Hide_No_Sugar_Hyperballs (bool show)
 

Static Public Attributes

static float RibbonsThickness = 0.15f
 
static float OxySphereSize = 1f
 
static float OxySphereSizeCheck = 1f
 
static float thickness_Little =1.8f
 
static float thickness_BIG =1f
 
static float thickness_bond_6_C1_C4 =0.2f
 
static float thickness_6_other =0.16f
 
static float thickness_bond_5 =0.2f
 
static float lighter_color_factor_bond =0.35f
 
static float lighter_color_factor_bond_check =0.35f
 
static float lighter_color_factor_ring =0.35f
 
static float lighter_color_factor_ring_check =0.35f
 
static int ColorationModeRing =0
 
static int ColorationModeBond =0
 
static SugarRibbons SR
 
static RingBlending ringblending
 
static ColorObject BondColor = new ColorObject(Color.black)
 
static ColorObject BondColorcheck = new ColorObject(Color.black)
 
static ColorObject RingColor = new ColorObject(Color.black)
 
static ColorObject OxySphereColor = new ColorObject(Color.red)
 
static ColorObject OxySphereColorCheck = new ColorObject(Color.red)
 
static ColorObject RingColorcheck = new ColorObject(Color.black)
 
static List< GameObject > sugarRibsBigList = new List<GameObject>()
 
static List< GameObject > sugarRibsLittleList = new List<GameObject>()
 
static List< GameObject > sugarRibsBondList = new List<GameObject>()
 

Static Private Attributes

static List< GameObject > ringBlendingList = new List<GameObject>()
 
static List< GameObject > oxySphereList = new List<GameObject>()
 

Detailed Description

Definition at line 7 of file SugarManager.cs.

Member Function Documentation

static void SugarManager.CreateRingBlending ( )
static

Definition at line 46 of file SugarManager.cs.

References RingBlending.CreateRingBlending().

Referenced by SugarGUI.ShowSugarBlending(), and SugarOldGUI.SugarM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SugarManager.CreateSugarRibs ( bool  sugaronly)
static

Definition at line 57 of file SugarManager.cs.

References ColorObject.color, and SugarRibbons.createSugarRibs().

Referenced by ResetSugarRibbons(), SugarGUI.ShowRibbons(), and SugarOldGUI.SugarM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SugarManager.DestroyOxySphere ( )
static

Definition at line 98 of file SugarManager.cs.

Referenced by Molecule.View.DisplayMolecule.ClearMemory(), SugarOldGUI.ColorTuneMenu(), ResetSugarRibbons(), and SugarOldGUI.SugarRibbonsTune().

+ Here is the caller graph for this function:

static void SugarManager.DestroyRingBlending ( )
static

Definition at line 51 of file SugarManager.cs.

Referenced by Molecule.View.DisplayMolecule.ClearMemory(), SugarGUI.ShowSugarBlending(), and SugarOldGUI.SugarM().

+ Here is the caller graph for this function:

static void SugarManager.DestroySugarRibs ( )
static

Definition at line 78 of file SugarManager.cs.

References SugarRibbons.cleanup().

Referenced by Molecule.View.DisplayMolecule.ClearMemory(), ResetSugarRibbons(), SugarGUI.ShowRibbons(), and SugarOldGUI.SugarM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int SugarManager.OxySphereCount ( )
static

Definition at line 113 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

+ Here is the caller graph for this function:

static void SugarManager.ResetDefaultParametersSugarRibbons ( )
static

Definition at line 131 of file SugarManager.cs.

References ColorObject.color, and ResetSugarRibbons().

Referenced by SugarOldGUI.SugarRibbonsTune().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SugarManager.ResetSugarRibbons ( bool  sugaronly = false)
static

Definition at line 151 of file SugarManager.cs.

References CreateSugarRibs(), DestroyOxySphere(), DestroySugarRibs(), SugarRibbons.ShowOxySphere(), UI.GUIMoleculeController.toggle_NA_HIDE, and SugarOldGUI.toggle_OXYGEN.

Referenced by ResetDefaultParametersSugarRibbons(), and SugarOldGUI.SugarRibbonsTune().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SugarManager.ShowOxySphere ( int  colotype = 0)
static

Definition at line 92 of file SugarManager.cs.

References SugarRibbons.ShowOxySphere().

Referenced by SugarOldGUI.ColorTuneMenu(), and SugarOldGUI.SugarRibbonsTune().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SugarManager.ShowRingOxySphere ( )
static

Definition at line 95 of file SugarManager.cs.

References RingBlending.ShowOxySphere().

Referenced by SugarOldGUI.SugarRibbonsTune().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SugarManager.UpdateOxySphereColor ( )
static

Definition at line 109 of file SugarManager.cs.

References ColorObject.color.

Referenced by SugarOldGUI.ColorTuneMenu().

+ Here is the caller graph for this function:

static void SugarManager.UpdateOxySphereSize ( )
static

Definition at line 104 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().

+ Here is the caller graph for this function:

static void SugarManager.UpdateSugarRibsBondColor ( int  mode = -1)
static

Definition at line 124 of file SugarManager.cs.

References SugarRibbons.updateColorBond().

Referenced by SugarOldGUI.ColorTuneMenu().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SugarManager.UpdateSugarRibsRingColor ( int  mode = -1)
static

Definition at line 117 of file SugarManager.cs.

References SugarRibbons.updateColorRing().

Referenced by SugarOldGUI.ColorTuneMenu().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

ColorObject SugarManager.BondColor = new ColorObject(Color.black)
static

Definition at line 30 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

ColorObject SugarManager.BondColorcheck = new ColorObject(Color.black)
static

Definition at line 31 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

int SugarManager.ColorationModeBond =0
static

Definition at line 24 of file SugarManager.cs.

Referenced by Molecule3D.clearScene(), and SugarOldGUI.ColorTuneMenu().

int SugarManager.ColorationModeRing =0
static

Definition at line 23 of file SugarManager.cs.

Referenced by Molecule3D.clearScene(), and SugarOldGUI.ColorTuneMenu().

float SugarManager.lighter_color_factor_bond =0.35f
static

Definition at line 19 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

float SugarManager.lighter_color_factor_bond_check =0.35f
static

Definition at line 20 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

float SugarManager.lighter_color_factor_ring =0.35f
static

Definition at line 21 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

float SugarManager.lighter_color_factor_ring_check =0.35f
static

Definition at line 22 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

ColorObject SugarManager.OxySphereColor = new ColorObject(Color.red)
static

Definition at line 33 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

ColorObject SugarManager.OxySphereColorCheck = new ColorObject(Color.red)
static

Definition at line 34 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

List<GameObject> SugarManager.oxySphereList = new List<GameObject>()
staticprivate

Definition at line 43 of file SugarManager.cs.

float SugarManager.OxySphereSize = 1f
static

Definition at line 12 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().

float SugarManager.OxySphereSizeCheck = 1f
static

Definition at line 13 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().

float SugarManager.RibbonsThickness = 0.15f
static

Definition at line 11 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().

RingBlending SugarManager.ringblending
static

Definition at line 28 of file SugarManager.cs.

List<GameObject> SugarManager.ringBlendingList = new List<GameObject>()
staticprivate

Definition at line 37 of file SugarManager.cs.

ColorObject SugarManager.RingColor = new ColorObject(Color.black)
static

Definition at line 32 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

ColorObject SugarManager.RingColorcheck = new ColorObject(Color.black)
static

Definition at line 35 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu().

SugarRibbons SugarManager.SR
static

Definition at line 27 of file SugarManager.cs.

Referenced by SugarOldGUI.ColorTuneMenu(), and SugarOldGUI.SugarRibbonsTune().

List<GameObject> SugarManager.sugarRibsBigList = new List<GameObject>()
static

Definition at line 39 of file SugarManager.cs.

List<GameObject> SugarManager.sugarRibsBondList = new List<GameObject>()
static

Definition at line 41 of file SugarManager.cs.

List<GameObject> SugarManager.sugarRibsLittleList = new List<GameObject>()
static

Definition at line 40 of file SugarManager.cs.

float SugarManager.thickness_6_other =0.16f
static

Definition at line 17 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().

float SugarManager.thickness_BIG =1f
static

Definition at line 15 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().

float SugarManager.thickness_bond_5 =0.2f
static

Definition at line 18 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().

float SugarManager.thickness_bond_6_C1_C4 =0.2f
static

Definition at line 16 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().

float SugarManager.thickness_Little =1.8f
static

Definition at line 14 of file SugarManager.cs.

Referenced by SugarOldGUI.SugarRibbonsTune().


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