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
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include <QObject>
#include <QMenuBar>

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

class LaplaceLengthPlugin : public QObject, BaseInterface, TextureInterface
{
  Q_OBJECT
  Q_INTERFACES(BaseInterface)
  Q_INTERFACES(TextureInterface)
  
  signals:
    
    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 );
    
    void pluginsInitialized();
    
  public :

    ~LaplaceLengthPlugin() {};
    
    template< typename MeshT >
    void computeLaplaceLength(MeshT* _mesh);
    
    template< typename MeshT >
    void computeLaplaceSquaredLength(MeshT* _mesh);
    
    QString name() { return (QString("LaplaceLengthPlugin")); };
    QString description( ) { return (QString("Computes Laplace Vector length information")); }; 
};