UnityMol  1.0.25beta
UMol.UnityMolSelection Class Reference

Public Member Functions

 UnityMolSelection (List< UnityMolAtom > newAtoms, UnityMolBonds newBonds, string nameSelection, string MDASele="")
 
 UnityMolSelection (List< UnityMolAtom > newAtoms, string nameSelection, string MDASele="")
 
 UnityMolSelection (UnityMolAtom atom, string nameSelection)
 
 UnityMolSelection (UnityMolAtom atom, UnityMolBonds newBonds, string nameSelection)
 
void fillBonds ()
 
override string ToString ()
 
bool isGlobalSelection ()
 
void fillStructures ()
 
void mergeRepresentations (UnityMolSelection sel2)
 
string ToSelectionCommand ()
 

Static Public Member Functions

static UnityMolSelection operator+ (UnityMolSelection sel1, UnityMolSelection sel2)
 Warning : Not merging representations of the 2 selections. More...
 
static UnityMolSelection operator - (UnityMolSelection sel1, UnityMolSelection sel2)
 

Public Attributes

bool isAlterable = true
 
bool updateWithTraj = false
 
Dictionary< RepType, List< UnityMolRepresentation > > representations
 
UnityMolBonds bonds
 
List< UnityMolStructurestructures
 
bool fromSelectionLanguage = false
 
string MDASelString = ""
 
bool forceGlobalSelection = false
 

Properties

List< UnityMolAtomatoms [get, set]
 
string name [get, set]
 
int Count [get]
 

Constructor & Destructor Documentation

◆ UnityMolSelection() [1/4]

UMol.UnityMolSelection.UnityMolSelection ( List< UnityMolAtom newAtoms,
UnityMolBonds  newBonds,
string  nameSelection,
string  MDASele = "" 
)

◆ UnityMolSelection() [2/4]

UMol.UnityMolSelection.UnityMolSelection ( List< UnityMolAtom newAtoms,
string  nameSelection,
string  MDASele = "" 
)

◆ UnityMolSelection() [3/4]

UMol.UnityMolSelection.UnityMolSelection ( UnityMolAtom  atom,
string  nameSelection 
)

◆ UnityMolSelection() [4/4]

UMol.UnityMolSelection.UnityMolSelection ( UnityMolAtom  atom,
UnityMolBonds  newBonds,
string  nameSelection 
)

Member Function Documentation

◆ fillBonds()

void UMol.UnityMolSelection.fillBonds ( )

◆ fillStructures()

void UMol.UnityMolSelection.fillStructures ( )

◆ isGlobalSelection()

bool UMol.UnityMolSelection.isGlobalSelection ( )

◆ mergeRepresentations()

void UMol.UnityMolSelection.mergeRepresentations ( UnityMolSelection  sel2)

◆ operator -()

static UnityMolSelection UMol.UnityMolSelection.operator - ( UnityMolSelection  sel1,
UnityMolSelection  sel2 
)
static

◆ operator+()

static UnityMolSelection UMol.UnityMolSelection.operator+ ( UnityMolSelection  sel1,
UnityMolSelection  sel2 
)
static

Warning : Not merging representations of the 2 selections.

◆ ToSelectionCommand()

string UMol.UnityMolSelection.ToSelectionCommand ( )

◆ ToString()

override string UMol.UnityMolSelection.ToString ( )

Member Data Documentation

◆ bonds

UnityMolBonds UMol.UnityMolSelection.bonds

◆ forceGlobalSelection

bool UMol.UnityMolSelection.forceGlobalSelection = false

◆ fromSelectionLanguage

bool UMol.UnityMolSelection.fromSelectionLanguage = false

◆ isAlterable

bool UMol.UnityMolSelection.isAlterable = true

◆ MDASelString

string UMol.UnityMolSelection.MDASelString = ""

◆ representations

Dictionary<RepType, List<UnityMolRepresentation> > UMol.UnityMolSelection.representations

◆ structures

List<UnityMolStructure> UMol.UnityMolSelection.structures

◆ updateWithTraj

bool UMol.UnityMolSelection.updateWithTraj = false

Property Documentation

◆ atoms

List<UnityMolAtom> UMol.UnityMolSelection.atoms
getset

◆ Count

int UMol.UnityMolSelection.Count
get

◆ name

string UMol.UnityMolSelection.name
getset

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