![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Member Functions | |
Vector3 | GetDelta () |
Vector3 | GetOrigin () |
float | getVal (int x, int y, int z) |
Vector3 | getGradient (int x, int y, int z) |
void | ReadFile (string file_name) |
void | ReadFile (string file_name, Vector3 offset) |
void | ReadFile (TextReader sr, Vector3 offset) |
void | calGradient () |
void | isoSurface (float threshold, Color color, int isPos, bool transparency=false) |
Public Attributes | |
float[,,] | _grid |
int | X |
int | Y |
int | Z |
Properties | |
bool | Loaded [get] |
Private Member Functions | |
void | RightHandedToLeftHanded (Mesh m) |
Private Attributes | |
Vector3[,,] | gradient |
int[] | _dim |
Vector3 | _delta |
Vector3 | _origin |
bool | loaded = false |
void ReadDX.calGradient | ( | ) |
Vector3 ReadDX.GetDelta | ( | ) |
Definition at line 103 of file ReadDX.cs.
References _delta.
Referenced by GenerateMesh.CreateSurfaceObjects(), DepthCueing.DepthCueing(), VolumetricDepth.Init(), and VolumetricFields.Init().
Vector3 ReadDX.GetOrigin | ( | ) |
Definition at line 108 of file ReadDX.cs.
References _origin.
Referenced by GenerateMesh.CreateSurfaceObjects(), DepthCueing.DepthCueing(), VolumetricDepth.Init(), and VolumetricFields.Init().
float ReadDX.getVal | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 114 of file ReadDX.cs.
Referenced by calGradient().
void ReadDX.isoSurface | ( | float | threshold, |
Color | color, | ||
int | isPos, | ||
bool | transparency = false |
||
) |
Definition at line 369 of file ReadDX.cs.
References GenerateMesh.CreateSurfaceObjects(), UnityMolMain.getSurfaceManager(), SurfaceManager.getSurfaces(), SurfaceManager.getSurfacesNeg(), SurfaceManager.getSurfacesPos(), RightHandedToLeftHanded(), X, Y, and Z.
Referenced by ElectrostaticOldGUI.Electrostatics().
void ReadDX.ReadFile | ( | string | file_name | ) |
Definition at line 122 of file ReadDX.cs.
Referenced by AdvancedOptionsOldGUI.AdvOptions(), ElectrostaticManager.ReadDxFile(), and ReadFile().
void ReadDX.ReadFile | ( | string | file_name, |
Vector3 | offset | ||
) |
Definition at line 126 of file ReadDX.cs.
References ReadFile().
void ReadDX.ReadFile | ( | TextReader | sr, |
Vector3 | offset | ||
) |
|
private |
Definition at line 348 of file ReadDX.cs.
Referenced by isoSurface().
|
private |
Definition at line 92 of file ReadDX.cs.
Referenced by GetDelta().
float [,,] ReadDX._grid |
Definition at line 88 of file ReadDX.cs.
Referenced by DepthCueing.DepthCueing(), VolumetricDepth.Init(), and VolumetricFields.Init().
|
private |
Definition at line 93 of file ReadDX.cs.
Referenced by GetOrigin().
int ReadDX.X |
Definition at line 94 of file ReadDX.cs.
Referenced by calGradient(), isoSurface(), and ReadFile().
int ReadDX.Y |
Definition at line 95 of file ReadDX.cs.
Referenced by calGradient(), isoSurface(), and ReadFile().
int ReadDX.Z |
Definition at line 96 of file ReadDX.cs.
Referenced by calGradient(), isoSurface(), and ReadFile().