27 #include "../../../qt/widgets/rp/SegmenterWizard.h"
28 #include "../../../raster/Raster.h"
29 #include "../../af/ApplicationController.h"
33 #include <QtCore/QObject>
34 #include <QtGui/QMessageBox>
41 createAction(tr(
"Segmenter...").toStdString(),
"segmenter");
54 std::list<te::map::AbstractLayerPtr> layersList = getLayers();
58 if(dlg.exec() == QDialog::Accepted)
75 if(dlg.exec() == QDialog::Accepted)
This class is GUI used to define the segmenter wizard for the RP constast operation.
static ApplicationController & getInstance()
It gives access to the controller singleton.
void setLayer(te::map::AbstractLayerPtr layer)
te::map::AbstractLayerPtr getOutputLayer()
virtual ~SegmenterAction()
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
This file defines the Segmenter class.
SegmenterAction(QMenu *menu, QMenu *popupMenu)
void setList(std::list< te::map::AbstractLayerPtr > &layerList)
virtual void onActionActivated(bool checked)
void createPopUpAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
This is an abstract class used to register actions into rp pluging.
virtual void onPopUpActionActivated(bool checked)