UnityMol  1.0.25beta
UMol.UnityMolRepresentationManager Class Reference

Public Member Functions

void AddRepresentation (UnityMolSelection selection, AtomType atomRep=AtomType.optihb, BondType bondRep=BondType.optihs, params object[] args)
 
void AddRepresentation (UnityMolStructure structure, AtomType atomRep, BondType bondRep, params object[] args)
 
List< UnityMolRepresentationrepresentationExists (string nameSel, RepType repType)
 
void AddRepresentationToStructures (UnityMolSelection selection, UnityMolRepresentation newRep)
 
void DeleteRepresentationFromStructures (UnityMolRepresentation rep)
 
void UpdateActiveRepresentations ()
 
void Delete (UnityMolRepresentation r)
 
void Clean ()
 
void UpdateActiveColliders ()
 Keep track of atoms with an active representations For cartoon representations, we only add backbone atoms (ignoring H atoms) More...
 

Public Attributes

List< UnityMolRepresentationrepresentations = new List<UnityMolRepresentation>()
 
List< UnityMolRepresentationactiveRepresentations = new List<UnityMolRepresentation>()
 Store all the activated/visible representations More...
 
List< UnityMolAtomatomsWithActiveRep = new List<UnityMolAtom>()
 

Member Function Documentation

◆ AddRepresentation() [1/2]

void UMol.UnityMolRepresentationManager.AddRepresentation ( UnityMolSelection  selection,
AtomType  atomRep = AtomType.optihb,
BondType  bondRep = BondType.optihs,
params object []  args 
)

◆ AddRepresentation() [2/2]

void UMol.UnityMolRepresentationManager.AddRepresentation ( UnityMolStructure  structure,
AtomType  atomRep,
BondType  bondRep,
params object []  args 
)

◆ AddRepresentationToStructures()

void UMol.UnityMolRepresentationManager.AddRepresentationToStructures ( UnityMolSelection  selection,
UnityMolRepresentation  newRep 
)

◆ Clean()

void UMol.UnityMolRepresentationManager.Clean ( )

◆ Delete()

void UMol.UnityMolRepresentationManager.Delete ( UnityMolRepresentation  r)

◆ DeleteRepresentationFromStructures()

void UMol.UnityMolRepresentationManager.DeleteRepresentationFromStructures ( UnityMolRepresentation  rep)

◆ representationExists()

List<UnityMolRepresentation> UMol.UnityMolRepresentationManager.representationExists ( string  nameSel,
RepType  repType 
)

◆ UpdateActiveColliders()

void UMol.UnityMolRepresentationManager.UpdateActiveColliders ( )

Keep track of atoms with an active representations For cartoon representations, we only add backbone atoms (ignoring H atoms)

◆ UpdateActiveRepresentations()

void UMol.UnityMolRepresentationManager.UpdateActiveRepresentations ( )

Member Data Documentation

◆ activeRepresentations

List<UnityMolRepresentation> UMol.UnityMolRepresentationManager.activeRepresentations = new List<UnityMolRepresentation>()

Store all the activated/visible representations

◆ atomsWithActiveRep

List<UnityMolAtom> UMol.UnityMolRepresentationManager.atomsWithActiveRep = new List<UnityMolAtom>()

◆ representations

List<UnityMolRepresentation> UMol.UnityMolRepresentationManager.representations = new List<UnityMolRepresentation>()

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