threshold_plugin.cpp

00001 //--------------------------------------------------
00012 //---------------------------------------------------
00013 
00014 #include <QtGui>
00015 #include <QWidget>
00016 
00017 #include <math.h>
00018 #include <stdlib.h>
00019 #include <iostream>
00020 
00021 #include "threshold_algorithm.h"
00022 #include "threshold_config_widget.h"
00023 #include "threshold_configuration.h"
00024 #include "threshold_plugin.h"
00025 
00026 namespace imedgine
00027 {
00028 
00029   //--------------------------------------------------
00030 
00031   Algorithm* ThresholdPlugin::getAlgorithm() const
00032   {
00033     return new ThresholdAlgorithm;
00034   }
00035   
00036   //--------------------------------------------------
00037   
00038   ConfigWidget* ThresholdPlugin::getConfigWidget() const
00039   {
00040     std::cout << "returning treshhold config widget " << std::endl;
00041     return new ThresholdConfigWidget;
00042   }
00043   
00044   //--------------------------------------------------
00045   
00046   Configuration* ThresholdPlugin::getConfiguration() const
00047   {
00048     return new ThresholdConfiguration;
00049   }
00050 
00051 }
00052 Q_EXPORT_PLUGIN2(imedgine_treshold_algorithm, imedgine::ThresholdPlugin)

Generated on Sun Aug 13 18:19:38 2006 for iMEDgine by  doxygen 1.4.6