47 #ifndef MEANCURVATUREPLUGIN_HH 48 #define MEANCURVATUREPLUGIN_HH 54 #include <OpenFlipper/BasePlugin/TextureInterface.hh> 63 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-MeanCurvature")
68 void addTexture( QString _textureName , QString _filename , uint dimension );
69 void updatedTextures( QString ,
int );
70 void setTextureMode(QString _textureName ,QString _mode);
73 void setSlotDescription(QString _slotName, QString _slotDescription,
74 QStringList _parameters, QStringList _descriptions);
77 void slotUpdateTexture( QString _textureName ,
int _identifier );
79 void pluginsInitialized();
82 void noguiSupported( ) {} ;
92 QString version() {
return QString(
"1.0"); };
99 QString
name() {
return (QString(
"MeanCurvature")); };
100 QString
description( ) {
return (QString(
"Generates Mean Curvature information")); };
103 template<
typename MeshT >
107 #endif //MEANCURVATUREPLUGIN_HH Provide texture support for a plugin.
QString description()
Return a description of what the plugin is doing.
Interface class from which all plugins have to be created.
QString name()
Return a name for the plugin.
bool computeMeanCurvature(int _objectId)
Scripting slot to trigger computation of mean curvature.