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

Public Member Functions

void TranPDBtoDEN (float resolution=DEFAULT_RESOLUTION, bool cap=true)
 

Static Public Member Functions

static void ProSurface (float seuil)
 
static void initColors (int X, int Y, int Z, Color col)
 

Static Public Attributes

static Color[] colors
 
static int X
 
static int Y
 
static int Z
 
static Vector3 fudgeFactor = new Vector3(18f,18f,18f)
 
static Vector3 delta
 
static Vector3 origin
 

Properties

static float[,,] GridS [get]
 

Private Member Functions

float CapResolution (float resolution)
 

Private Attributes

const float DEFAULT_RESOLUTION = 2.75f
 

Static Private Attributes

static float[,,] gridS
 
static Color[,,] VertColor
 

Detailed Description

Definition at line 74 of file PDBtoDEN.cs.

Member Function Documentation

float PDBtoDEN.CapResolution ( float  resolution)
private

First we lower the resolution for bigger molecules.

Perhaps this could be exposed to the interface, but it might cause users to choose unreasonable values. Bear in mind that the "threshold" value in VertexTree effectively caps the resolution of the final mesh, but not of the original voxels, or of the MarchingCubes algorithm itself. So they serve slightly different purposes.

Returns
The resolution.

Definition at line 113 of file PDBtoDEN.cs.

References Molecule.Model.MoleculeModel.atomsLocationlist.

Referenced by TranPDBtoDEN().

+ Here is the caller graph for this function:

static void PDBtoDEN.initColors ( int  X,
int  Y,
int  Z,
Color  col 
)
static

Definition at line 377 of file PDBtoDEN.cs.

References X, Y, and Z.

static void PDBtoDEN.ProSurface ( float  seuil)
static

Definition at line 340 of file PDBtoDEN.cs.

References GenerateMesh.CreateSurfaceObjects(), X, Y, and Z.

Referenced by SurfaceManager.GenerateSurface(), and SurfaceManager.GenerateSurfaceBfact().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Color [] PDBtoDEN.colors
static

Definition at line 82 of file PDBtoDEN.cs.

const float PDBtoDEN.DEFAULT_RESOLUTION = 2.75f
private

Definition at line 96 of file PDBtoDEN.cs.

Vector3 PDBtoDEN.delta
static

Definition at line 92 of file PDBtoDEN.cs.

Referenced by VolumetricDensity.Init().

Vector3 PDBtoDEN.fudgeFactor = new Vector3(18f,18f,18f)
static

Definition at line 90 of file PDBtoDEN.cs.

Referenced by AmbientOcclusion.AmbientOcclusion(), and VolumetricDensity.Init().

float [,,] PDBtoDEN.gridS
staticprivate

Definition at line 75 of file PDBtoDEN.cs.

Vector3 PDBtoDEN.origin
static
Initial value:
= new Vector3(MoleculeModel.MinValue.x,
MoleculeModel.MinValue.y,
MoleculeModel.MinValue.z)

Definition at line 93 of file PDBtoDEN.cs.

Color [,,] PDBtoDEN.VertColor
staticprivate

Definition at line 81 of file PDBtoDEN.cs.

int PDBtoDEN.X
static

Definition at line 84 of file PDBtoDEN.cs.

Referenced by initColors(), ProSurface(), and TranPDBtoDEN().

int PDBtoDEN.Y
static

Definition at line 85 of file PDBtoDEN.cs.

Referenced by initColors(), ProSurface(), and TranPDBtoDEN().

int PDBtoDEN.Z
static

Definition at line 86 of file PDBtoDEN.cs.

Referenced by initColors(), ProSurface(), and TranPDBtoDEN().

Property Documentation

float [,,] PDBtoDEN.GridS
staticget

Definition at line 77 of file PDBtoDEN.cs.

Referenced by AmbientOcclusion.AmbientOcclusion(), and VolumetricDensity.Init().


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