00001 #ifndef __qMRMLSceneGeneratorPlugin_p_h 00002 #define __qMRMLSceneGeneratorPlugin_p_h 00003 00004 #include "qMRMLSceneGeneratorPlugin.h" 00005 00006 // qCTK includes 00007 #include <qCTKPimpl.h> 00008 00009 // QT includes 00010 #include <QPushButton> 00011 00012 #include "qMRMLWidgetsPluginExport.h" 00013 00014 class vtkMRMLScene; 00015 00016 class QMRML_WIDGETS_PLUGIN_EXPORT qMRMLSceneGenerator : 00017 public QPushButton, public qCTKPrivate<qMRMLSceneGeneratorPlugin> 00018 { 00019 Q_OBJECT 00020 public: 00021 qMRMLSceneGenerator(QWidget* parent = 0); 00022 ~qMRMLSceneGenerator(); 00023 00024 void init(); 00025 void clear(); 00026 00027 public slots: 00028 void generateScene(); 00029 00030 signals: 00031 void mrmlSceneSet(vtkMRMLScene* scene); 00032 void randomMRMLNodeType(const QString& name); 00033 00034 public: 00035 vtkMRMLScene* MRMLScene; 00036 }; 00037 00038 #endif
1.6.1