The RWLayerManager do and undo for layer actions.
#include <avogadro/qtgui/rwlayermanager.h>
◆ addLayer()
Add a layer to rwmolecule's molecule, as one undoable step on its undo stack. If that molecule is not the active one it is made active first.
◆ visible()
| bool visible |
( |
size_t | layer | ) |
const |
- Returns
- if
layer is visible
◆ locked()
| bool locked |
( |
size_t | layer | ) |
const |
|
protected |
- Returns
- if
layer is locked
◆ flipVisible()
| void flipVisible |
( |
size_t | layer | ) |
|
|
protected |
flip the visible value in layer
◆ flipLocked()
| void flipLocked |
( |
size_t | layer | ) |
|
|
protected |
flip the locked value in layer
◆ addMolecule()
set mol as active molecule and add it if not exist
◆ activeMoleculeNames()
| Core::Array< std::pair< size_t, std::string > > activeMoleculeNames |
( |
| ) |
const |
|
protected |
- Returns
- a sorted array by layer ID, containing the ID and the key name
The documentation for this class was generated from the following file: