![]() |
UnityMol
1.0.25beta
|
Public Types | |
enum | SelectionMode { SelectionMode.Atom, SelectionMode.Residue, SelectionMode.Chain, SelectionMode.Molecule } |
Public Member Functions | |
UnityMolAtom | transformToAtom (Transform t) |
Get the UnityMolAtom from the collider transform of an atom Used when selecting atoms via Physics.Raycast More... | |
void | Add (UnityMolSelection sel) |
void | Delete (string selName) |
void | DeleteRepresentations (UnityMolSelection sel) |
void | DeleteRepresentation (UnityMolSelection sel, RepType repType) |
void | Delete (UnityMolStructure s) |
UnityMolSelection | getClickSelection () |
Get the "(selection)" selection. Creates it if it does not exist. More... | |
UnityMolSelection | getCurrentSelection () |
Get the current selection if it is set otherwise create a new one with getClickSelection More... | |
void | Clean () |
void | updateSelectionsWithNewModel (UnityMolStructure s) |
void | updateSelectionContentTrajectory (UnityMolStructure s) |
void | updateSelectionsWithMDA (UnityMolStructure s, bool forceModif=false) |
void | ClearCurrentSelection () |
void | SetCurrentSelection (UnityMolSelection sel) |
bool | AddSelectionKeyword (string keyword, string selectionName) |
void | RemoveSelectionKeyword (string keyword) |
string | findNewSelectionName (string selName) |
Public Attributes | |
SelectionMode | selectionMode = SelectionMode.Residue |
Dictionary< string, UnityMolSelection > | selections = new Dictionary<string, UnityMolSelection>() |
Dictionary of all selections created More... | |
Dictionary< string, string > | selectionMDAKeywords = new Dictionary<string, string>() |
string | clickSelectionName = "(selection)" |
Properties | |
UnityMolSelection | currentSelection [get] |
UnityMolSelection containing all the atoms of the currentSelections list More... | |
|
strong |
void UMol.UnityMolSelectionManager.Add | ( | UnityMolSelection | sel | ) |
bool UMol.UnityMolSelectionManager.AddSelectionKeyword | ( | string | keyword, |
string | selectionName | ||
) |
void UMol.UnityMolSelectionManager.Clean | ( | ) |
void UMol.UnityMolSelectionManager.ClearCurrentSelection | ( | ) |
void UMol.UnityMolSelectionManager.Delete | ( | string | selName | ) |
void UMol.UnityMolSelectionManager.Delete | ( | UnityMolStructure | s | ) |
void UMol.UnityMolSelectionManager.DeleteRepresentation | ( | UnityMolSelection | sel, |
RepType | repType | ||
) |
void UMol.UnityMolSelectionManager.DeleteRepresentations | ( | UnityMolSelection | sel | ) |
string UMol.UnityMolSelectionManager.findNewSelectionName | ( | string | selName | ) |
UnityMolSelection UMol.UnityMolSelectionManager.getClickSelection | ( | ) |
Get the "(selection)" selection. Creates it if it does not exist.
UnityMolSelection UMol.UnityMolSelectionManager.getCurrentSelection | ( | ) |
Get the current selection if it is set otherwise create a new one with getClickSelection
void UMol.UnityMolSelectionManager.RemoveSelectionKeyword | ( | string | keyword | ) |
void UMol.UnityMolSelectionManager.SetCurrentSelection | ( | UnityMolSelection | sel | ) |
UnityMolAtom UMol.UnityMolSelectionManager.transformToAtom | ( | Transform | t | ) |
Get the UnityMolAtom from the collider transform of an atom Used when selecting atoms via Physics.Raycast
void UMol.UnityMolSelectionManager.updateSelectionContentTrajectory | ( | UnityMolStructure | s | ) |
void UMol.UnityMolSelectionManager.updateSelectionsWithMDA | ( | UnityMolStructure | s, |
bool | forceModif = false |
||
) |
void UMol.UnityMolSelectionManager.updateSelectionsWithNewModel | ( | UnityMolStructure | s | ) |
string UMol.UnityMolSelectionManager.clickSelectionName = "(selection)" |
Dictionary<string, string> UMol.UnityMolSelectionManager.selectionMDAKeywords = new Dictionary<string, string>() |
SelectionMode UMol.UnityMolSelectionManager.selectionMode = SelectionMode.Residue |
Dictionary<string, UnityMolSelection> UMol.UnityMolSelectionManager.selections = new Dictionary<string, UnityMolSelection>() |
Dictionary of all selections created
|
get |
UnityMolSelection containing all the atoms of the currentSelections list