|
AvogadroLibs 1.103.0
|
The RWLayerManager do and undo for layer actions.
#include <avogadro/qtgui/rwlayermanager.h>
Public Member Functions | |
| void | removeLayer (size_t layer, RWMolecule *rwmolecule) |
| void | addLayer (RWMolecule *rwmolecule) |
| void | setActiveLayer (size_t layer, RWMolecule *rwmolecule) |
| bool | visible (size_t layer) const |
Protected Member Functions | |
| bool | locked (size_t layer) const |
| void | flipVisible (size_t layer) |
| void | flipLocked (size_t layer) |
| void | addMolecule (const Core::Molecule *mol) |
| Core::Array< std::pair< size_t, std::string > > | activeMoleculeNames () const |
Additional Inherited Members | |
| Static Protected Member Functions inherited from LayerManager | |
| static Layer & | getMoleculeLayer () |
| static Layer & | getMoleculeLayer (const Molecule *mol) |
| static Layer & | getMoleculeLayer (const Molecule *original, const Molecule *copy) |
| static std::shared_ptr< MoleculeInfo > | getMoleculeInfo () |
| static std::shared_ptr< MoleculeInfo > | getMoleculeInfo (const Molecule *mol) |
| static void | deleteMolecule (const Molecule *mol) |
| static size_t | layerCount () |
| Static Protected Attributes inherited from LayerManager | |
| static const Molecule * | m_activeMolecule |
| static std::map< const Molecule *, std::shared_ptr< MoleculeInfo > > | m_molToInfo |
| bool visible | ( | size_t | layer | ) | const |
layer is visible
|
protected |
layer is locked
|
protected |
flip the visible value in layer
|
protected |
flip the locked value in layer
|
protected |
set mol as active molecule and add it if not exist
|
protected |