27 #include "../../../common/Config.h"
28 #include "../../../common/Translator.h"
29 #include "../../../common/Logger.h"
30 #include "../../af/ApplicationController.h"
31 #include "../../af/events/LayerEvents.h"
34 #ifdef TE_QT_PLUGIN_RP_HAVE_ARITHMETICOP
38 #ifdef TE_QT_PLUGIN_RP_HAVE_CLASSIFIER
42 #ifdef TE_QT_PLUGIN_RP_HAVE_CLIPPING
46 #ifdef TE_QT_PLUGIN_RP_HAVE_COLORTRANSFORM
50 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST
54 #ifdef TE_QT_PLUGIN_RP_HAVE_FILTER
58 #ifdef TE_QT_PLUGIN_RP_HAVE_FUSION
62 #ifdef TE_QT_PLUGIN_RP_HAVE_MIXTUREMODEL
66 #ifdef TE_QT_PLUGIN_RP_HAVE_MOSAIC
70 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER
74 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER
78 #ifdef TE_QT_PLUGIN_RP_HAVE_VECTORIZATION
87 : te::plugin::
Plugin(pluginInfo), m_rpMenu(0)
108 m_rpMenu->setTitle(
TE_TR(
"Raster Processing"));
111 m_popupAction =
new QAction(m_rpMenu);
112 m_popupAction->setText(
TE_TR(
"Raster Processing"));
118 m_rpPopupMenu =
new QMenu(m_rpMenu);
119 m_popupAction->setMenu(m_rpPopupMenu);
124 m_initialized =
true;
144 m_initialized =
false;
149 #ifdef TE_QT_PLUGIN_RP_HAVE_ARITHMETICOP
153 #ifdef TE_QT_PLUGIN_RP_HAVE_CLASSIFIER
157 #ifdef TE_QT_PLUGIN_RP_HAVE_CLIPPING
161 #ifdef TE_QT_PLUGIN_RP_HAVE_COLORTRANSFORM
165 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST
169 #ifdef TE_QT_PLUGIN_RP_HAVE_FILTER
173 #ifdef TE_QT_PLUGIN_RP_HAVE_FUSION
177 #ifdef TE_QT_PLUGIN_RP_HAVE_MIXTUREMODEL
181 #ifdef TE_QT_PLUGIN_RP_HAVE_MOSAIC
185 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER
189 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER
193 #ifdef TE_QT_PLUGIN_RP_HAVE_VECTORIZATION
200 #ifdef TE_QT_PLUGIN_RP_HAVE_ARITHMETICOP
201 delete m_arithmeticOp;
204 #ifdef TE_QT_PLUGIN_RP_HAVE_CLASSIFIER
208 #ifdef TE_QT_PLUGIN_RP_HAVE_CLIPPING
212 #ifdef TE_QT_PLUGIN_RP_HAVE_COLORTRANSFORM
216 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST
220 #ifdef TE_QT_PLUGIN_RP_HAVE_FILTER
224 #ifdef TE_QT_PLUGIN_RP_HAVE_FUSION
228 #ifdef TE_QT_PLUGIN_RP_HAVE_MIXTUREMODEL
229 delete m_mixtureModel;
232 #ifdef TE_QT_PLUGIN_RP_HAVE_MOSAIC
236 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER
240 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER
244 #ifdef TE_QT_PLUGIN_RP_HAVE_VECTORIZATION
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
This file defines the mixture model class.
This file defines the Filter class.
This class register the arithmeticOp action into RP Plugin.
void unRegisterActions()
Function used to unregister all raster processing actions.
This file defines the Segmenter class.
This file defines the Fusion class.
This file defines the Clipping class.
void startup()
Do nothing! Just set plugin as started.
This class register the Segmenter action into RP Plugin.
Plugin implementation for the RP Qt Plugin widget.
This class register the register action into RP Plugin.
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.
This file defines the Contrast class.
#define PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME)
This macro should be used by C++ plugins in order to declare the exportable/callable DLL function...
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
This class register the classifier action into RP Plugin.
This class register the mixture model action into RP Plugin.
Plugin(const te::plugin::PluginInfo &pluginInfo)
~Plugin()
Virtual destructor.
This class register the fusion action into RP Plugin.
This class register the mosaic action into RP Plugin.
This class register the Clipping action into RP Plugin.
This class register the filter action into RP Plugin.
The basic information about a plugin.
This file defines the register action class.
This file defines the ArithmeticOp class.
void registerActions()
Function used to register all raster processing actions.
void shutdown()
Do nothing! Just set plugin as stopped.