Files
ResInsight/ApplicationCode/ProjectDataModel/RimMainPlotCollection.h
T

99 lines
4.1 KiB
C++
Raw Normal View History

/////////////////////////////////////////////////////////////////////////////////
//
// 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-08-28 10:42:57 +02:00
#include "cafPdmChildField.h"
#include "cafPdmField.h"
#include "cafPdmObject.h"
#include <QDockWidget>
#include <QPointer>
class RimAnalysisPlotCollection;
2020-04-17 09:31:42 +02:00
class RimCorrelationPlotCollection;
2015-08-28 10:42:57 +02:00
class RimWellLogPlotCollection;
class RimRftPlotCollection;
class RimPltPlotCollection;
2019-02-21 12:52:23 +01:00
class RimGridCrossPlotCollection;
2019-11-13 12:22:50 +01:00
class RimMultiPlotCollection;
class RimSummaryPlotCollection;
class RimSummaryCrossPlotCollection;
class RimSummaryPlot;
class RifReaderEclipseSummary;
class RimEclipseResultCase;
class RimFlowPlotCollection;
class RimSaturationPressurePlotCollection;
2020-05-14 06:39:55 +02:00
class RimFractureModelPlotCollection;
//==================================================================================================
///
///
//==================================================================================================
class RimMainPlotCollection : public caf::PdmObject
{
CAF_PDM_HEADER_INIT;
public:
RimMainPlotCollection();
~RimMainPlotCollection() override;
RimWellLogPlotCollection* wellLogPlotCollection();
RimRftPlotCollection* rftPlotCollection();
RimPltPlotCollection* pltPlotCollection();
RimSummaryPlotCollection* summaryPlotCollection();
RimSummaryCrossPlotCollection* summaryCrossPlotCollection();
RimAnalysisPlotCollection* analysisPlotCollection();
2020-04-17 09:31:42 +02:00
RimCorrelationPlotCollection* correlationPlotCollection();
RimFlowPlotCollection* flowPlotCollection();
RimGridCrossPlotCollection* gridCrossPlotCollection();
RimSaturationPressurePlotCollection* saturationPressurePlotCollection();
2019-11-13 12:22:50 +01:00
RimMultiPlotCollection* multiPlotCollection();
2020-05-14 06:39:55 +02:00
RimFractureModelPlotCollection* fractureModelPlotCollection();
void deleteAllContainedObjects();
void updateCurrentTimeStepInPlots();
void updatePlotsWithFormations();
void updatePlotsWithCompletions();
void deleteAllCachedData();
void ensureDefaultFlowPlotsAreCreated();
void ensureCalculationIdsAreAssigned();
private:
// Overridden PDM methods
caf::PdmFieldHandle* objectToggleField() override;
2020-02-12 11:43:15 +01:00
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
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<RimAnalysisPlotCollection*> m_analysisPlotCollection;
2020-04-17 09:31:42 +02:00
caf::PdmChildField<RimCorrelationPlotCollection*> m_correlationPlotCollection;
caf::PdmChildField<RimFlowPlotCollection*> m_flowPlotCollection;
caf::PdmChildField<RimGridCrossPlotCollection*> m_gridCrossPlotCollection;
caf::PdmChildField<RimSaturationPressurePlotCollection*> m_saturationPressurePlotCollection;
2019-11-13 12:22:50 +01:00
caf::PdmChildField<RimMultiPlotCollection*> m_multiPlotCollection;
2020-05-14 06:39:55 +02:00
caf::PdmChildField<RimFractureModelPlotCollection*> m_fractureModelPlotCollection;
caf::PdmField<bool> m_show;
};