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

Public Member Functions

void Init ()
 
void AddFieldLine (GameObject flgo)
 
int nbFieldLine ()
 
void DisplayFieldLines ()
 
void DestroyFieldLines ()
 
void DestroyElectIso ()
 
void update ()
 
void UpdateParameters ()
 
void HideFieldLines ()
 
void ShowFieldLines ()
 
void CreateVolumetricFields ()
 
void RecenterFieldLines (Vector3 pos)
 

Static Public Member Functions

static void ReadDxFile ()
 

Public Attributes

bool volumetricFieldsInitialized = false
 
bool electroIsoPositiveInitialized = false
 
bool electroIsoNegativeInitialized = false
 
float adjustFieldLineCut = 40f
 

Static Public Attributes

static ParticleSystem particleSystem
 
static VolumetricFields volumetricFields = null
 
static bool fieldLineColorGradient = true
 
static ColorObject EnergyGrayColor = new ColorObject(Color.white)
 
static ReadDX readdx = null
 
static bool dxRead = false
 
static float fl_speed = 0.13333333f
 
static float fl_density = 3.4f
 
static float fl_linelength = 0.7f
 
static float fl_linewidth = 0.2f
 
static string dxFilePath
 

Private Attributes

List< GameObject > FieldLines = new List<GameObject>()
 
GameObject FieldLineManager
 
List< GameObject > ElecIsoPos = new List<GameObject>()
 
List< GameObject > ElecIsoNeg = new List<GameObject>()
 

Static Private Attributes

static GameObject VolumetricManager
 

Detailed Description

Definition at line 6 of file ElectrostaticManager.cs.

Member Function Documentation

void ElectrostaticManager.AddFieldLine ( GameObject  flgo)

Definition at line 67 of file ElectrostaticManager.cs.

Referenced by FieldLineStyle.DisplayFieldLine().

+ Here is the caller graph for this function:

void ElectrostaticManager.CreateVolumetricFields ( )

Definition at line 166 of file ElectrostaticManager.cs.

References VolumetricFields.Init(), ReadDxFile(), and Volumetric.ShowHide().

Referenced by ElectrostaticOldGUI.Electrostatics().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ElectrostaticManager.DestroyElectIso ( )

Definition at line 101 of file ElectrostaticManager.cs.

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

+ Here is the caller graph for this function:

void ElectrostaticManager.DestroyFieldLines ( )

Definition at line 78 of file ElectrostaticManager.cs.

References Molecule.Model.MoleculeModel.fieldLineFileExists.

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

+ Here is the caller graph for this function:

void ElectrostaticManager.DisplayFieldLines ( )

Definition at line 74 of file ElectrostaticManager.cs.

References FieldLineStyle.DisplayFieldLine().

Referenced by Molecule3D.OnGUI().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ElectrostaticManager.HideFieldLines ( )

Definition at line 158 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.Electrostatics().

+ Here is the caller graph for this function:

void ElectrostaticManager.Init ( )

Definition at line 41 of file ElectrostaticManager.cs.

Referenced by Molecule3D.Start().

+ Here is the caller graph for this function:

int ElectrostaticManager.nbFieldLine ( )

Definition at line 70 of file ElectrostaticManager.cs.

Referenced by SurfaceOldGUI.SurfaceMobileCut().

+ Here is the caller graph for this function:

static void ElectrostaticManager.ReadDxFile ( )
static

Definition at line 60 of file ElectrostaticManager.cs.

References Molecule.Model.MoleculeModel.Offset, and ReadDX.ReadFile().

Referenced by CreateVolumetricFields(), and ElectrostaticOldGUI.Electrostatics().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ElectrostaticManager.RecenterFieldLines ( Vector3  pos)

Definition at line 176 of file ElectrostaticManager.cs.

References Molecule.Model.MoleculeModel.Offset.

Referenced by SurfaceManager.RecenterSurfaces().

+ Here is the caller graph for this function:

void ElectrostaticManager.ShowFieldLines ( )

Definition at line 162 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.Electrostatics().

+ Here is the caller graph for this function:

void ElectrostaticManager.update ( )

Definition at line 112 of file ElectrostaticManager.cs.

Referenced by Molecule3D.Update().

+ Here is the caller graph for this function:

void ElectrostaticManager.UpdateParameters ( )

Member Data Documentation

float ElectrostaticManager.adjustFieldLineCut = 40f

Definition at line 37 of file ElectrostaticManager.cs.

Referenced by SurfaceOldGUI.SurfaceMobileCut().

string ElectrostaticManager.dxFilePath
static

Definition at line 29 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.Electrostatics().

bool ElectrostaticManager.dxRead = false
static
List<GameObject> ElectrostaticManager.ElecIsoNeg = new List<GameObject>()
private

Definition at line 11 of file ElectrostaticManager.cs.

List<GameObject> ElectrostaticManager.ElecIsoPos = new List<GameObject>()
private

Definition at line 10 of file ElectrostaticManager.cs.

bool ElectrostaticManager.electroIsoNegativeInitialized = false

Definition at line 33 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.Electrostatics().

bool ElectrostaticManager.electroIsoPositiveInitialized = false

Definition at line 32 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.Electrostatics().

ColorObject ElectrostaticManager.EnergyGrayColor = new ColorObject(Color.white)
static

Definition at line 19 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.FieldLines(), and Molecule3D.Update().

bool ElectrostaticManager.fieldLineColorGradient = true
static
GameObject ElectrostaticManager.FieldLineManager
private

Definition at line 9 of file ElectrostaticManager.cs.

List<GameObject> ElectrostaticManager.FieldLines = new List<GameObject>()
private

Definition at line 8 of file ElectrostaticManager.cs.

float ElectrostaticManager.fl_density = 3.4f
static

Definition at line 25 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.FieldLines().

float ElectrostaticManager.fl_linelength = 0.7f
static

Definition at line 26 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.FieldLines().

float ElectrostaticManager.fl_linewidth = 0.2f
static

Definition at line 27 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.FieldLines().

float ElectrostaticManager.fl_speed = 0.13333333f
static

Definition at line 24 of file ElectrostaticManager.cs.

Referenced by ElectrostaticOldGUI.FieldLines().

ParticleSystem ElectrostaticManager.particleSystem
static
VolumetricFields ElectrostaticManager.volumetricFields = null
static

Definition at line 15 of file ElectrostaticManager.cs.

bool ElectrostaticManager.volumetricFieldsInitialized = false

Definition at line 16 of file ElectrostaticManager.cs.

GameObject ElectrostaticManager.VolumetricManager
staticprivate

Definition at line 14 of file ElectrostaticManager.cs.


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