44 #ifndef GAUSSCURVATUREPLUGIN_HH 45 #define GAUSSCURVATUREPLUGIN_HH 51 #include <OpenFlipper/BasePlugin/TextureInterface.hh> 60 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-GaussCurvature")
65 void addTexture( QString _textureName , QString _filename , uint dimension );
66 void updatedTextures( QString ,
int );
67 void setTextureMode(QString _textureName ,QString _mode);
70 void setSlotDescription(QString _slotName, QString _slotDescription,
71 QStringList _parameters, QStringList _descriptions);
73 void slotUpdateTexture( QString _textureName ,
int _identifier);
74 void pluginsInitialized();
77 void noguiSupported( ) {} ;
84 QString
name() {
return (QString(
"GaussCurvature")); };
85 QString
description( ) {
return (QString(
"Generates Gauss Curvature information")); };
97 QString version() {
return QString(
"1.0"); };
102 template<
typename MeshT >
103 void computeGaussianCurvature( MeshT* _mesh);
106 #endif //GAUSSCURVATUREPLUGIN_HH QString description()
Return a description of what the plugin is doing.
QString name()
Return a name for the plugin.
bool computeGaussCurvature(int _objectId)
Scripting slot to trigger computation of gaussian curvature.
Provide texture support for a plugin.
Interface class from which all plugins have to be created.