|
AvogadroLibs 1.103.0
|
Public Types | |
| enum | DefaultBehavior { Ignore , False , True } |
Signals | |
| void | drawablesChanged () |
Public Member Functions | |
| ScenePlugin (QObject *parent=nullptr) | |
| virtual void | process (const QtGui::Molecule &molecule, Rendering::GroupNode &node) |
| virtual void | processEditable (const RWMolecule &molecule, Rendering::GroupNode &node) |
| virtual QString | name () const =0 |
| virtual QString | description () const =0 |
| virtual bool | isEnabled () const |
| virtual bool | isActiveLayerEnabled () const |
| virtual void | setEnabled (bool enable) |
| virtual bool | isApplicable () const |
| virtual QWidget * | setupWidget () |
| virtual bool | hasSetupWidget () const |
| virtual DefaultBehavior | defaultBehavior () const |
Protected Attributes | |
| PluginLayerManager | m_layerManager |
| enum DefaultBehavior |
Returns if this plugin should be considered in the default behavior, or it should reset to true or false.
|
virtual |
Process the supplied atom, and add the necessary primitives to the scene.
|
pure virtual |
The name of the scene plugin, will be displayed in the user interface.
|
pure virtual |
A description of the scene plugin, may be displayed in the user interface.
|
virtual |
Returns true if the scene plugin has been enabled and is active.
|
virtual |
Returns true if the scene plugin has been enabled and is active in the active scene.
|
virtual |
Set the enabled state of the plugin (default should be false).
|
virtual |
|
virtual |
|
virtual |
This method exists to query without creating the widget.