AvogadroLibs  1.92.0
Signals | Public Member Functions | List of all members
ScenePlugin Class Referenceabstract
Inheritance diagram for ScenePlugin:
BallAndStick CrystalScene Force Licorice Meshes OverlayAxes QTAIMEngine SymmetryScene VanDerWaals VanDerWaalsAO Wireframe

Signals

void drawablesChanged ()
 

Public Member Functions

 ScenePlugin (QObject *parent=0)
 
virtual void process (const Core::Molecule &molecule, Rendering::GroupNode &node)=0
 
virtual void processEditable (const RWMolecule &molecule, Rendering::GroupNode &node)
 
virtual QString name () const =0
 
virtual QString description () const =0
 
virtual bool isEnabled () const =0
 
virtual void setEnabled (bool enable)=0
 
virtual QWidget * setupWidget ()
 

Member Function Documentation

◆ process()

virtual void process ( const Core::Molecule molecule,
Rendering::GroupNode node 
)
pure virtual

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

Implemented in QTAIMEngine, VanDerWaalsAO, SymmetryScene, BallAndStick, Licorice, Meshes, VanDerWaals, CrystalScene, Force, Wireframe, and OverlayAxes.

◆ name()

virtual QString name ( ) const
pure virtual

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

Implemented in QTAIMEngine, SymmetryScene, VanDerWaalsAO, BallAndStick, OverlayAxes, Licorice, Meshes, VanDerWaals, CrystalScene, Force, and Wireframe.

◆ description()

virtual QString description ( ) const
pure virtual

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

Implemented in QTAIMEngine, SymmetryScene, VanDerWaalsAO, BallAndStick, OverlayAxes, Licorice, Meshes, VanDerWaals, CrystalScene, Force, and Wireframe.

◆ isEnabled()

virtual bool isEnabled ( ) const
pure virtual

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

Implemented in QTAIMEngine, SymmetryScene, VanDerWaalsAO, BallAndStick, OverlayAxes, Force, Licorice, VanDerWaals, CrystalScene, Wireframe, and Meshes.

◆ setEnabled()

virtual void setEnabled ( bool  enable)
pure virtual

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

Implemented in QTAIMEngine, SymmetryScene, VanDerWaalsAO, BallAndStick, OverlayAxes, Force, Licorice, VanDerWaals, CrystalScene, Wireframe, and Meshes.


The documentation for this class was generated from the following file: