2015-08-26 05:27:29 -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 "cafPdmObject.h"
|
2015-08-27 09:13:49 -05:00
|
|
|
#include "cafPdmField.h"
|
2015-08-28 03:42:57 -05:00
|
|
|
#include "cafPdmChildField.h"
|
2015-08-27 09:13:49 -05:00
|
|
|
|
2016-05-09 05:13:54 -05:00
|
|
|
#include <QPointer>
|
|
|
|
#include <QDockWidget>
|
|
|
|
|
|
|
|
|
2015-08-28 03:42:57 -05:00
|
|
|
class RimWellLogPlotCollection;
|
2017-09-27 05:39:28 -05:00
|
|
|
class RimRftPlotCollection;
|
2017-10-23 06:57:01 -05:00
|
|
|
class RimPltPlotCollection;
|
2016-05-09 05:13:54 -05:00
|
|
|
class RimSummaryPlotCollection;
|
2017-11-07 13:40:45 -06:00
|
|
|
class RimSummaryCrossPlotCollection;
|
2016-05-09 05:13:54 -05:00
|
|
|
class RimSummaryPlot;
|
|
|
|
class RifReaderEclipseSummary;
|
|
|
|
class RimEclipseResultCase;
|
2017-01-13 02:50:43 -06:00
|
|
|
class RimFlowPlotCollection;
|
2015-08-27 09:13:49 -05:00
|
|
|
|
2015-08-26 05:27:29 -05:00
|
|
|
|
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
2015-08-27 09:13:49 -05:00
|
|
|
class RimMainPlotCollection : public caf::PdmObject
|
2015-08-26 05:27:29 -05:00
|
|
|
{
|
|
|
|
CAF_PDM_HEADER_INIT;
|
|
|
|
public:
|
2015-08-27 09:13:49 -05:00
|
|
|
RimMainPlotCollection();
|
2018-10-18 12:45:57 -05:00
|
|
|
~RimMainPlotCollection() override;
|
2015-08-27 09:13:49 -05:00
|
|
|
|
2017-11-07 13:40:45 -06:00
|
|
|
RimWellLogPlotCollection* wellLogPlotCollection();
|
|
|
|
RimRftPlotCollection* rftPlotCollection();
|
|
|
|
RimPltPlotCollection* pltPlotCollection();
|
|
|
|
RimSummaryPlotCollection* summaryPlotCollection();
|
|
|
|
RimSummaryCrossPlotCollection* summaryCrossPlotCollection();
|
|
|
|
RimFlowPlotCollection* flowPlotCollection();
|
2017-01-13 02:50:43 -06:00
|
|
|
|
2017-11-07 13:40:45 -06:00
|
|
|
void deleteAllContainedObjects();
|
|
|
|
void updateCurrentTimeStepInPlots();
|
2017-12-01 03:26:32 -06:00
|
|
|
void updatePlotsWithFormations();
|
2018-10-03 08:57:09 -05:00
|
|
|
void updatePlotsWithCompletions();
|
2018-10-24 05:59:43 -05:00
|
|
|
void deleteAllCachedData();
|
2017-11-07 13:40:45 -06:00
|
|
|
private:
|
2015-08-27 09:13:49 -05:00
|
|
|
|
|
|
|
// Overridden PDM methods
|
2018-10-18 12:45:57 -05:00
|
|
|
caf::PdmFieldHandle* objectToggleField() override;
|
|
|
|
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
2015-08-27 09:13:49 -05:00
|
|
|
|
2017-11-07 13:40:45 -06:00
|
|
|
private:
|
|
|
|
caf::PdmChildField<RimWellLogPlotCollection*> m_wellLogPlotCollection;
|
|
|
|
caf::PdmChildField<RimRftPlotCollection*> m_rftPlotCollection;
|
|
|
|
caf::PdmChildField<RimPltPlotCollection*> m_pltPlotCollection;
|
|
|
|
caf::PdmChildField<RimSummaryPlotCollection*> m_summaryPlotCollection;
|
|
|
|
caf::PdmChildField<RimSummaryCrossPlotCollection*> m_summaryCrossPlotCollection;
|
|
|
|
caf::PdmChildField<RimFlowPlotCollection*> m_flowPlotCollection;
|
2016-05-09 05:13:54 -05:00
|
|
|
|
2017-11-07 13:40:45 -06:00
|
|
|
caf::PdmField<bool> m_show;
|
2015-08-26 05:27:29 -05:00
|
|
|
};
|