27 #include "../../../qt/widgets/rp/SegmenterWizard.h"
28 #include "../../../raster/Raster.h"
29 #include "../../af/ApplicationController.h"
34 #include <QMessageBox>
41 createAction(tr(
"Segmenter...").toStdString(),
"segmenter");
42 m_action->setObjectName(
"Processing.Raster Processing.Segmenter");
55 std::list<te::map::AbstractLayerPtr> layersList = getLayers();
59 if(dlg.exec() == QDialog::Accepted)
76 if(dlg.exec() == QDialog::Accepted)
This is an abstract class used to register actions into rp pluging.
virtual ~SegmenterAction()
This file defines the Segmenter class.
SegmenterAction(QMenu *menu, QMenu *popupMenu)
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
virtual void onActionActivated(bool checked)
QAction * m_action
Action used to call the process.
virtual void onPopUpActionActivated(bool checked)
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr