| 1 | //########################################################################## |
| 2 | //# # |
| 3 | //# CLOUDCOMPARE PLUGIN: qSSAO # |
| 4 | //# # |
| 5 | //# This program is free software; you can redistribute it and/or modify # |
| 6 | //# it under the terms of the GNU General Public License as published by # |
| 7 | //# the Free Software Foundation; version 2 or later of the License. # |
| 8 | //# # |
| 9 | //# This program is distributed in the hope that it will be useful, # |
| 10 | //# but WITHOUT ANY WARRANTY; without even the implied warranty of # |
| 11 | //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # |
| 12 | //# GNU General Public License for more details. # |
| 13 | //# # |
| 14 | //# COPYRIGHT: EDF R&D / TELECOM ParisTech (ENST-TSI) # |
| 15 | //# # |
| 16 | //########################################################################## |
| 17 | |
| 18 | #ifndef Q_SSAO_PLUGIN_HEADER |
| 19 | #define Q_SSAO_PLUGIN_HEADER |
| 20 | |
| 21 | #include "ccGLPluginInterface.h" |
| 22 | |
| 23 | //! SSAO shader (Screen Space Ambient Occlusion) |
| 24 | class qSSAO : public QObject, public ccGLPluginInterface |
| 25 | { |
| 26 | Q_OBJECT |
| 27 | Q_INTERFACES( ccPluginInterface ccGLPluginInterface ) |
| 28 | |
| 29 | Q_PLUGIN_METADATA( IID "cccorp.cloudcompare.plugin.qSSAO" FILE "../info.json" ) |
| 30 | |
| 31 | public: |
| 32 | explicit qSSAO(QObject* parent = nullptr); |
| 33 | |
| 34 | ~qSSAO() override = default; |
| 35 | |
| 36 | //inherited from ccGLFilterPluginInterface |
| 37 | ccGlFilter* getFilter() override; |
| 38 | }; |
| 39 | |
| 40 | #endif |