![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Static Public Member Functions | |
static void | ChangeChainColor (string chain, Color c) |
static Color | GetChainColor (string chain) |
static void | ChangeAtomColor (string atomType, Color c) |
static Color | GetAtomColor (string atomType) |
static bool | IsAlive () |
static void | InitAtomic () |
static void | InitHiRERNA () |
static AtomModel | GetModel (string type) |
Protected Attributes | |
string | _type |
float | _radius |
float | _scale |
Color | _baseColor |
string | _baseTexture |
Properties | |
string | type [get] |
float | radius [get, set] |
float | scale [get, set] |
Color | baseColor [get, set] |
string | baseTexture [get, set] |
Private Member Functions | |
AtomModel (string type, float radius, float scale, Color col, string texture) | |
Static Private Attributes | |
static OrderedDictionary | s_typeToModel = null |
Definition at line 72 of file AtomModel.cs.
|
private |
Definition at line 103 of file AtomModel.cs.
|
static |
Changes the color of the atom type.
atomType | Atom type. |
c | New color of the atom type. |
Definition at line 150 of file AtomModel.cs.
|
static |
Changes the color of the chain.
chain | Chain to be changed, string. |
c | Color to be applied, type Color. |
Definition at line 123 of file AtomModel.cs.
|
static |
Gets the color of the atom type.
atomType | Atom type. |
Definition at line 163 of file AtomModel.cs.
Referenced by BallUpdate.UpdateColorsFromModel().
|
static |
Gets the color of the chain.
chain | Chain. |
Definition at line 137 of file AtomModel.cs.
|
static |
Definition at line 257 of file AtomModel.cs.
Referenced by SurfaceManager.ColorVertices(), BFactorRep.CreateBFRep(), Molecule.Control.ControlMolecule.CreateSplines(), ParseData.ParsePDB.SocketPDB.loadPDB(), ParseData.ParsePDB.RequestPDB.ReadAnimTop(), ParsePDB.ReadPDB2(), ParseData.ParsePDB.RequestPDB.ReadXGMML(), and AlphaChainSmoother.ReSpline().
|
static |
Inits the atomic and chains scales.
Definition at line 180 of file AtomModel.cs.
Referenced by ParsePDB.FetchPDB2(), ParsePDB.LoadPDBRequest2(), LoadGUI.OpenFileCallback(), UI.GUIDisplay.OpenFileCallback(), and Molecule3D.Start().
|
static |
Definition at line 227 of file AtomModel.cs.
References Molecule.Model.MoleculeModel.carbonColor, ColorObject.color, Molecule.Model.MoleculeModel.oxygenColor, and Molecule.Model.MoleculeModel.phosphorusColor.
Referenced by ParsePDB.FetchPDB2(), ParsePDB.LoadPDBRequest2(), LoadGUI.OpenFileCallback(), and UI.GUIDisplay.OpenFileCallback().
|
static |
Determines whether this instance is alive.
true
if this instance is alive; otherwise, false
. Definition at line 173 of file AtomModel.cs.
|
protected |
Definition at line 76 of file AtomModel.cs.
|
protected |
Definition at line 77 of file AtomModel.cs.
|
protected |
Definition at line 74 of file AtomModel.cs.
|
protected |
Definition at line 75 of file AtomModel.cs.
|
protected |
Definition at line 73 of file AtomModel.cs.
|
staticprivate |
Definition at line 111 of file AtomModel.cs.
|
getset |
|
getset |
Definition at line 98 of file AtomModel.cs.
|
getset |
Definition at line 83 of file AtomModel.cs.
Referenced by Molecule.View.DisplayAtom.AtomCubeStyle.CreateAtomHB(), and Molecule.View.DisplayAtom.AtomSphereStyle.DisplayAtomMethodBySphere().
|
getset |
Definition at line 88 of file AtomModel.cs.
Referenced by Molecule.View.DisplayAtom.AtomCubeStyle.CreateAtomHB(), and Molecule.View.DisplayAtom.AtomSphereStyle.DisplayAtomMethodBySphere().
|
get |
Definition at line 79 of file AtomModel.cs.
Referenced by Molecule.View.DisplayAtom.AtomCubeStyle.CreateAtomHB(), Molecule.View.DisplayAtom.AtomSphereStyle.DisplayAtomMethodBySphere(), and HBallMeshManager.SetColor().