LaplacePlugin.hh 1.07 KB
Newer Older
Jan Möbius's avatar
 
Jan Möbius committed
1
2
3
4
5
6
7
8
9
10
11
12
#include <QObject>
#include <QMenuBar>

#include <OpenFlipper/BasePlugin/BaseInterface.hh>
#include <OpenFlipper/BasePlugin/TextureInterface.hh>
#include <OpenFlipper/common/Types.hh>

class LaplaceLengthPlugin : public QObject, BaseInterface, TextureInterface
{
  Q_OBJECT
  Q_INTERFACES(BaseInterface)
  Q_INTERFACES(TextureInterface)
Jan Möbius's avatar
   
Jan Möbius committed
13

Jan Möbius's avatar
 
Jan Möbius committed
14
  signals:
Jan Möbius's avatar
   
Jan Möbius committed
15

Jan Möbius's avatar
 
Jan Möbius committed
16
17
18
19
20
21
    void addTexture( QString _textureName , QString _filename , uint dimension );
    void updatedTextures( QString , int );
    void setTextureMode(QString _textureName ,QString _mode);

  private slots:
    void slotUpdateTexture( QString _textureName , int _identifier );
Jan Möbius's avatar
   
Jan Möbius committed
22

Jan Möbius's avatar
 
Jan Möbius committed
23
    void pluginsInitialized();
Jan Möbius's avatar
   
Jan Möbius committed
24

Jan Möbius's avatar
 
Jan Möbius committed
25
26
27
  public :

    ~LaplaceLengthPlugin() {};
Jan Möbius's avatar
   
Jan Möbius committed
28

Jan Möbius's avatar
 
Jan Möbius committed
29
30
    template< typename MeshT >
    void computeLaplaceLength(MeshT* _mesh);
Jan Möbius's avatar
   
Jan Möbius committed
31

Jan Möbius's avatar
 
Jan Möbius committed
32
33
    template< typename MeshT >
    void computeLaplaceSquaredLength(MeshT* _mesh);
Jan Möbius's avatar
   
Jan Möbius committed
34

Jan Möbius's avatar
 
Jan Möbius committed
35
    QString name() { return (QString("LaplaceLengthPlugin")); };
Jan Möbius's avatar
   
Jan Möbius committed
36
37
38
39
    QString description( ) { return (QString("Computes Laplace Vector length information")); };

  public slots:
    QString version() { return QString("1.0"); };
Jan Möbius's avatar
 
Jan Möbius committed
40
};