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/events/LayerEvents.h" 32 #include "../../af/Utils.h" 36 #ifdef TE_QT_PLUGIN_RP_HAVE_ARITHMETICOP 40 #ifdef TE_QT_PLUGIN_RP_HAVE_CLASSIFIER 44 #ifdef TE_QT_PLUGIN_RP_HAVE_CLIPPING 48 #ifdef TE_QT_PLUGIN_RP_HAVE_CLOUDDETECTION 52 #ifdef TE_QT_PLUGIN_RP_HAVE_COLORTRANSFORM 56 #ifdef TE_QT_PLUGIN_RP_HAVE_COMPOSEBANDS 60 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST 64 #ifdef TE_QT_PLUGIN_RP_HAVE_FILTER 68 #ifdef TE_QT_PLUGIN_RP_HAVE_FUSION 72 #ifdef TE_QT_PLUGIN_RP_HAVE_MIXTUREMODEL 76 #ifdef TE_QT_PLUGIN_RP_HAVE_MOSAIC 80 #ifdef TE_QT_PLUGIN_RP_HAVE_PCA 84 #ifdef TE_QT_PLUGIN_RP_HAVE_POSTCLASSIFICATION 88 #ifdef TE_QT_PLUGIN_RP_HAVE_RASTERSLICING 92 #ifdef TE_QT_PLUGIN_RP_HAVE_RASTERIZATION 96 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER 100 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER 104 #ifdef TE_QT_PLUGIN_RP_HAVE_VECTORIZATION 114 :
te::core::CppPlugin(pluginInfo), m_rpMenu(nullptr)
135 m_rpMenu->setIcon(QIcon::fromTheme(
"rp-rasterprocessing-icon"));
140 pluginMenu->insertMenu(pluginsSeparator,
m_rpMenu);
142 m_rpMenu->setTitle(tr(
"Raster Processing"));
187 #ifdef TE_QT_PLUGIN_RP_HAVE_ARITHMETICOP 193 #ifdef TE_QT_PLUGIN_RP_HAVE_CLASSIFIER 199 #ifdef TE_QT_PLUGIN_RP_HAVE_CLIPPING 205 #ifdef TE_QT_PLUGIN_RP_HAVE_CLOUDDETECTION 211 #ifdef TE_QT_PLUGIN_RP_HAVE_COLORTRANSFORM 217 #ifdef TE_QT_PLUGIN_RP_HAVE_COMPOSEBANDS 223 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST 229 #ifdef TE_QT_PLUGIN_RP_HAVE_FILTER 235 #ifdef TE_QT_PLUGIN_RP_HAVE_FUSION 241 #ifdef TE_QT_PLUGIN_RP_HAVE_MIXTUREMODEL 247 #ifdef TE_QT_PLUGIN_RP_HAVE_MOSAIC 253 #ifdef TE_QT_PLUGIN_RP_HAVE_PCA 259 #ifdef TE_QT_PLUGIN_RP_HAVE_POSTCLASSIFICATION 265 #ifdef TE_QT_PLUGIN_RP_HAVE_RASTERSLICING 271 #ifdef TE_QT_PLUGIN_RP_HAVE_RASTERIZATION 277 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER 283 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER 289 #ifdef TE_QT_PLUGIN_RP_HAVE_VECTORIZATION 298 #ifdef TE_QT_PLUGIN_RP_HAVE_ARITHMETICOP 302 #ifdef TE_QT_PLUGIN_RP_HAVE_CLASSIFIER 306 #ifdef TE_QT_PLUGIN_RP_HAVE_CLIPPING 310 #ifdef TE_QT_PLUGIN_RP_HAVE_CLOUDDETECTION 314 #ifdef TE_QT_PLUGIN_RP_HAVE_COLORTRANSFORM 318 #ifdef TE_QT_PLUGIN_RP_HAVE_COMPOSEBANDS 322 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST 326 #ifdef TE_QT_PLUGIN_RP_HAVE_FILTER 330 #ifdef TE_QT_PLUGIN_RP_HAVE_FUSION 334 #ifdef TE_QT_PLUGIN_RP_HAVE_MIXTUREMODEL 338 #ifdef TE_QT_PLUGIN_RP_HAVE_MOSAIC 342 #ifdef TE_QT_PLUGIN_RP_HAVE_PCA 346 #ifdef TE_QT_PLUGIN_RP_HAVE_POSTCLASSIFICATION 350 #ifdef TE_QT_PLUGIN_RP_HAVE_RASTERSLICING 354 #ifdef TE_QT_PLUGIN_RP_HAVE_RASTERIZATION 358 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER 362 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER 366 #ifdef TE_QT_PLUGIN_RP_HAVE_VECTORIZATION void registerActions()
Function used to register all raster processing actions.
This file defines the mixture model class.
te::qt::plugins::rp::RasterSlicingAction * m_rasterSlicing
Raster slicing Process Action.
This file defines the Filter class.
TEQTAFEXPORT void AddActionToCustomToolbars(te::qt::af::ApplicationController *appController, QAction *act)
Check QSettings for existance of act and adds it if necessary.
This class register the arithmeticOp action into RP Plugin.
te::qt::plugins::rp::PostClassificationAction * m_postClass
Post Classification Process Action.
This file defines the Segmenter class.
A base class for application events.
QMenu * m_rpMenu
RP Main Menu registered.
This file defines the Fusion class.
This file defines the Clipping class.
This class register the Post Classification action into RP Plugin.
This file defines the PostClassification class.
void startup()
This method will be called by applications to startup some plugin's functionality.
This class register the Segmenter action into RP Plugin.
te::qt::plugins::rp::VectorizationAction * m_vector
Vectorization Process Action.
This class register the register action into RP Plugin.
Basic information about a plugin.
te::qt::plugins::rp::ContrastAction * m_contrast
Contrast Process Action.
This file defines the Classifier class.
#define TE_TR(message)
It marks a string in order to get translated.
This file defines the Mosaic class.
This class register the contrast action into RP Plugin.
te::qt::plugins::rp::FilterAction * m_filter
Filter Process Action.
te::qt::plugins::rp::ClippingAction * m_clipping
Clipping Process Action.
te::qt::plugins::rp::ColorTransformAction * m_colorTrans
Color Transform Process Action.
This file defines the Contrast class.
void shutdown()
This method will be called by applicatons to shutdown plugin's functionality.
QAction * m_popupAction
RP pop up action registered.
te::qt::plugins::rp::FusionAction * m_fusion
Fusion Process Action.
te::qt::plugins::rp::ClassifierAction * m_classifier
Classifier Process Action.
void triggered(te::qt::af::evt::Event *e)
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
QMenu * m_rpPopupMenu
RP Main Menu registered.
This class register the classifier action into RP Plugin.
te::qt::plugins::rp::RasterizationAction * m_raster
Rasterization Process Action.
This file defines the Compose Bands class.
te::qt::plugins::rp::RegisterAction * m_register
Register Process Action.
This class register the mixture model action into RP Plugin.
void unRegisterActions()
Function used to unregister all raster processing actions.
Plugin implementation for the RP Qt Plugin widget.
#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 class register the compose bands action into RP Plugin.
te::qt::plugins::rp::PCAAction * m_PCA
PCA Action.
This class register the fusion action into RP Plugin.
This class register the mosaic action into RP Plugin.
te::qt::plugins::rp::ArithmeticOpAction * m_arithmeticOp
Arithmetic Operation Process Action.
This class register the PCA action into RP Plugin.
This class register the Clipping action into RP Plugin.
Plugin(const te::core::PluginInfo &pluginInfo)
This class register the RasterSlicing action into RP 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 PCA class.
te::qt::plugins::rp::MixtureModelAction * m_mixtureModel
Mixture Model Process Action.
This class register the filter action into RP Plugin.
te::qt::plugins::rp::ComposeBandsAction * m_composeBands
Compose Bands Process Action.
te::qt::plugins::rp::SegmenterAction * m_segmenter
Segmenter Process Action.
This file defines the register action class.
This file defines the ArithmeticOp class.
te::qt::plugins::rp::CloudDetectionAction * m_cloudDetection
Cloud Detection Process Action.
This class register the action into Cloud Detection Plugin.
This file defines the RasterSlicing class.
te::qt::plugins::rp::MosaicAction * m_mosaic
Mosaic Process Action.