27 #include "../../../common/Config.h" 28 #include "../../../core/translator/Translator.h" 29 #include "../../../core/logger/Logger.h" 30 #include "../../af/ApplicationController.h" 31 #include "../../af/Utils.h" 54 :
te::core::CppPlugin(pluginInfo),
56 m_ISOGeneration(nullptr),
57 m_MNTGeneration(nullptr),
58 m_ImageGeneration(nullptr),
62 m_TINGeneration(nullptr),
81 m_mntMenu->setIcon(QIcon::fromTheme(
"mnt-processing-icon"));
86 pluginMenu->insertMenu(pluginsSeparator,
m_mntMenu);
88 m_mntMenu->setTitle(tr(
"DTM Processing"));
void startup()
This method will be called by applications to startup some plugin's functionality.
This file defines the Profile Generation class.
TEQTAFEXPORT void AddActionToCustomToolbars(te::qt::af::ApplicationController *appController, QAction *act)
Check QSettings for existance of act and adds it if necessary.
void shutdown()
This method will be called by applicatons to shutdown plugin's functionality.
ShowValuesAction * m_ShowValue
A base class for application events.
Plugin implementation for the MNT Qt Plugin widget.
Basic information about a plugin.
void triggered(te::qt::af::evt::Event *e)
This class register the smooth action into MNT Plugin.
#define TE_TR(message)
It marks a string in order to get translated.
ProfileAction * m_Profile
This file defines the Slope Proccess.
This class register the regular grid generation action into MNT Plugin.
MNTGenerationAction * m_MNTGeneration
GRID Generation Action.
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
This file defines the TIN Generation class.
This file defines the Smooth Isoline Proccess.
This file defines the Show MNT Values Proccess.
ImageGenerationAction * m_ImageGeneration
Image Generation Action.
This file defines the REgular Grid Generation class.
CreateIsolinesAction * m_ISOGeneration
Isoline Generation Action.
QMenu * m_mntMenu
MNT Main Menu registered.
#define TERRALIB_PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME)
This macro should be used by C++ plugins in order to declare the exportable/callable DLL function...
SmoothAction * m_Smooth
Smooth Isolines Action.
This class register the isolines generation action into MNT Plugin.
This class register the isolines generation action into MNT Plugin.
Plugin(const te::core::PluginInfo &pluginInfo)
This class register the Triangular Grid generation action into MNT Plugin.
This class register the calculate volume action into MNT Plugin.
This file defines the REgular Grid Generation class.
This file defines the Calculate Volume Proccess.
This class register the slope action into MNT Plugin.
#define TE_LOG_TRACE(message)
Use this tag in order to log a message to the TerraLib default logger with the TRACE level...
This file defines the Isolines Generation class.
void registerActions()
Function used to register all raster processing actions.
TINGenerationAction * m_TINGeneration
TIN Generation Action.
This class register the image generation action into MNT Plugin.
This class register the show values action into MNT Plugin.
void unRegisterActions()
Function used to unregister all raster processing actions.
SlopeAction * m_Slope
Slope Generation Action.