diff --git a/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkAutocropAction.h b/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkAutocropAction.h index b8908ce9ed..33b2c1a42e 100644 --- a/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkAutocropAction.h +++ b/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkAutocropAction.h @@ -1,43 +1,44 @@ #ifndef QMITK_AUTOCROPACTION_H #define QMITK_AUTOCROPACTION_H #include "mitkIContextMenuAction.h" #include "org_mitk_gui_qt_segmentation_Export.h" #include "vector" #include "mitkDataNode.h" #include "mitkImage.h" class MITK_QT_SEGMENTATION QmitkAutocropAction : public QObject, public mitk::IContextMenuAction { Q_OBJECT + Q_INTERFACES(mitk::IContextMenuAction) public: QmitkAutocropAction(); QmitkAutocropAction(const QmitkAutocropAction& other) { Q_UNUSED(other) throw std::runtime_error("Copy constructor not implemented"); } virtual ~QmitkAutocropAction(); //interface methods void Run( const std::vector& selectedNodes ); void SetDataStorage(mitk::DataStorage* dataStorage); void SetSmoothed(bool smoothed); void SetDecimated(bool decimated); void SetFunctionality(berry::QtViewPart* functionality); protected: mitk::Image::Pointer IncreaseCroppedImageSize( mitk::Image::Pointer image ); private: typedef std::vector NodeList; }; #endif // QMITK_AUTOCROPACTION_H diff --git a/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkCreatePolygonModelAction.h b/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkCreatePolygonModelAction.h index fd18f8b83b..d345998db7 100644 --- a/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkCreatePolygonModelAction.h +++ b/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkCreatePolygonModelAction.h @@ -1,44 +1,45 @@ #ifndef QMITK_CREATEPOLYGONMODELACTION_H #define QMITK_CREATEPOLYGONMODELACTION_H #include "berryQtViewPart.h" #include "mitkIContextMenuAction.h" #include "org_mitk_gui_qt_segmentation_Export.h" #include "mitkDataNode.h" class MITK_QT_SEGMENTATION QmitkCreatePolygonModelAction: public QObject, public mitk::IContextMenuAction { Q_OBJECT + Q_INTERFACES(mitk::IContextMenuAction) public: QmitkCreatePolygonModelAction(); QmitkCreatePolygonModelAction(const QmitkCreatePolygonModelAction& other) { Q_UNUSED(other) throw std::runtime_error("Copy constructor not implemented"); } virtual ~QmitkCreatePolygonModelAction(); //interface methods void Run( const std::vector& selectedNodes ); void SetDataStorage(mitk::DataStorage* dataStorage); void SetSmoothed(bool smoothed); void SetDecimated(bool decimated); void SetFunctionality(berry::QtViewPart* functionality); // for receiving messages void OnSurfaceCalculationDone(); protected: typedef std::vector NodeList; mitk::DataStorage::Pointer m_DataStorage; bool m_IsSmoothed; bool m_IsDecimated; }; #endif // QMITK_CREATEPOLYGONMODELACTION_H diff --git a/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkStatisticsAction.h b/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkStatisticsAction.h index a88c637718..1b334079e9 100644 --- a/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkStatisticsAction.h +++ b/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkStatisticsAction.h @@ -1,37 +1,38 @@ #ifndef QMITK_STATISTICSACTION_H #define QMITK_STATISTICSACTION_H #include #include "berryQtViewPart.h" #include "mitkIContextMenuAction.h" #include "org_mitk_gui_qt_segmentation_Export.h" class MITK_QT_SEGMENTATION QmitkStatisticsAction: public QObject, public mitk::IContextMenuAction { Q_OBJECT + Q_INTERFACES(mitk::IContextMenuAction) public: QmitkStatisticsAction(); QmitkStatisticsAction(const QmitkStatisticsAction& other) { Q_UNUSED(other) throw std::runtime_error("Copy constructor not implemented"); } virtual ~QmitkStatisticsAction(); //interface methods void Run( const std::vector& selectedNodes ); void SetDataStorage(mitk::DataStorage* dataStorage); void SetSmoothed(bool smoothed); void SetDecimated(bool decimated); void SetFunctionality(berry::QtViewPart* functionality); protected: //needs to be set over the IContextMenuAction (with this - QmitkDataManagerView - as parameter) berry::QtViewPart* m_BlueBerryView; }; #endif // QMITK_STATISTICSACTION_H diff --git a/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkThresholdAction.h b/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkThresholdAction.h index c9d4190ea6..692ccfd7f4 100644 --- a/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkThresholdAction.h +++ b/Modules/Bundles/org.mitk.gui.qt.segmentation/src/internal/QmitkThresholdAction.h @@ -1,56 +1,57 @@ #ifndef QMITK_THRESHOLDACTION_H #define QMITK_THRESHOLDACTION_H #include #include "berryQtViewPart.h" #include "mitkIContextMenuAction.h" #include "mitkDataStorage.h" #include "mitkToolManager.h" #include "org_mitk_gui_qt_segmentation_Export.h" #include #include class MITK_QT_SEGMENTATION QmitkThresholdAction: public QObject, public mitk::IContextMenuAction { Q_OBJECT + Q_INTERFACES(mitk::IContextMenuAction) public: QmitkThresholdAction(); QmitkThresholdAction(const QmitkThresholdAction& other) { Q_UNUSED(other) throw std::runtime_error("Copy constructor not implemented"); } virtual ~QmitkThresholdAction(); //interface methods void Run( const std::vector& selectedNodes ); void SetDataStorage(mitk::DataStorage* dataStorage); void SetSmoothed(bool smoothed); void SetDecimated(bool decimated); void SetFunctionality(berry::QtViewPart* functionality); // for receiving messages void OnThresholdingToolManagerToolModified(); protected: typedef std::vector NodeList; mitk::DataStorage::Pointer m_DataStorage; mitk::ToolManager::Pointer m_ThresholdingToolManager; QDialog* m_ThresholdingDialog; protected slots: // class internal slot void ThresholdingDone(int); }; #endif // QMITK_THRESHOLDACTION_H