Class Avogadro::QtGui::ScenePlugin

class Avogadro::QtGui::ScenePlugin : public QObject

Public Functions

explicit ScenePlugin(QObject *parent = nullptr)
~ScenePlugin() override
virtual void process(const Core::Molecule &molecule, Rendering::GroupNode &node) = 0

Process the supplied atom, and add the necessary primitives to the scene.

virtual void processEditable(const RWMolecule &molecule, Rendering::GroupNode &node)
virtual QString name() const = 0

The name of the scene plugin, will be displayed in the user interface.

virtual QString description() const = 0

A description of the scene plugin, may be displayed in the user interface.

virtual bool isEnabled() const = 0

Returns true if the scene plugin has been enabled and is active.

virtual void setEnabled(bool enable) = 0

Set the enabled state of the plugin (default should be false).

virtual QWidget *setupWidget()

Signals

void drawablesChanged()