27 #include "../../../mnt/qt/VolumeDialog.h" 28 #include "../../af/events/LayerEvents.h" 29 #include "../../af/ApplicationController.h" 34 #include <QMessageBox> 42 createAction(tr(
"Volume...").toUtf8().data(),
"mnt-processing-volume");
43 m_action->setObjectName(
"Processing.DTM Processing.CALCULATE VOLUME");
This is an abstract class used to register actions into mnt pluging.
virtual void onActionActivated(bool checked)
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
te::mnt::VolumeDialog * m_volumedlg
QAction * m_action
Action used to call the process.
This file defines the Calculate Volume Proccess.
VolumeAction(QMenu *menu)