27 #include "../../../qt/widgets/rp/FilterDialogForm.h" 28 #include "../../af/ApplicationController.h" 29 #include "../../af/BaseApplication.h" 30 #include "../../af/events/LayerEvents.h" 34 #include <QtCore/QObject> 42 m_action->setObjectName(
"Processing.Raster Processing.Filter");
58 std::list<te::map::AbstractLayerPtr> layersList =
getLayers();
62 assert(mapEditionTools);
std::unique_ptr< te::qt::widgets::FilterDialogForm > m_filterDlg
This is an abstract class used to register actions into rp pluging.
This file defines the Filter class.
A base class for application events.
void onApplicationTriggered(te::qt::af::evt::Event *e)
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.
te::map::AbstractLayerPtr getCurrentLayer()
Get the selected layer from layer explorer in app.
QAction * m_action
Action used to call the process.
FilterAction(QMenu *menu, QMenu *popupMenu)
virtual void onActionActivated(bool checked)
void addLayer(te::map::AbstractLayerPtr outputLayer)
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.