| 1 |
/****************************************************************************** |
| 2 |
This source file is part of the Avogadro project. |
| 3 |
This source code is released under the 3-Clause BSD License, (see "LICENSE"). |
| 4 |
******************************************************************************/ |
| 5 |
|
| 6 |
#ifndef QTAIMENGINE_H |
| 7 |
#define QTAIMENGINE_H |
| 8 |
|
| 9 |
#include <avogadro/qtgui/sceneplugin.h> |
| 10 |
|
| 11 |
#include <avogadro/core/avogadrocore.h> |
| 12 |
|
| 13 |
namespace Avogadro::QtPlugins { |
| 14 |
|
| 15 |
class QTAIMEngine : public QtGui::ScenePlugin |
| 16 |
{ |
| 17 |
Q_OBJECT |
| 18 |
public: |
| 19 |
explicit QTAIMEngine(QObject* parent = nullptr); |
| 20 |
~QTAIMEngine() override = default; |
| 21 |
|
| 22 |
void process(const QtGui::Molecule& molecule, |
| 23 |
Rendering::GroupNode& node) override; |
| 24 |
|
| 25 |
QString name() const override { return tr("QTAIM"); } |
| 26 |
|
| 27 |
QString description() const override |
| 28 |
{ |
| 29 |
return tr("Renders primitives using QTAIM properties"); |
| 30 |
} |
| 31 |
|
| 32 |
private: |
| 33 |
bool m_enabled; |
| 34 |
std::string m_name = "QTAIM"; |
| 35 |
}; |
| 36 |
|
| 37 |
} // end namespace Avogadro::QtPlugins |
| 38 |
|
| 39 |
#endif |