53 #ifndef MEANCURVATUREPLUGIN_HH
54 #define MEANCURVATUREPLUGIN_HH
60 #include <OpenFlipper/BasePlugin/TextureInterface.hh>
69 #if QT_VERSION >= 0x050000
70 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-MeanCurvature")
76 void addTexture( QString _textureName , QString _filename , uint dimension );
77 void updatedTextures( QString ,
int );
78 void setTextureMode(QString _textureName ,QString _mode);
81 void setSlotDescription(QString _slotName, QString _slotDescription,
82 QStringList _parameters, QStringList _descriptions);
85 void slotUpdateTexture( QString _textureName ,
int _identifier );
87 void pluginsInitialized();
90 void noguiSupported( ) {} ;
100 QString version() {
return QString(
"1.0"); };
107 QString
name() {
return (QString(
"MeanCurvature")); };
108 QString
description( ) {
return (QString(
"Generates Mean Curvature information")); };
111 template<
typename MeshT >
115 #endif //MEANCURVATUREPLUGIN_HH
Interface class from which all plugins have to be created.
QString description()
Return a description of what the plugin is doing.
QString name()
Return a name for the plugin.
bool computeMeanCurvature(int _objectId)
Scripting slot to trigger computation of mean curvature.
Provide texture support for a plugin.