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

Static Public Member Functions

static void openCloseSurfaceMenu ()
 
static void Surface (int a)
 
static void SurfaceParams (int a)
 
static void HydroMenu (int a)
 
static void SurfaceCut (int a)
 
static void MoveCutPlane (int a)
 
static void SurfaceMobileCut (int a)
 
static void SurfaceTexture (int a)
 
static void FileSelectedCallback (string path)
 

Static Public Attributes

static bool showSurfaceMenu = false
 
static bool showBfactorMenu = false
 
static bool showSurfaceTexture = false
 
static bool showHydroMenu = false
 
static bool showSurfaceCut = false
 
static bool showSurfaceMobileCut = false
 
static bool cutPlaneIsDraggable = true
 

Static Private Member Functions

static void textureMenu (string texDir, string[] texList, string texDescr)
 

Static Private Attributes

static ColorObject tmpSurfaceColor = new ColorObject(Color.white)
 
static ColorObject tmpSurfaceInsideColor = new ColorObject(Color.gray)
 
static bool isTransparentSurface = false
 
static float alphaTransparentSurface = 0.25f
 

Detailed Description

Definition at line 6 of file SurfaceOldGUI.cs.

Member Function Documentation

static void SurfaceOldGUI.FileSelectedCallback ( string  path)
static
static void SurfaceOldGUI.HydroMenu ( int  a)
static
static void SurfaceOldGUI.MoveCutPlane ( int  a)
static

Defines the move cut plane window, that lets the user change the cut plane of the surface by clicking or scrolling.

Opened from the Surface menu.

Parameters
aWindow identifier.

Definition at line 311 of file SurfaceOldGUI.cs.

References cutPlaneIsDraggable, SurfaceManager.cutX, SurfaceManager.cutY, SurfaceManager.cutZ, SurfaceManager.depthCut, UnityMolMain.getSurfaceManager(), UI.LoadTypeGUI.InDeadZone(), Rectangles.movePlaneRect, UI.LoadTypeGUI.SetTitle(), showSurfaceCut, showSurfaceMenu, and SurfaceManager.updateCut().

Referenced by UI.GUIMoleculeController.SetSurfaceCut().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SurfaceOldGUI.openCloseSurfaceMenu ( )
static
static void SurfaceOldGUI.SurfaceCut ( int  a)
static

Defines the static surface cut window, which is opened from the Surface parameters menu.

Parameters
aWindow identifier.

Definition at line 284 of file SurfaceOldGUI.cs.

References SurfaceManager.cutX, SurfaceManager.cutY, SurfaceManager.cutZ, SurfaceManager.depthCut, SurfaceManager.depthCutMax, SurfaceManager.depthCutMin, UnityMolMain.getSurfaceManager(), UI.GUIMoleculeController.LabelSlider(), UI.LoadTypeGUI.SetTitleExit(), showSurfaceCut, Rectangles.surfaceCutWidth, and SurfaceManager.updateCut().

Referenced by UI.GUIMoleculeController.SetSurfaceCut().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SurfaceOldGUI.SurfaceMobileCut ( int  a)
static

Defines the mobile surface cut window, which is opened from the Surface parameters menu.

Parameters
aWindow identifier.

Definition at line 349 of file SurfaceOldGUI.cs.

References ElectrostaticManager.adjustFieldLineCut, SurfaceManager.depthCut, UnityMolMain.getElectrostaticManager(), UnityMolMain.getSurfaceManager(), UI.GUIMoleculeController.LabelSlider(), ElectrostaticManager.nbFieldLine(), UI.LoadTypeGUI.SetTitle(), Rectangles.surfaceCutWidth, and SurfaceManager.updateCut().

Referenced by UI.GUIMoleculeController.SetSurtfaceMobileCut().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SurfaceOldGUI.SurfaceTexture ( int  a)
static

Defines the texture selection window.

Negative values of texture_set are used to represent the "best" sets.

Parameters
aWindow identifier.

Definition at line 471 of file SurfaceOldGUI.cs.

References UI.GUIMoleculeController.texture_set, textureMenu(), UI.GUIDisplay.textureMenuList, and UI.GUIDisplay.textureMenuTitles.

Referenced by UI.GUIMoleculeController.SetSurfaceTexture().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SurfaceOldGUI.textureMenu ( string  texDir,
string[]  texList,
string  texDescr 
)
staticprivate

Member Data Documentation

float SurfaceOldGUI.alphaTransparentSurface = 0.25f
staticprivate

Definition at line 24 of file SurfaceOldGUI.cs.

Referenced by SurfaceParams().

bool SurfaceOldGUI.cutPlaneIsDraggable = true
static

Definition at line 19 of file SurfaceOldGUI.cs.

Referenced by UI.LoadTypeGUI.InDeadZone(), and MoveCutPlane().

bool SurfaceOldGUI.isTransparentSurface = false
staticprivate

Definition at line 22 of file SurfaceOldGUI.cs.

Referenced by SurfaceParams().

bool SurfaceOldGUI.showHydroMenu = false
static
bool SurfaceOldGUI.showSurfaceCut = false
static
bool SurfaceOldGUI.showSurfaceMobileCut = false
static
bool SurfaceOldGUI.showSurfaceTexture = false
static
ColorObject SurfaceOldGUI.tmpSurfaceColor = new ColorObject(Color.white)
staticprivate

Definition at line 20 of file SurfaceOldGUI.cs.

Referenced by SurfaceParams().

ColorObject SurfaceOldGUI.tmpSurfaceInsideColor = new ColorObject(Color.gray)
staticprivate

Definition at line 21 of file SurfaceOldGUI.cs.


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