AvogadroLibs  1.96.0
Static Public Member Functions | Static Protected Attributes | List of all members
LayerManager Class Reference
Inheritance diagram for LayerManager:
PluginLayerManager RWLayerManager LayerModel

Static Public Member Functions

static LayergetMoleculeLayer ()
 
static LayergetMoleculeLayer (const Molecule *mol)
 
static LayergetMoleculeLayer (const Molecule *original, const Molecule *copy)
 
static std::shared_ptr< MoleculeInfogetMoleculeInfo ()
 
static std::shared_ptr< MoleculeInfogetMoleculeInfo (const Molecule *mol)
 
static void deleteMolecule (const Molecule *mol)
 
static size_t layerCount ()
 

Static Protected Attributes

static const Moleculem_activeMolecule
 
static std::map< const Molecule *, std::shared_ptr< MoleculeInfo > > m_molToInfo
 

Member Function Documentation

◆ getMoleculeLayer() [1/3]

static Layer& getMoleculeLayer ( )
static
Returns
active molecule Layer

◆ getMoleculeLayer() [2/3]

static Layer& getMoleculeLayer ( const Molecule mol)
static
Returns
Layer from mol and creates MoleculeInfo if not exists

◆ getMoleculeLayer() [3/3]

static Layer& getMoleculeLayer ( const Molecule original,
const Molecule copy 
)
static
Returns
Layer from original and links original MoleculeInfo to copy

◆ getMoleculeInfo() [1/2]

static std::shared_ptr<MoleculeInfo> getMoleculeInfo ( )
static
Returns
the MoleculeInfo from active molecule

◆ getMoleculeInfo() [2/2]

static std::shared_ptr<MoleculeInfo> getMoleculeInfo ( const Molecule mol)
static
Returns
the MoleculeInfo from mol

◆ deleteMolecule()

static void deleteMolecule ( const Molecule mol)
static

remove all data related to mol

◆ layerCount()

static size_t layerCount ( )
static
Returns
the layer quantity from activeMolecule

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