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_CLASSIFIER 
   38 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST 
   42 #ifdef TE_QT_PLUGIN_RP_HAVE_MIXTUREMODEL 
   46 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER 
   50 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER 
   55 #include <QtGui/QMenu> 
   56 #include <QtGui/QMenuBar> 
   59   : te::plugin::
Plugin(pluginInfo), m_rpMenu(0)
 
   83   m_popupAction = 
new QAction(m_rpMenu);
 
   90   m_rpPopupMenu = 
new QMenu(m_rpMenu);
 
   91   m_popupAction->setMenu(m_rpPopupMenu);
 
  116   m_initialized = 
false;
 
  121 #ifdef TE_QT_PLUGIN_RP_HAVE_CLASSIFIER 
  125 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST 
  129 #ifdef TE_QT_PLUGIN_RP_HAVE_MIXTUREMODEL 
  133 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER 
  137 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER 
  144 #ifdef TE_QT_PLUGIN_RP_HAVE_CLASSIFIER 
  148 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST 
  152 #ifdef TE_QT_PLUGIN_RP_HAVE_CONTRAST 
  153     delete m_mixtureModel;
 
  156 #ifdef TE_QT_PLUGIN_RP_HAVE_SEGMENTER 
  160 #ifdef TE_QT_PLUGIN_RP_HAVE_REGISTER 
The basic information about a plugin. 
 
This file defines the register action class. 
 
This class register the classifier action into RP Plugin. 
 
void registerActions()
Function used to register all raster processing actions. 
 
This file defines the Contrast class. 
 
This file defines the Classifier class. 
 
#define TE_QT_PLUGIN_RP_TEXT_DOMAIN
It contains the name of the text domain used in the translation of messages in TerraLib RP Qt Plugin ...
 
This class register the Segmenter action into RP Plugin. 
 
static ApplicationController & getInstance()
It gives access to the controller singleton. 
 
void unRegisterActions()
Function used to unregister all raster processing actions. 
 
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level. 
 
#define TE_QT_PLUGIN_RP_TEXT_DOMAIN_DIR
It contains the translation catalog directory. 
 
This class register the contrast action into RP Plugin. 
 
#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...
 
This file defines the Segmenter class. 
 
#define TE_ADD_TEXT_DOMAIN(domain, domaindir, codeset)
It adds the given text domain located at domain-dir with the given codeset to the multilingual system...
 
This file defines the mixture model class. 
 
#define TE_QT_PLUGIN_RP(message)
It marks a string in order to get translated. This is a special mark used in the RP QtPlugin of Terra...
 
~Plugin()
Virtual destructor. 
 
This class register the mixture model action into RP Plugin. 
 
void shutdown()
Do nothing! Just set plugin as stopped. 
 
Plugin implementation for the RP Qt Plugin widget. 
 
void startup()
Do nothing! Just set plugin as started. 
 
Plugin(const te::plugin::PluginInfo &pluginInfo)
 
This class register the register action into RP Plugin. 
 
QMenu * getMenu(const QString &id)
Returns a menu registered with key id.