2015-09-15 08:23:25 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2015- Statoil ASA
|
|
|
|
// Copyright (C) 2015- Ceetron Solutions AS
|
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2015-11-04 09:22:53 -06:00
|
|
|
#include "RimWellLogCurve.h"
|
2015-09-15 08:23:25 -05:00
|
|
|
|
2015-09-16 08:31:04 -05:00
|
|
|
#include "cafPdmPtrField.h"
|
|
|
|
#include "cafPdmField.h"
|
|
|
|
|
2015-09-15 08:23:25 -05:00
|
|
|
#include <vector>
|
|
|
|
|
2015-09-16 08:31:04 -05:00
|
|
|
class RimWellPath;
|
2015-09-18 02:16:59 -05:00
|
|
|
class RimWellLogFileChannel;
|
2015-09-16 08:31:04 -05:00
|
|
|
|
2015-09-15 08:23:25 -05:00
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
2015-11-04 09:19:38 -06:00
|
|
|
class RimWellLogFileCurve : public RimWellLogCurve
|
2015-09-15 08:23:25 -05:00
|
|
|
{
|
|
|
|
CAF_PDM_HEADER_INIT;
|
|
|
|
|
|
|
|
public:
|
|
|
|
RimWellLogFileCurve();
|
|
|
|
virtual ~RimWellLogFileCurve();
|
|
|
|
|
2015-09-16 08:31:04 -05:00
|
|
|
void setWellPath(RimWellPath* wellPath);
|
2017-10-05 03:54:52 -05:00
|
|
|
RimWellPath* wellPath() const;
|
2015-09-16 08:31:04 -05:00
|
|
|
void setWellLogChannelName(const QString& name);
|
2015-09-18 06:02:33 -05:00
|
|
|
|
|
|
|
// Overrides from RimWellLogPlotCurve
|
2015-10-16 04:15:04 -05:00
|
|
|
virtual QString wellName() const;
|
2015-10-15 07:37:57 -05:00
|
|
|
virtual QString wellLogChannelName() const;
|
2015-09-16 08:31:04 -05:00
|
|
|
|
|
|
|
protected:
|
2015-09-18 06:02:33 -05:00
|
|
|
// Overrides from RimWellLogPlotCurve
|
2016-05-23 10:13:03 -05:00
|
|
|
virtual QString createCurveAutoName();
|
2017-09-23 01:47:04 -05:00
|
|
|
virtual void onLoadDataAndUpdate(bool updateParentPlot);
|
2015-09-18 06:02:33 -05:00
|
|
|
|
|
|
|
// Pdm overrrides
|
2015-09-16 08:31:04 -05:00
|
|
|
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
|
|
|
virtual void defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering);
|
|
|
|
virtual void defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "");
|
|
|
|
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
caf::PdmPtrField<RimWellPath*> m_wellPath;
|
|
|
|
caf::PdmField<QString> m_wellLogChannnelName;
|
2015-09-21 03:10:25 -05:00
|
|
|
caf::PdmField<QString> m_wellLogChannnelUnit;
|
2015-09-15 08:23:25 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|