Part of the SMCRA data structure, UnityMolStructure stores the models of the structure
More...
|
| | UnityMolStructure (List< UnityMolModel > listModels, string nameStructure) |
| | UnityMolStructure constructor taking a list of models as arg More...
|
| |
| | UnityMolStructure (UnityMolModel newModel, string nameStructure) |
| | UnityMolStructure constructor taking a model as arg More...
|
| |
| void | updateAtomRepValues () |
| | Update atom radii and colors of all atoms based on the detected structure molecular type (Martini/HireRNA...) More...
|
| |
| void | readTrajectoryXDR (string trajPath) |
| |
| void | unloadTrajectoryXDR () |
| |
| void | readDX (string dxPath) |
| |
| void | unloadDX () |
| |
| void | createModelPlayer () |
| |
| void | modelNext (bool forward=true, bool loop=true) |
| |
| void | setModel (int modelId) |
| |
| void | trajNext (bool forward=true, bool loop=true) |
| |
| void | trajNextSmooth (float t, bool forward=true, bool loop=true, bool newFrame=false) |
| |
| void | trajSetFrame (int idF) |
| |
| void | updateRepresentations (bool trajectory=true) |
| | Update positions of GameObject recorded in atomToGo and update representations with new positions More...
|
| |
| void | trajUpdateAtomPositions () |
| | Updates each atom position of the current model of the structure based on the trajectory Uses center of gravity from the first model of the structure ! More...
|
| |
| void | createTrajectoryPlayer () |
| |
| List< UnityMolStructure > | splitModelsInStructures () |
| | Split different models read in a file into several UnityMolStructure More...
|
| |
| UnityMolAtom | findAtomInModel (UnityMolModel newModel, UnityMolAtom prevAtom, bool strict=false) |
| | Find the corresponding atom from a model to a different model Returns null if not found More...
|
| |
| UnityMolSelection | ToSelectionAll () |
| | Outputs a UnityMolSelection of all the atoms of the structure, including the atoms of the different models More...
|
| |
| UnityMolSelection | ToSelection () |
| | Outputs a UnityMolSelection of all the atoms of the current model of structure More...
|
| |
| string | ToSelectionName () |
| |
| string | formatName (int length) |
| |
| void | AddAtom (UnityMolAtom toAdd, string modelName, string chainName) |
| |
| Vector3 [] | getColliderPositions () |
| |
| GameObject [] | getAtomGos () |
| |
| void | disconnectIMD () |
| |
Part of the SMCRA data structure, UnityMolStructure stores the models of the structure
◆ MolecularType
| Enumerator |
|---|
| standard | |
| Martini | |
| OPEP | |
| HIRERNA | |
◆ UnityMolStructure() [1/2]
| UMol.UnityMolStructure.UnityMolStructure |
( |
List< UnityMolModel > |
listModels, |
|
|
string |
nameStructure |
|
) |
| |
◆ UnityMolStructure() [2/2]
| UMol.UnityMolStructure.UnityMolStructure |
( |
UnityMolModel |
newModel, |
|
|
string |
nameStructure |
|
) |
| |
◆ AddAtom()
| void UMol.UnityMolStructure.AddAtom |
( |
UnityMolAtom |
toAdd, |
|
|
string |
modelName, |
|
|
string |
chainName |
|
) |
| |
◆ createModelPlayer()
| void UMol.UnityMolStructure.createModelPlayer |
( |
| ) |
|
◆ createTrajectoryPlayer()
| void UMol.UnityMolStructure.createTrajectoryPlayer |
( |
| ) |
|
◆ disconnectIMD()
| void UMol.UnityMolStructure.disconnectIMD |
( |
| ) |
|
◆ findAtomInModel()
Find the corresponding atom from a model to a different model Returns null if not found
◆ formatName()
| string UMol.UnityMolStructure.formatName |
( |
int |
length | ) |
|
◆ getAtomGos()
| GameObject [] UMol.UnityMolStructure.getAtomGos |
( |
| ) |
|
◆ getColliderPositions()
| Vector3 [] UMol.UnityMolStructure.getColliderPositions |
( |
| ) |
|
◆ modelNext()
| void UMol.UnityMolStructure.modelNext |
( |
bool |
forward = true, |
|
|
bool |
loop = true |
|
) |
| |
◆ readDX()
| void UMol.UnityMolStructure.readDX |
( |
string |
dxPath | ) |
|
◆ readTrajectoryXDR()
| void UMol.UnityMolStructure.readTrajectoryXDR |
( |
string |
trajPath | ) |
|
◆ setModel()
| void UMol.UnityMolStructure.setModel |
( |
int |
modelId | ) |
|
◆ splitModelsInStructures()
◆ ToSelection()
◆ ToSelectionAll()
Outputs a UnityMolSelection of all the atoms of the structure, including the atoms of the different models
◆ ToSelectionName()
| string UMol.UnityMolStructure.ToSelectionName |
( |
| ) |
|
◆ trajNext()
| void UMol.UnityMolStructure.trajNext |
( |
bool |
forward = true, |
|
|
bool |
loop = true |
|
) |
| |
◆ trajNextSmooth()
| void UMol.UnityMolStructure.trajNextSmooth |
( |
float |
t, |
|
|
bool |
forward = true, |
|
|
bool |
loop = true, |
|
|
bool |
newFrame = false |
|
) |
| |
◆ trajSetFrame()
| void UMol.UnityMolStructure.trajSetFrame |
( |
int |
idF | ) |
|
◆ trajUpdateAtomPositions()
| void UMol.UnityMolStructure.trajUpdateAtomPositions |
( |
| ) |
|
Updates each atom position of the current model of the structure based on the trajectory Uses center of gravity from the first model of the structure !
◆ unloadDX()
| void UMol.UnityMolStructure.unloadDX |
( |
| ) |
|
◆ unloadTrajectoryXDR()
| void UMol.UnityMolStructure.unloadTrajectoryXDR |
( |
| ) |
|
◆ updateAtomRepValues()
| void UMol.UnityMolStructure.updateAtomRepValues |
( |
| ) |
|
Update atom radii and colors of all atoms based on the detected structure molecular type (Martini/HireRNA...)
◆ updateRepresentations()
| void UMol.UnityMolStructure.updateRepresentations |
( |
bool |
trajectory = true | ) |
|
Update positions of GameObject recorded in atomToGo and update representations with new positions
◆ artemisM
Trajectory reader using xdrfile library
◆ atomToGo
| Dictionary<UnityMolAtom, GameObject> UMol.UnityMolStructure.atomToGo |
◆ currentModelId
| int UMol.UnityMolStructure.currentModelId = 0 |
◆ dxr
◆ groupID
| int UMol.UnityMolStructure.groupID = 0 |
Id of the group used to move the molecules
◆ models
Store all the models of the structure
◆ modelsPlayer
Monobehaviour script to read models like trajectories
◆ name
| string UMol.UnityMolStructure.name |
◆ representations
List of representations for this structure
◆ ssInfoFromFile
| bool UMol.UnityMolStructure.ssInfoFromFile = false |
Secondary structures were parsed
◆ structureType
Identified type of molecular structure (all-atoms/Martini/Hire-RNA/OPEP)
◆ trajAtomPositions
| List<Vector3> UMol.UnityMolStructure.trajAtomPositions |
Atom positions used when reading a trajectory file
◆ trajectoryLoaded
| bool UMol.UnityMolStructure.trajectoryLoaded = false |
Trajectory loaded for this structure
◆ trajPlayer
Trajectory player calling trajNext from a monobehaviour Update loop
◆ uniqueName
| string UMol.UnityMolStructure.uniqueName |
◆ xdr
Trajectory reader using xdrfile library
◆ Count
| int UMol.UnityMolStructure.Count |
|
get |
Returns the number of atoms in the current model
◆ currentModel
◆ Length
| int UMol.UnityMolStructure.Length |
|
get |
Returns the number of atoms in the current model
The documentation for this class was generated from the following file: