50 #ifndef GAUSSCURVATUREPLUGIN_HH 51 #define GAUSSCURVATUREPLUGIN_HH 57 #include <OpenFlipper/BasePlugin/TextureInterface.hh> 66 #if QT_VERSION >= 0x050000 67 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-GaussCurvature")
73 void addTexture( QString _textureName , QString _filename , uint dimension );
74 void updatedTextures( QString ,
int );
75 void setTextureMode(QString _textureName ,QString _mode);
78 void setSlotDescription(QString _slotName, QString _slotDescription,
79 QStringList _parameters, QStringList _descriptions);
81 void slotUpdateTexture( QString _textureName ,
int _identifier);
82 void pluginsInitialized();
85 void noguiSupported( ) {} ;
92 QString
name() {
return (QString(
"GaussCurvature")); };
93 QString
description( ) {
return (QString(
"Generates Gauss Curvature information")); };
105 QString version() {
return QString(
"1.0"); };
110 template<
typename MeshT >
111 void computeGaussianCurvature( MeshT* _mesh);
114 #endif //GAUSSCURVATUREPLUGIN_HH QString name()
Return a name for the plugin.
QString description()
Return a description of what the plugin is doing.
Interface class from which all plugins have to be created.
Provide texture support for a plugin.
bool computeGaussCurvature(int _objectId)
Scripting slot to trigger computation of gaussian curvature.