2015-08-28 03:42:57 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2015- Statoil ASA
|
|
|
|
// Copyright (C) 2015- Ceetron Solutions AS
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
2015-08-28 03:42:57 -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 03:40:57 -05:00
|
|
|
//
|
2015-08-28 03:42:57 -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 03:40:57 -05:00
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2015-08-28 03:42:57 -05:00
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cafPdmChildArrayField.h"
|
2019-09-06 03:40:57 -05:00
|
|
|
#include "cafPdmField.h"
|
|
|
|
#include "cafPdmObject.h"
|
2015-09-03 13:13:08 -05:00
|
|
|
#include "cvfCollection.h"
|
2015-08-28 03:42:57 -05:00
|
|
|
|
|
|
|
class RimWellLogPlot;
|
2015-09-03 13:13:08 -05:00
|
|
|
class RigEclipseWellLogExtractor;
|
2015-09-04 08:30:04 -05:00
|
|
|
class RigGeoMechWellLogExtractor;
|
|
|
|
class RimGeoMechCase;
|
2017-01-10 02:51:39 -06:00
|
|
|
class RigEclipseCaseData;
|
2015-10-22 04:31:34 -05:00
|
|
|
class RigGeoMechCaseData;
|
|
|
|
class RigWellPath;
|
2015-09-03 13:13:08 -05:00
|
|
|
class RimWellPath;
|
|
|
|
class RimEclipseCase;
|
2015-09-07 12:22:11 -05:00
|
|
|
|
2015-08-28 03:42:57 -05:00
|
|
|
//==================================================================================================
|
2019-09-06 03:40:57 -05:00
|
|
|
///
|
|
|
|
///
|
2015-08-28 03:42:57 -05:00
|
|
|
//==================================================================================================
|
|
|
|
class RimWellLogPlotCollection : public caf::PdmObject
|
|
|
|
{
|
|
|
|
CAF_PDM_HEADER_INIT;
|
2019-09-06 03:40:57 -05:00
|
|
|
|
2015-08-28 03:42:57 -05:00
|
|
|
public:
|
|
|
|
RimWellLogPlotCollection();
|
2018-10-18 12:45:57 -05:00
|
|
|
~RimWellLogPlotCollection() override;
|
2017-04-25 05:31:49 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
RigEclipseWellLogExtractor* findOrCreateSimWellExtractor( const QString& simWellName,
|
|
|
|
const QString& caseUserDescription,
|
|
|
|
const RigWellPath* wellPathGeom,
|
|
|
|
const RigEclipseCaseData* eclCaseData );
|
2017-04-25 05:31:49 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
RigEclipseWellLogExtractor* findOrCreateExtractor( RimWellPath* wellPath, RimEclipseCase* eclCase );
|
|
|
|
RigGeoMechWellLogExtractor* findOrCreateExtractor( RimWellPath* wellPath, RimGeoMechCase* eclCase );
|
2015-08-28 03:42:57 -05:00
|
|
|
|
2018-10-24 05:59:43 -05:00
|
|
|
void reloadAllPlots();
|
|
|
|
|
|
|
|
void deleteAllExtractors();
|
2019-09-06 03:40:57 -05:00
|
|
|
void removeExtractors( const RigWellPath* wellPath );
|
|
|
|
void removeExtractors( const RigEclipseCaseData* caseData );
|
|
|
|
void removeExtractors( const RigGeoMechCaseData* caseData );
|
2015-10-22 04:31:34 -05:00
|
|
|
|
2020-05-18 09:02:27 -05:00
|
|
|
void onChildDeleted( caf::PdmChildArrayFieldHandle* childArray, std::vector<caf::PdmObjectHandle*>& referringObjects );
|
|
|
|
|
2015-08-28 05:10:36 -05:00
|
|
|
caf::PdmChildArrayField<RimWellLogPlot*> wellLogPlots;
|
2019-09-06 03:40:57 -05:00
|
|
|
|
2015-09-03 13:13:08 -05:00
|
|
|
private:
|
|
|
|
cvf::Collection<RigEclipseWellLogExtractor> m_extractors;
|
2015-09-04 08:30:04 -05:00
|
|
|
cvf::Collection<RigGeoMechWellLogExtractor> m_geomExtractors;
|
2015-08-28 03:42:57 -05:00
|
|
|
};
|