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