27 #include "../../../common/Config.h" 28 #include "../../../core/translator/Translator.h" 29 #include "../../../core/logger/Logger.h" 30 #include "../../../graph/Module.h" 31 #include "../../af/ApplicationController.h" 32 #include "../../af/events/LayerEvents.h" 33 #include "../../af/Utils.h" 36 #ifdef TE_QT_PLUGIN_SA_HAVE_BAYESGLOBAL 40 #ifdef TE_QT_PLUGIN_SA_HAVE_BAYESLOCAL 44 #ifdef TE_QT_PLUGIN_SA_HAVE_KERNELMAP 48 #ifdef TE_QT_PLUGIN_SA_HAVE_KERNELRATIO 52 #ifdef TE_QT_PLUGIN_SA_HAVE_GEOSTATISTICALMETHODS 56 #ifdef TE_QT_PLUGIN_SA_HAVE_PROXIMITYMATRIXCREATOR 60 #ifdef TE_QT_PLUGIN_SA_HAVE_SAMPLEPOINTSGENERATOR 64 #ifdef TE_QT_PLUGIN_SA_HAVE_SKATER 68 #ifdef TE_QT_PLUGIN_SA_HAVE_SPATIALSTATISTICS 78 :
te::core::CppPlugin(pluginInfo), m_saMenu(nullptr)
97 m_saMenu->setIcon(QIcon::fromTheme(
"sa-spatialanalysis-icon"));
102 pluginMenu->insertMenu(pluginsSeparator,
m_saMenu);
104 m_saMenu->setTitle(tr(
"Spatial Analysis"));
139 #ifdef TE_QT_PLUGIN_SA_HAVE_PROXIMITYMATRIXCREATOR 145 #ifdef TE_QT_PLUGIN_SA_HAVE_SPATIALSTATISTICS 152 #ifdef TE_QT_PLUGIN_SA_HAVE_BAYESGLOBAL 159 #ifdef TE_QT_PLUGIN_SA_HAVE_BAYESLOCAL 165 #ifdef TE_QT_PLUGIN_SA_HAVE_KERNELMAP 172 #ifdef TE_QT_PLUGIN_SA_HAVE_KERNELRATIO 178 #ifdef TE_QT_PLUGIN_SA_HAVE_SKATER 185 #ifdef TE_QT_PLUGIN_SA_HAVE_GEOSTATISTICALMETHODS 192 #ifdef TE_QT_PLUGIN_SA_HAVE_SAMPLEPOINTSGENERATOR 204 #ifdef TE_QT_PLUGIN_SA_HAVE_BAYESGLOBAL 208 #ifdef TE_QT_PLUGIN_SA_HAVE_BAYESLOCAL 212 #ifdef TE_QT_PLUGIN_SA_HAVE_KERNELMAP 216 #ifdef TE_QT_PLUGIN_SA_HAVE_KERNELRATIO 220 #ifdef TE_QT_PLUGIN_SA_HAVE_GEOSTATISTICALMETHODS 224 #ifdef TE_QT_PLUGIN_SA_HAVE_PROXIMITYMATRIXCREATOR 228 #ifdef TE_QT_PLUGIN_SA_HAVE_SAMPLEPOINTSGENERATOR 232 #ifdef TE_QT_PLUGIN_SA_HAVE_SKATER 236 #ifdef TE_QT_PLUGIN_SA_HAVE_SPATIALSTATISTICS void registerActions()
Function used to register all raster processing actions.
TEQTAFEXPORT void AddActionToCustomToolbars(te::qt::af::ApplicationController *appController, QAction *act)
Check QSettings for existance of act and adds it if necessary.
Plugin implementation for the SA Qt Plugin widget.
A base class for application events.
This file defines the concrete class for Geostatistical Methods Action.
void startup()
This method will be called by applications to startup some plugin's functionality.
te::qt::plugins::sa::KernelRatioAction * m_kernelRatio
Kernel Ratio Process Action.
Basic information about a plugin.
This file defines the concrete class for SpatialStatistics Action.
te::qt::plugins::sa::SamplePointsGeneratorAction * m_samplePointsGenerator
Sample points generator Process Action.
#define TE_TR(message)
It marks a string in order to get translated.
This file defines the concrete class for Skater Action.
void shutdown()
This method will be called by applicatons to shutdown plugin's functionality.
te::qt::plugins::sa::SpatialStatisticsAction * m_spatialStatistics
Spatial Statistics Process Action.
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
This file defines the concrete class for KernelMap Action.
te::qt::plugins::sa::SkaterAction * m_skater
Skater Process Action.
This file defines the concrete class for BayesLocal Action.
te::qt::plugins::sa::ProximityMatrixCreatorAction * m_proxMatrixCreator
Proximity Matrix Creator Process Action.
void triggered(te::qt::af::evt::Event *e)
void unRegisterActions()
Function used to unregister all raster processing actions.
This file defines the concrete class for SamplePointsGenerator Action.
#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...
This file defines the concrete class for ProximityMatrixCreator Action.
static void initialize()
This is the startup function for the TerraLib Symbology Encoding module.
Plugin(const te::core::PluginInfo &pluginInfo)
#define TE_LOG_TRACE(message)
Use this tag in order to log a message to the TerraLib default logger with the TRACE level...
te::qt::plugins::sa::BayesLocalAction * m_bayesLocal
Local Bayes Process Action.
te::qt::plugins::sa::GeostatisticalMethodsAction * m_geostatistics
Geostatistics methods Process Action.
te::qt::plugins::sa::KernelMapAction * m_kernelMap
Kernel Map Process Action.
QAction * m_popupAction
SA pop up action registered.
te::qt::plugins::sa::BayesGlobalAction * m_bayesGlobal
Global Bayes Process Action.
This file defines the concrete class for KernelRatio Action.
This file defines the concrete class for BayesGlobal Action.
QMenu * m_saMenu
SA Main Menu registered.