UnityMol  0.9.6-875
UnityMol viewer / In developement
ReadDX Class Reference

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
 

Detailed Description

Definition at line 77 of file ReadDX.cs.

Member Function Documentation

void ReadDX.calGradient ( )

Definition at line 303 of file ReadDX.cs.

References getVal(), X, Y, and Z.

+ Here is the call graph for this function:

Vector3 ReadDX.GetDelta ( )

Definition at line 103 of file ReadDX.cs.

References _delta.

Referenced by GenerateMesh.CreateSurfaceObjects(), DepthCueing.DepthCueing(), VolumetricDepth.Init(), and VolumetricFields.Init().

+ Here is the caller graph for this function:

Vector3 ReadDX.getGradient ( int  x,
int  y,
int  z 
)

Definition at line 118 of file ReadDX.cs.

Vector3 ReadDX.GetOrigin ( )

Definition at line 108 of file ReadDX.cs.

References _origin.

Referenced by GenerateMesh.CreateSurfaceObjects(), DepthCueing.DepthCueing(), VolumetricDepth.Init(), and VolumetricFields.Init().

+ Here is the caller graph for this function:

float ReadDX.getVal ( int  x,
int  y,
int  z 
)

Definition at line 114 of file ReadDX.cs.

Referenced by calGradient().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ReadDX.ReadFile ( string  file_name)

Definition at line 122 of file ReadDX.cs.

Referenced by AdvancedOptionsOldGUI.AdvOptions(), ElectrostaticManager.ReadDxFile(), and ReadFile().

+ Here is the caller graph for this function:

void ReadDX.ReadFile ( string  file_name,
Vector3  offset 
)

Definition at line 126 of file ReadDX.cs.

References ReadFile().

+ Here is the call graph for this function:

void ReadDX.ReadFile ( TextReader  sr,
Vector3  offset 
)

Definition at line 163 of file ReadDX.cs.

References X, Y, and Z.

void ReadDX.RightHandedToLeftHanded ( Mesh  m)
private

Definition at line 348 of file ReadDX.cs.

Referenced by isoSurface().

+ Here is the caller graph for this function:

Member Data Documentation

Vector3 ReadDX._delta
private

Definition at line 92 of file ReadDX.cs.

Referenced by GetDelta().

int [] ReadDX._dim
private

Definition at line 91 of file ReadDX.cs.

float [,,] ReadDX._grid

Definition at line 88 of file ReadDX.cs.

Referenced by DepthCueing.DepthCueing(), VolumetricDepth.Init(), and VolumetricFields.Init().

Vector3 ReadDX._origin
private

Definition at line 93 of file ReadDX.cs.

Referenced by GetOrigin().

Vector3 [,,] ReadDX.gradient
private

Definition at line 90 of file ReadDX.cs.

bool ReadDX.loaded = false
private

Definition at line 98 of file ReadDX.cs.

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().

Property Documentation

bool ReadDX.Loaded
get

Definition at line 99 of file ReadDX.cs.


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