2015-08-27 09:13:49 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2015- Statoil ASA
|
|
|
|
// Copyright (C) 2015- Ceetron Solutions AS
|
2019-09-06 06:17:36 -05:00
|
|
|
//
|
2015-08-27 09:13:49 -05:00
|
|
|
// ResInsight is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
2019-09-06 06:17:36 -05:00
|
|
|
//
|
2015-08-27 09:13:49 -05:00
|
|
|
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
2019-09-06 06:17:36 -05:00
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2015-08-27 09:13:49 -05:00
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "RimWellLogPlot.h"
|
|
|
|
|
2017-04-19 06:31:46 -05:00
|
|
|
#include "RigWellLogCurveData.h"
|
2018-08-07 06:34:13 -05:00
|
|
|
#include "RigWellPath.h"
|
2017-04-19 06:31:46 -05:00
|
|
|
|
2018-07-16 01:56:28 -05:00
|
|
|
#include "RimEclipseCase.h"
|
2019-09-06 06:17:36 -05:00
|
|
|
#include "RimGeoMechCase.h"
|
2019-11-15 03:12:19 -06:00
|
|
|
#include "RimPlot.h"
|
2019-11-19 04:09:22 -06:00
|
|
|
#include "RimWellAllocationPlot.h"
|
2017-04-19 06:31:46 -05:00
|
|
|
#include "RimWellLogCurve.h"
|
2018-07-10 05:44:58 -05:00
|
|
|
#include "RimWellLogCurveCommonDataSource.h"
|
2015-11-04 09:14:42 -06:00
|
|
|
#include "RimWellLogTrack.h"
|
2015-08-27 09:43:54 -05:00
|
|
|
|
2019-12-19 04:37:40 -06:00
|
|
|
#include "RiuMultiPlotPage.h"
|
2018-04-26 23:28:08 -05:00
|
|
|
#include "RiuPlotMainWindow.h"
|
2019-10-10 06:33:57 -05:00
|
|
|
#include "RiuPlotMainWindowTools.h"
|
2019-10-11 08:54:19 -05:00
|
|
|
#include "RiuQwtPlotWidget.h"
|
2015-08-27 09:13:49 -05:00
|
|
|
#include "RiuWellLogPlot.h"
|
2015-08-28 04:32:25 -05:00
|
|
|
|
2020-08-21 04:13:07 -05:00
|
|
|
#include "cafPdmFieldScriptingCapability.h"
|
|
|
|
#include "cafPdmObjectScriptingCapability.h"
|
2018-06-26 09:23:06 -05:00
|
|
|
#include "cafPdmUiComboBoxEditor.h"
|
2020-01-09 08:04:39 -06:00
|
|
|
#include "cafPdmUiDoubleValueEditor.h"
|
2015-08-30 19:06:37 -05:00
|
|
|
#include "cvfAssert.h"
|
2015-08-28 04:32:25 -05:00
|
|
|
|
2018-09-05 04:04:42 -05:00
|
|
|
#include <QKeyEvent>
|
|
|
|
|
2019-01-10 09:16:49 -06:00
|
|
|
#include <cmath>
|
2015-09-01 08:15:54 -05:00
|
|
|
|
2015-09-04 07:14:56 -05:00
|
|
|
#define RI_LOGPLOT_MINDEPTH_DEFAULT 0.0
|
|
|
|
#define RI_LOGPLOT_MAXDEPTH_DEFAULT 1000.0
|
|
|
|
|
2020-02-24 08:42:23 -06:00
|
|
|
CAF_PDM_SOURCE_INIT( RimWellLogPlot, "WellLogPlot" );
|
2015-08-27 09:13:49 -05:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2019-09-06 06:17:36 -05:00
|
|
|
///
|
2015-08-27 09:13:49 -05:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
RimWellLogPlot::RimWellLogPlot()
|
|
|
|
{
|
2020-03-03 03:43:07 -06:00
|
|
|
CAF_PDM_InitScriptableObject( "Well Log Plot",
|
|
|
|
":/WellLogPlot16x16.png",
|
|
|
|
"",
|
|
|
|
"A Well Log Plot With a shared Depth Axis and Multiple Tracks" );
|
2020-05-18 09:02:27 -05:00
|
|
|
|
|
|
|
setDeletable( true );
|
2020-03-18 03:35:58 -05:00
|
|
|
}
|
2015-08-27 09:13:49 -05:00
|
|
|
|
2020-03-18 03:35:58 -05:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
///
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
RimWellLogPlot::~RimWellLogPlot()
|
|
|
|
{
|
2015-08-27 09:13:49 -05:00
|
|
|
}
|
|
|
|
|
2019-09-04 08:51:44 -05:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
2019-09-04 12:29:44 -05:00
|
|
|
/// Move-assignment operator. Argument has to be passed with std::move()
|
2019-09-04 08:51:44 -05:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
2019-09-06 06:17:36 -05:00
|
|
|
RimWellLogPlot& RimWellLogPlot::operator=( RimWellLogPlot&& rhs )
|
2019-09-04 08:51:44 -05:00
|
|
|
{
|
2020-09-16 06:22:16 -05:00
|
|
|
RimDepthTrackPlot::operator=( std::move( rhs ) );
|
2019-09-04 08:51:44 -05:00
|
|
|
return *this;
|
|
|
|
}
|