Documentation


morphingEngineQt.h

Go to the documentation of this file.
00001 #ifndef MORPHING_ENGINE_QT_H
00002 #define MORPHING_ENGINE_QT_H
00003 
00004 #include <animal/X3DTK/X3D/morphingNode/morphingNode.h>
00005 
00006 #include "morphingEngineDesigner.h"
00007 
00008 namespace X3DTK
00009 {
00010   namespace Qt
00011   {
00012 
00016     class MorphingEngineQt : public MorphingEngineDesigner
00017     {
00018 
00019       Q_OBJECT        // must include this if you use Qt signals/slots
00020 
00021     public:
00022 
00024       MorphingEngineQt( AMorphingEngine * morphing);
00025 
00027       ~MorphingEngineQt();
00028 
00030       //QWidget * createQWidget(X3DTK::X3D::X3DNode * node);
00031 
00032     public slots:
00033 
00035       void toggleLinearMethod(bool);      
00036       void toggleCatmullRomMethod(bool);  
00037 
00039       void changeVelocity(float);
00040 
00041     public:
00042       void setMethodID(int n);
00043 
00044     protected:
00045       AMorphingEngine * morphingEngine;
00046 
00047     signals:
00048       void changed();
00049     };
00050 
00051     QWidget * createMorphingNodeQWidget( X3D::MorphingNode* node, QWidget * parent);
00052 
00053   }// Qt
00054 }// X3DTK
00055 #endif

Generated on Thu Dec 23 13:52:26 2004 by doxygen 1.3.6