2015-09-02 05:34:12 -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
|
|
|
|
|
|
|
|
#include "RimWellLogPlotCurve.h"
|
2015-09-18 12:42:54 -05:00
|
|
|
|
2015-09-02 05:34:12 -05:00
|
|
|
#include "cafPdmPtrField.h"
|
|
|
|
#include "cafPdmChildField.h"
|
|
|
|
|
2015-09-18 12:42:54 -05:00
|
|
|
class RimCase;
|
2015-09-02 05:34:12 -05:00
|
|
|
class RimEclipseResultDefinition;
|
|
|
|
class RimGeoMechResultDefinition;
|
2015-09-18 12:42:54 -05:00
|
|
|
class RimWellPath;
|
2015-09-25 07:35:30 -05:00
|
|
|
class RimView;
|
2015-09-02 05:34:12 -05:00
|
|
|
|
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
|
|
|
class RimWellLogExtractionCurve : public RimWellLogPlotCurve
|
|
|
|
{
|
|
|
|
CAF_PDM_HEADER_INIT;
|
|
|
|
public:
|
|
|
|
RimWellLogExtractionCurve();
|
|
|
|
virtual ~RimWellLogExtractionCurve();
|
2015-09-11 03:44:10 -05:00
|
|
|
|
2015-09-02 05:34:12 -05:00
|
|
|
virtual void updatePlotData();
|
2015-09-21 07:24:29 -05:00
|
|
|
|
|
|
|
void setWellPath(RimWellPath* wellPath);
|
2015-09-25 07:35:30 -05:00
|
|
|
void setPropertiesFromView(RimView* view);
|
2015-09-02 05:34:12 -05:00
|
|
|
|
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-02 05:34:12 -05:00
|
|
|
protected:
|
2015-09-18 06:02:33 -05:00
|
|
|
virtual QString createCurveName();
|
2015-09-02 05:34:12 -05:00
|
|
|
|
|
|
|
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
|
|
|
virtual void defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering);
|
|
|
|
|
|
|
|
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly);
|
|
|
|
|
2015-09-03 01:09:06 -05:00
|
|
|
virtual void initAfterRead();
|
|
|
|
|
2015-09-03 13:54:15 -05:00
|
|
|
virtual void defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "");
|
|
|
|
|
2015-09-02 05:34:12 -05:00
|
|
|
caf::PdmPtrField<RimWellPath*> m_wellPath;
|
|
|
|
caf::PdmPtrField<RimCase*> m_case;
|
|
|
|
caf::PdmChildField<RimEclipseResultDefinition*> m_eclipseResultDefinition;
|
|
|
|
caf::PdmChildField<RimGeoMechResultDefinition*> m_geomResultDefinition;
|
|
|
|
caf::PdmField<int> m_timeStep;
|
2015-09-17 11:42:35 -05:00
|
|
|
|
2015-09-20 05:12:15 -05:00
|
|
|
caf::PdmField<bool> m_addCaseNameToCurveName;
|
|
|
|
caf::PdmField<bool> m_addPropertyToCurveName;
|
|
|
|
caf::PdmField<bool> m_addWellNameToCurveName;
|
|
|
|
caf::PdmField<bool> m_addTimestepToCurveName;
|
2015-09-25 03:44:35 -05:00
|
|
|
caf::PdmField<bool> m_addDateToCurveName;
|
2015-09-02 05:34:12 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|