The RWLayerManager do and undo for layer actions.
#include <avogadro/qtgui/rwlayermanager.h>
|
void | removeLayer (size_t layer, RWMolecule *rwmolecule) |
|
void | addLayer (RWMolecule *rwmolecule) |
|
void | setActiveLayer (size_t layer, RWMolecule *rwmolecule) |
|
◆ visible()
bool visible |
( |
size_t |
layer | ) |
const |
|
protected |
- 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: