Commit 5bcbaf64 authored by Laurent Belcour's avatar Laurent Belcour
Browse files

Forgot to remove the Qt code in the CGAL plugin

parent 8ff740a5
......@@ -25,17 +25,7 @@ ALTA_DLL_EXPORT fitter* provide_fitter()
return new rational_fitter_cgal();
}
data* rational_fitter_cgal::provide_data() const
{
return new vertical_segment() ;
}
function* rational_fitter_cgal::provide_function() const
{
return new rational_function() ;
}
rational_fitter_cgal::rational_fitter_cgal() : QObject()
rational_fitter_cgal::rational_fitter_cgal()
{
}
rational_fitter_cgal::~rational_fitter_cgal()
......@@ -333,5 +323,3 @@ bool rational_fitter_cgal::fit_data(const vertical_segment* d, int np, int nq, i
return false;
}
}
Q_EXPORT_PLUGIN2(rational_fitter_cgal, rational_fitter_cgal)
......@@ -5,7 +5,6 @@
#include <string>
// Interface
#include <QObject>
#include <core/function.h>
#include <core/rational_function.h>
#include <core/data.h>
......@@ -14,7 +13,7 @@
#include <core/args.h>
class rational_fitter_cgal : public QObject, public fitter
class rational_fitter_cgal : public fitter
{
public: // methods
......@@ -29,11 +28,6 @@ class rational_fitter_cgal : public QObject, public fitter
//
virtual void set_parameters(const arguments& args) ;
// Obtain associated data and functions
//
virtual data* provide_data() const ;
virtual function* provide_function() const ;
protected: // data
// Fitting a data object using np elements in the numerator and nq
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment