Janitor: Update qwt to 6.2.0

This commit is contained in:
Magne Sjaastad
2022-03-18 13:16:07 +01:00
committed by GitHub
parent ffc84457c6
commit 8d3f381b4f
29 changed files with 130 additions and 36 deletions

View File

@@ -20,12 +20,10 @@
#include "cvfVector3.h"
#include <qwt_curve_fitter.h>
#include <qwt_spline.h>
#include <vector>
#include <QPolygon>
#include <gsl/gsl>
#include <vector>
class RigWellPath;
@@ -56,10 +54,15 @@ private:
const std::vector<cvf::Vec3d>& vertices );
static cvf::Vec3d estimateDominantDirectionInXYPlane( const std::vector<cvf::Vec3d>& vertices );
static double solveForX( const QwtSpline& spline, double minX, double maxX, double y );
static double solveForX( const QPolygonF& spline, double minX, double maxX, double y );
static QwtSpline createSpline( const std::vector<double>& originalMdValues,
const std::vector<double>& originalTvdValues );
static std::vector<int> findSplineSegmentsContainingRoots( const QwtSpline& spline,
static QPolygonF createSplinePoints( const std::vector<double>& originalMdValues,
const std::vector<double>& originalTvdValues );
static std::vector<int> findSplineSegmentsContainingRoots( const QPolygonF& points,
const std::vector<double>& tvdValuesToInterpolateFrom );
// Temporary helper function to method removed from Qwt >= 6.2
static int lookup( double x, const QPolygonF& values );
static double value( double x, const QPolygonF& values );
};