mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Whtespace
This commit is contained in:
@@ -37,10 +37,6 @@
|
|||||||
#include "RigMainGrid.h"
|
#include "RigMainGrid.h"
|
||||||
#include "RigStatisticsDataCache.h"
|
#include "RigStatisticsDataCache.h"
|
||||||
|
|
||||||
#include "RimGeoMechContourMapView.h"
|
|
||||||
#include "RimEclipseContourMapView.h"
|
|
||||||
#include "RimGeoMechContourMapProjection.h"
|
|
||||||
#include "RimEclipseContourMapProjection.h"
|
|
||||||
#include "Rim2dIntersectionView.h"
|
#include "Rim2dIntersectionView.h"
|
||||||
#include "Rim2dIntersectionViewCollection.h"
|
#include "Rim2dIntersectionViewCollection.h"
|
||||||
#include "Rim3dView.h"
|
#include "Rim3dView.h"
|
||||||
@@ -48,11 +44,15 @@
|
|||||||
#include "RimCellEdgeColors.h"
|
#include "RimCellEdgeColors.h"
|
||||||
#include "RimEclipseCase.h"
|
#include "RimEclipseCase.h"
|
||||||
#include "RimEclipseCellColors.h"
|
#include "RimEclipseCellColors.h"
|
||||||
|
#include "RimEclipseContourMapProjection.h"
|
||||||
|
#include "RimEclipseContourMapView.h"
|
||||||
#include "RimEclipseFaultColors.h"
|
#include "RimEclipseFaultColors.h"
|
||||||
#include "RimEclipsePropertyFilterCollection.h"
|
#include "RimEclipsePropertyFilterCollection.h"
|
||||||
#include "RimEclipseView.h"
|
#include "RimEclipseView.h"
|
||||||
#include "RimFaultInViewCollection.h"
|
#include "RimFaultInViewCollection.h"
|
||||||
#include "RimGeoMechCase.h"
|
#include "RimGeoMechCase.h"
|
||||||
|
#include "RimGeoMechContourMapProjection.h"
|
||||||
|
#include "RimGeoMechContourMapView.h"
|
||||||
#include "RimGeoMechResultDefinition.h"
|
#include "RimGeoMechResultDefinition.h"
|
||||||
#include "RimGeoMechView.h"
|
#include "RimGeoMechView.h"
|
||||||
#include "RimReservoirCellResultsStorage.h"
|
#include "RimReservoirCellResultsStorage.h"
|
||||||
@@ -61,8 +61,8 @@
|
|||||||
|
|
||||||
#include "RiuViewer.h"
|
#include "RiuViewer.h"
|
||||||
|
|
||||||
#include <QMessageBox>
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
#include <QMessageBox>
|
||||||
|
|
||||||
CAF_PDM_SOURCE_INIT(Rim3dOverlayInfoConfig, "View3dOverlayInfoConfig");
|
CAF_PDM_SOURCE_INIT(Rim3dOverlayInfoConfig, "View3dOverlayInfoConfig");
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -71,28 +71,28 @@ CAF_PDM_SOURCE_INIT(Rim3dOverlayInfoConfig, "View3dOverlayInfoConfig");
|
|||||||
|
|
||||||
namespace caf
|
namespace caf
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
void caf::AppEnum<Rim3dOverlayInfoConfig::StatisticsTimeRangeType>::setUp()
|
void caf::AppEnum<Rim3dOverlayInfoConfig::StatisticsTimeRangeType>::setUp()
|
||||||
{
|
{
|
||||||
addItem(Rim3dOverlayInfoConfig::ALL_TIMESTEPS, "ALL_TIMESTEPS", "All Time Steps");
|
addItem(Rim3dOverlayInfoConfig::ALL_TIMESTEPS, "ALL_TIMESTEPS", "All Time Steps");
|
||||||
addItem(Rim3dOverlayInfoConfig::CURRENT_TIMESTEP, "CURRENT_TIMESTEP", "Current Time Step");
|
addItem(Rim3dOverlayInfoConfig::CURRENT_TIMESTEP, "CURRENT_TIMESTEP", "Current Time Step");
|
||||||
setDefault(Rim3dOverlayInfoConfig::ALL_TIMESTEPS);
|
setDefault(Rim3dOverlayInfoConfig::ALL_TIMESTEPS);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
} // namespace caf
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace caf
|
namespace caf
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
void caf::AppEnum<Rim3dOverlayInfoConfig::StatisticsCellRangeType>::setUp()
|
void caf::AppEnum<Rim3dOverlayInfoConfig::StatisticsCellRangeType>::setUp()
|
||||||
{
|
{
|
||||||
addItem(Rim3dOverlayInfoConfig::ALL_CELLS, "ALL_CELLS", "All Active Cells");
|
addItem(Rim3dOverlayInfoConfig::ALL_CELLS, "ALL_CELLS", "All Active Cells");
|
||||||
addItem(Rim3dOverlayInfoConfig::VISIBLE_CELLS, "VISIBLE_CELLS", "Visible Cells");
|
addItem(Rim3dOverlayInfoConfig::VISIBLE_CELLS, "VISIBLE_CELLS", "Visible Cells");
|
||||||
setDefault(Rim3dOverlayInfoConfig::ALL_CELLS);
|
setDefault(Rim3dOverlayInfoConfig::ALL_CELLS);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
} // namespace caf
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
@@ -113,7 +113,7 @@ Rim3dOverlayInfoConfig::Rim3dOverlayInfoConfig()
|
|||||||
|
|
||||||
CAF_PDM_InitFieldNoDefault(&m_statisticsTimeRange, "StatisticsTimeRange", "Statistics Time Range", "", "", "");
|
CAF_PDM_InitFieldNoDefault(&m_statisticsTimeRange, "StatisticsTimeRange", "Statistics Time Range", "", "", "");
|
||||||
CAF_PDM_InitFieldNoDefault(&m_statisticsCellRange, "StatisticsCellRange", "Statistics Cell Range", "", "", "");
|
CAF_PDM_InitFieldNoDefault(&m_statisticsCellRange, "StatisticsCellRange", "Statistics Cell Range", "", "", "");
|
||||||
//m_statisticsCellRange.uiCapability()->setUiHidden(true);
|
// m_statisticsCellRange.uiCapability()->setUiHidden(true);
|
||||||
|
|
||||||
m_isVisCellStatUpToDate = false;
|
m_isVisCellStatUpToDate = false;
|
||||||
|
|
||||||
@@ -123,22 +123,20 @@ Rim3dOverlayInfoConfig::Rim3dOverlayInfoConfig()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
Rim3dOverlayInfoConfig::~Rim3dOverlayInfoConfig()
|
Rim3dOverlayInfoConfig::~Rim3dOverlayInfoConfig() {}
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void Rim3dOverlayInfoConfig::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
|
void Rim3dOverlayInfoConfig::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
|
||||||
|
const QVariant& oldValue,
|
||||||
|
const QVariant& newValue)
|
||||||
{
|
{
|
||||||
|
if (hasInvalidStatisticsCombination())
|
||||||
if ( hasInvalidStatisticsCombination() )
|
|
||||||
{
|
{
|
||||||
displayPropertyFilteredStatisticsMessage(false);
|
displayPropertyFilteredStatisticsMessage(false);
|
||||||
if ( changedField == &m_statisticsTimeRange ) m_statisticsTimeRange = CURRENT_TIMESTEP;
|
if (changedField == &m_statisticsTimeRange) m_statisticsTimeRange = CURRENT_TIMESTEP;
|
||||||
if ( changedField == &m_statisticsCellRange ) m_statisticsCellRange = ALL_CELLS;
|
if (changedField == &m_statisticsCellRange) m_statisticsCellRange = ALL_CELLS;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (changedField == &m_showResultInfo)
|
if (changedField == &m_showResultInfo)
|
||||||
@@ -161,7 +159,6 @@ void Rim3dOverlayInfoConfig::fieldChangedByUi(const caf::PdmFieldHandle* changed
|
|||||||
{
|
{
|
||||||
m_viewDef->viewer()->update();
|
m_viewDef->viewer()->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -182,10 +179,14 @@ Rim3dOverlayInfoConfig::HistogramData Rim3dOverlayInfoConfig::histogramData()
|
|||||||
auto eclipseContourMap = dynamic_cast<RimEclipseContourMapView*>(eclipseView);
|
auto eclipseContourMap = dynamic_cast<RimEclipseContourMapView*>(eclipseView);
|
||||||
auto geoMechContourMap = dynamic_cast<RimGeoMechContourMapView*>(geoMechView);
|
auto geoMechContourMap = dynamic_cast<RimGeoMechContourMapView*>(geoMechView);
|
||||||
|
|
||||||
if (eclipseContourMap) return histogramData(eclipseContourMap);
|
if (eclipseContourMap)
|
||||||
else if (geoMechContourMap) return histogramData(geoMechContourMap);
|
return histogramData(eclipseContourMap);
|
||||||
else if (eclipseView) return histogramData(eclipseView);
|
else if (geoMechContourMap)
|
||||||
else if (geoMechView) return histogramData(geoMechView);
|
return histogramData(geoMechContourMap);
|
||||||
|
else if (eclipseView)
|
||||||
|
return histogramData(eclipseView);
|
||||||
|
else if (geoMechView)
|
||||||
|
return histogramData(geoMechView);
|
||||||
return HistogramData();
|
return HistogramData();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -194,8 +195,8 @@ Rim3dOverlayInfoConfig::HistogramData Rim3dOverlayInfoConfig::histogramData()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
QString Rim3dOverlayInfoConfig::timeStepText()
|
QString Rim3dOverlayInfoConfig::timeStepText()
|
||||||
{
|
{
|
||||||
RimEclipseView * eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
RimEclipseView* eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
||||||
RimGeoMechView * geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
RimGeoMechView* geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
||||||
|
|
||||||
if (eclipseView) return timeStepText(eclipseView);
|
if (eclipseView) return timeStepText(eclipseView);
|
||||||
if (geoMechView) return timeStepText(geoMechView);
|
if (geoMechView) return timeStepText(geoMechView);
|
||||||
@@ -332,7 +333,6 @@ Rim3dOverlayInfoConfig::HistogramData Rim3dOverlayInfoConfig::histogramData(RimG
|
|||||||
return histData;
|
return histData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -369,13 +369,17 @@ Rim3dOverlayInfoConfig::HistogramData Rim3dOverlayInfoConfig::histogramData(RimE
|
|||||||
currentTimeStep = 0;
|
currentTimeStep = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
eclipseView->currentGridCellResults()->minMaxCellScalarValues(eclResAddr, currentTimeStep, histData.min, histData.max);
|
eclipseView->currentGridCellResults()->minMaxCellScalarValues(
|
||||||
eclipseView->currentGridCellResults()->p10p90CellScalarValues(eclResAddr, currentTimeStep, histData.p10, histData.p90);
|
eclResAddr, currentTimeStep, histData.min, histData.max);
|
||||||
|
eclipseView->currentGridCellResults()->p10p90CellScalarValues(
|
||||||
|
eclResAddr, currentTimeStep, histData.p10, histData.p90);
|
||||||
eclipseView->currentGridCellResults()->meanCellScalarValues(eclResAddr, currentTimeStep, histData.mean);
|
eclipseView->currentGridCellResults()->meanCellScalarValues(eclResAddr, currentTimeStep, histData.mean);
|
||||||
eclipseView->currentGridCellResults()->sumCellScalarValues(eclResAddr, currentTimeStep, histData.sum);
|
eclipseView->currentGridCellResults()->sumCellScalarValues(eclResAddr, currentTimeStep, histData.sum);
|
||||||
eclipseView->currentGridCellResults()->mobileVolumeWeightedMean(eclResAddr, currentTimeStep, histData.weightedMean);
|
eclipseView->currentGridCellResults()->mobileVolumeWeightedMean(
|
||||||
|
eclResAddr, currentTimeStep, histData.weightedMean);
|
||||||
|
|
||||||
histData.histogram = &(eclipseView->currentGridCellResults()->cellScalarValuesHistogram(eclResAddr, currentTimeStep));
|
histData.histogram =
|
||||||
|
&(eclipseView->currentGridCellResults()->cellScalarValuesHistogram(eclResAddr, currentTimeStep));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -416,7 +420,8 @@ Rim3dOverlayInfoConfig::HistogramData Rim3dOverlayInfoConfig::histogramData(RimE
|
|||||||
}
|
}
|
||||||
else if (eclipseView->cellResult()->isFlowDiagOrInjectionFlooding())
|
else if (eclipseView->cellResult()->isFlowDiagOrInjectionFlooding())
|
||||||
{
|
{
|
||||||
if (m_statisticsTimeRange == CURRENT_TIMESTEP || m_statisticsTimeRange == ALL_TIMESTEPS) // All timesteps is ignored
|
if (m_statisticsTimeRange == CURRENT_TIMESTEP ||
|
||||||
|
m_statisticsTimeRange == ALL_TIMESTEPS) // All timesteps is ignored
|
||||||
{
|
{
|
||||||
int currentTimeStep = eclipseView->currentTimeStep();
|
int currentTimeStep = eclipseView->currentTimeStep();
|
||||||
|
|
||||||
@@ -463,7 +468,8 @@ Rim3dOverlayInfoConfig::HistogramData Rim3dOverlayInfoConfig::histogramData(RimG
|
|||||||
{
|
{
|
||||||
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
||||||
RigGeoMechCaseData* caseData = geoMechCase ? geoMechCase->geoMechData() : nullptr;
|
RigGeoMechCaseData* caseData = geoMechCase ? geoMechCase->geoMechData() : nullptr;
|
||||||
bool isResultsInfoRelevant = caseData && geoMechView->hasUserRequestedAnimation() && geoMechView->cellResultResultDefinition()->hasResult();
|
bool isResultsInfoRelevant =
|
||||||
|
caseData && geoMechView->hasUserRequestedAnimation() && geoMechView->cellResultResultDefinition()->hasResult();
|
||||||
|
|
||||||
if (isResultsInfoRelevant)
|
if (isResultsInfoRelevant)
|
||||||
{
|
{
|
||||||
@@ -543,19 +549,26 @@ QString Rim3dOverlayInfoConfig::caseInfoText(RimEclipseView* eclipseView)
|
|||||||
QString weightingParameterString;
|
QString weightingParameterString;
|
||||||
if (contourMap->contourMapProjection()->weightingParameter() != "None")
|
if (contourMap->contourMapProjection()->weightingParameter() != "None")
|
||||||
{
|
{
|
||||||
weightingParameterString += QString(" (Weight: %1)").arg(contourMap->contourMapProjection()->weightingParameter());
|
weightingParameterString +=
|
||||||
|
QString(" (Weight: %1)").arg(contourMap->contourMapProjection()->weightingParameter());
|
||||||
}
|
}
|
||||||
|
|
||||||
infoText += QString(
|
infoText += QString("<p><b>-- Contour Map: %1 --</b><p> "
|
||||||
"<p><b>-- Contour Map: %1 --</b><p> "
|
|
||||||
"<b>Sample Count. Total:</b> %2 <b>Valid Results:</b> %3 <br>"
|
"<b>Sample Count. Total:</b> %2 <b>Valid Results:</b> %3 <br>"
|
||||||
"<b>Projection Type:</b> %4%5<br>").arg(caseName, totCellCount, activeCellCountText, aggregationType, weightingParameterString);
|
"<b>Projection Type:</b> %4%5<br>")
|
||||||
|
.arg(caseName, totCellCount, activeCellCountText, aggregationType, weightingParameterString);
|
||||||
}
|
}
|
||||||
else if (eclipseView->mainGrid())
|
else if (eclipseView->mainGrid())
|
||||||
{
|
{
|
||||||
QString totCellCount = QString::number(eclipseView->mainGrid()->globalCellArray().size());
|
QString totCellCount = QString::number(eclipseView->mainGrid()->globalCellArray().size());
|
||||||
size_t mxActCellCount = eclipseView->eclipseCase()->eclipseCaseData()->activeCellInfo(RiaDefines::MATRIX_MODEL)->reservoirActiveCellCount();
|
size_t mxActCellCount = eclipseView->eclipseCase()
|
||||||
size_t frActCellCount = eclipseView->eclipseCase()->eclipseCaseData()->activeCellInfo(RiaDefines::FRACTURE_MODEL)->reservoirActiveCellCount();
|
->eclipseCaseData()
|
||||||
|
->activeCellInfo(RiaDefines::MATRIX_MODEL)
|
||||||
|
->reservoirActiveCellCount();
|
||||||
|
size_t frActCellCount = eclipseView->eclipseCase()
|
||||||
|
->eclipseCaseData()
|
||||||
|
->activeCellInfo(RiaDefines::FRACTURE_MODEL)
|
||||||
|
->reservoirActiveCellCount();
|
||||||
|
|
||||||
QString activeCellCountText;
|
QString activeCellCountText;
|
||||||
if (frActCellCount > 0) activeCellCountText += "Matrix : ";
|
if (frActCellCount > 0) activeCellCountText += "Matrix : ";
|
||||||
@@ -567,13 +580,11 @@ QString Rim3dOverlayInfoConfig::caseInfoText(RimEclipseView* eclipseView)
|
|||||||
QString kSize = QString::number(eclipseView->mainGrid()->cellCountK());
|
QString kSize = QString::number(eclipseView->mainGrid()->cellCountK());
|
||||||
|
|
||||||
QString zScale = QString::number(eclipseView->scaleZ());
|
QString zScale = QString::number(eclipseView->scaleZ());
|
||||||
infoText += QString(
|
infoText += QString("<p><b>-- %1 --</b><p> "
|
||||||
"<p><b>-- %1 --</b><p> "
|
|
||||||
"<b>Cell count. Total:</b> %2 <b>Active:</b> %3 <br>"
|
"<b>Cell count. Total:</b> %2 <b>Active:</b> %3 <br>"
|
||||||
"<b>Main Grid I,J,K:</b> %4, %5, %6 <b>Z-Scale:</b> %7<br>").arg(caseName, totCellCount, activeCellCountText, iSize, jSize, kSize, zScale);
|
"<b>Main Grid I,J,K:</b> %4, %5, %6 <b>Z-Scale:</b> %7<br>")
|
||||||
|
.arg(caseName, totCellCount, activeCellCountText, iSize, jSize, kSize, zScale);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return infoText;
|
return infoText;
|
||||||
@@ -613,13 +624,12 @@ QString Rim3dOverlayInfoConfig::caseInfoText(RimGeoMechView* geoMechView)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
QString cellCount = QString("%1").arg(femParts->totalElementCount());
|
QString cellCount = QString("%1").arg(femParts->totalElementCount());
|
||||||
QString zScale = QString::number(geoMechView->scaleZ());
|
QString zScale = QString::number(geoMechView->scaleZ());
|
||||||
|
|
||||||
infoText = QString(
|
infoText = QString("<p><b>-- %1 --</b><p>"
|
||||||
"<p><b>-- %1 --</b><p>"
|
"<b>Cell count:</b> %2 <b>Z-Scale:</b> %3<br>")
|
||||||
"<b>Cell count:</b> %2 <b>Z-Scale:</b> %3<br>").arg(caseName, cellCount, zScale);
|
.arg(caseName, cellCount, zScale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -629,7 +639,9 @@ QString Rim3dOverlayInfoConfig::caseInfoText(RimGeoMechView* geoMechView)
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, RimEclipseView* eclipseView, bool showVolumeWeightedMean)
|
QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData,
|
||||||
|
RimEclipseView* eclipseView,
|
||||||
|
bool showVolumeWeightedMean)
|
||||||
{
|
{
|
||||||
QString infoText;
|
QString infoText;
|
||||||
|
|
||||||
@@ -654,7 +666,11 @@ QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, Ri
|
|||||||
infoText += QString("<table border=0 cellspacing=5 >"
|
infoText += QString("<table border=0 cellspacing=5 >"
|
||||||
"<tr> <td>Min</td> <td>Mean</td> <td>Max</td> <td>Sum</td> </tr>"
|
"<tr> <td>Min</td> <td>Mean</td> <td>Max</td> <td>Sum</td> </tr>"
|
||||||
"<tr> <td>%1</td> <td> %2</td> <td> %3</td> <td> %4</td> </tr>"
|
"<tr> <td>%1</td> <td> %2</td> <td> %3</td> <td> %4</td> </tr>"
|
||||||
"</table>").arg(histData.min).arg(histData.mean).arg(histData.max).arg(histData.sum);
|
"</table>")
|
||||||
|
.arg(histData.min)
|
||||||
|
.arg(histData.mean)
|
||||||
|
.arg(histData.max)
|
||||||
|
.arg(histData.sum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (eclipseView)
|
else if (eclipseView)
|
||||||
@@ -686,7 +702,13 @@ QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, Ri
|
|||||||
infoText += QString("<table border=0 cellspacing=5 >"
|
infoText += QString("<table border=0 cellspacing=5 >"
|
||||||
"<tr> <td>Min</td> <td>P90</td> <td>Mean</td> <td>P10</td> <td>Max</td> <td>Sum</td> </tr>"
|
"<tr> <td>Min</td> <td>P90</td> <td>Mean</td> <td>P10</td> <td>Max</td> <td>Sum</td> </tr>"
|
||||||
"<tr> <td>%1</td> <td> %2</td> <td> %3</td> <td> %4</td> <td> %5</td> <td> %6</td> </tr>"
|
"<tr> <td>%1</td> <td> %2</td> <td> %3</td> <td> %4</td> <td> %5</td> <td> %6</td> </tr>"
|
||||||
"</table>").arg(histData.min).arg(histData.p10).arg(histData.mean).arg(histData.p90).arg(histData.max).arg(histData.sum);
|
"</table>")
|
||||||
|
.arg(histData.min)
|
||||||
|
.arg(histData.p10)
|
||||||
|
.arg(histData.mean)
|
||||||
|
.arg(histData.p90)
|
||||||
|
.arg(histData.max)
|
||||||
|
.arg(histData.sum);
|
||||||
|
|
||||||
if (eclipseView->faultResultSettings()->hasValidCustomResult())
|
if (eclipseView->faultResultSettings()->hasValidCustomResult())
|
||||||
{
|
{
|
||||||
@@ -713,7 +735,8 @@ QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, Ri
|
|||||||
}
|
}
|
||||||
|
|
||||||
infoText += QString("<b>Fault results: </b> %1<br>").arg(faultMapping);
|
infoText += QString("<b>Fault results: </b> %1<br>").arg(faultMapping);
|
||||||
infoText += QString("<b>Fault Property:</b> %1 <br>").arg(eclipseView->faultResultSettings()->customFaultResult()->resultVariableUiShortName());
|
infoText += QString("<b>Fault Property:</b> %1 <br>")
|
||||||
|
.arg(eclipseView->faultResultSettings()->customFaultResult()->resultVariableUiShortName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -726,7 +749,9 @@ QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, Ri
|
|||||||
infoText += QString("<table border=0 cellspacing=5 >"
|
infoText += QString("<table border=0 cellspacing=5 >"
|
||||||
"<tr> <td>Min</td> <td></td> <td></td> <td></td> <td>Max</td> </tr>"
|
"<tr> <td>Min</td> <td></td> <td></td> <td></td> <td>Max</td> </tr>"
|
||||||
"<tr> <td>%1</td> <td></td> <td></td> <td></td> <td> %2</td></tr>"
|
"<tr> <td>%1</td> <td></td> <td></td> <td></td> <td> %2</td></tr>"
|
||||||
"</table>").arg(min).arg(max);
|
"</table>")
|
||||||
|
.arg(min)
|
||||||
|
.arg(max);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (showVolumeWeightedMean && histData.weightedMean != HUGE_VAL)
|
if (showVolumeWeightedMean && histData.weightedMean != HUGE_VAL)
|
||||||
@@ -748,7 +773,8 @@ QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, Ri
|
|||||||
{
|
{
|
||||||
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
||||||
RigGeoMechCaseData* caseData = geoMechCase ? geoMechCase->geoMechData() : nullptr;
|
RigGeoMechCaseData* caseData = geoMechCase ? geoMechCase->geoMechData() : nullptr;
|
||||||
bool isResultsInfoRelevant = caseData && geoMechView->hasUserRequestedAnimation() && geoMechView->cellResultResultDefinition()->hasResult();
|
bool isResultsInfoRelevant =
|
||||||
|
caseData && geoMechView->hasUserRequestedAnimation() && geoMechView->cellResultResultDefinition()->hasResult();
|
||||||
|
|
||||||
if (isResultsInfoRelevant)
|
if (isResultsInfoRelevant)
|
||||||
{
|
{
|
||||||
@@ -789,11 +815,18 @@ QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, Ri
|
|||||||
{
|
{
|
||||||
infoText += QString("%1<br>").arg(diffResString);
|
infoText += QString("%1<br>").arg(diffResString);
|
||||||
}
|
}
|
||||||
infoText += QString("<br><b>Statistics:</b> ") + m_statisticsTimeRange().uiText() + " and " + m_statisticsCellRange().uiText();
|
infoText += QString("<br><b>Statistics:</b> ") + m_statisticsTimeRange().uiText() + " and " +
|
||||||
|
m_statisticsCellRange().uiText();
|
||||||
infoText += QString("<table border=0 cellspacing=5 >"
|
infoText += QString("<table border=0 cellspacing=5 >"
|
||||||
"<tr> <td>Min</td> <td>P90</td> <td>Mean</td> <td>P10</td> <td>Max</td> <td>Sum</td> </tr>"
|
"<tr> <td>Min</td> <td>P90</td> <td>Mean</td> <td>P10</td> <td>Max</td> <td>Sum</td> </tr>"
|
||||||
"<tr> <td>%1</td> <td> %2</td> <td> %3</td> <td> %4</td> <td> %5</td> <td> %6</td> </tr>"
|
"<tr> <td>%1</td> <td> %2</td> <td> %3</td> <td> %4</td> <td> %5</td> <td> %6</td> </tr>"
|
||||||
"</table>").arg(histData.min).arg(histData.p10).arg(histData.mean).arg(histData.p90).arg(histData.max).arg(histData.sum);
|
"</table>")
|
||||||
|
.arg(histData.min)
|
||||||
|
.arg(histData.p10)
|
||||||
|
.arg(histData.mean)
|
||||||
|
.arg(histData.p90)
|
||||||
|
.arg(histData.max)
|
||||||
|
.arg(histData.sum);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -858,7 +891,7 @@ void Rim3dOverlayInfoConfig::update3DInfo()
|
|||||||
m_statisticsTimeRange = CURRENT_TIMESTEP;
|
m_statisticsTimeRange = CURRENT_TIMESTEP;
|
||||||
}
|
}
|
||||||
|
|
||||||
RimEclipseView * reservoirView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
RimEclipseView* reservoirView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
||||||
if (reservoirView)
|
if (reservoirView)
|
||||||
{
|
{
|
||||||
updateEclipse3DInfo(reservoirView);
|
updateEclipse3DInfo(reservoirView);
|
||||||
@@ -867,7 +900,7 @@ void Rim3dOverlayInfoConfig::update3DInfo()
|
|||||||
m_gridStatisticsDialog->updateFromRimView(reservoirView);
|
m_gridStatisticsDialog->updateFromRimView(reservoirView);
|
||||||
}
|
}
|
||||||
|
|
||||||
RimGeoMechView * geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
RimGeoMechView* geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
||||||
if (geoMechView)
|
if (geoMechView)
|
||||||
{
|
{
|
||||||
m_showVolumeWeightedMean = false;
|
m_showVolumeWeightedMean = false;
|
||||||
@@ -889,7 +922,6 @@ caf::PdmFieldHandle* Rim3dOverlayInfoConfig::objectToggleField()
|
|||||||
return &m_active;
|
return &m_active;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -897,9 +929,9 @@ void Rim3dOverlayInfoConfig::defineUiOrdering(QString uiConfigName, caf::PdmUiOr
|
|||||||
{
|
{
|
||||||
caf::PdmUiGroup* visGroup = uiOrdering.addNewGroup("Visibility");
|
caf::PdmUiGroup* visGroup = uiOrdering.addNewGroup("Visibility");
|
||||||
|
|
||||||
RimEclipseView * eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
RimEclipseView* eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
||||||
RimEclipseContourMapView* contourMap = dynamic_cast<RimEclipseContourMapView*>(eclipseView);
|
RimEclipseContourMapView* contourMap = dynamic_cast<RimEclipseContourMapView*>(eclipseView);
|
||||||
RimGeoMechView * geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
RimGeoMechView* geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
||||||
|
|
||||||
visGroup->add(&m_showAnimProgress);
|
visGroup->add(&m_showAnimProgress);
|
||||||
visGroup->add(&m_showCaseInfo);
|
visGroup->add(&m_showCaseInfo);
|
||||||
@@ -945,7 +977,7 @@ void Rim3dOverlayInfoConfig::setReservoirView(RimGridView* ownerReservoirView)
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void Rim3dOverlayInfoConfig::updateEclipse3DInfo(RimEclipseView * eclipseView)
|
void Rim3dOverlayInfoConfig::updateEclipse3DInfo(RimEclipseView* eclipseView)
|
||||||
{
|
{
|
||||||
HistogramData histData;
|
HistogramData histData;
|
||||||
|
|
||||||
@@ -987,7 +1019,7 @@ void Rim3dOverlayInfoConfig::updateEclipse3DInfo(RimEclipseView * eclipseView)
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void Rim3dOverlayInfoConfig::updateGeoMech3DInfo(RimGeoMechView * geoMechView)
|
void Rim3dOverlayInfoConfig::updateGeoMech3DInfo(RimGeoMechView* geoMechView)
|
||||||
{
|
{
|
||||||
HistogramData histData;
|
HistogramData histData;
|
||||||
|
|
||||||
@@ -1021,7 +1053,8 @@ void Rim3dOverlayInfoConfig::updateGeoMech3DInfo(RimGeoMechView * geoMechView)
|
|||||||
{
|
{
|
||||||
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
||||||
RigGeoMechCaseData* caseData = geoMechCase ? geoMechCase->geoMechData() : nullptr;
|
RigGeoMechCaseData* caseData = geoMechCase ? geoMechCase->geoMechData() : nullptr;
|
||||||
bool isResultsInfoRelevant = caseData && geoMechView->hasUserRequestedAnimation() && geoMechView->cellResultResultDefinition()->hasResult();
|
bool isResultsInfoRelevant =
|
||||||
|
caseData && geoMechView->hasUserRequestedAnimation() && geoMechView->cellResultResultDefinition()->hasResult();
|
||||||
|
|
||||||
if (isResultsInfoRelevant)
|
if (isResultsInfoRelevant)
|
||||||
{
|
{
|
||||||
@@ -1063,9 +1096,8 @@ QString Rim3dOverlayInfoConfig::timeStepText(RimEclipseView* eclipseView)
|
|||||||
|
|
||||||
QString dateString = RiaQDateTimeTools::toStringUsingApplicationLocale(timeSteps[currTimeStepIndex], dateFormat);
|
QString dateString = RiaQDateTimeTools::toStringUsingApplicationLocale(timeSteps[currTimeStepIndex], dateFormat);
|
||||||
|
|
||||||
dateTimeString = QString("Time Step: %1/%2 %3").arg(QString::number(currTimeStepIndex),
|
dateTimeString = QString("Time Step: %1/%2 %3")
|
||||||
QString::number(timeSteps.size() - 1),
|
.arg(QString::number(currTimeStepIndex), QString::number(timeSteps.size() - 1), dateString);
|
||||||
dateString);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return QString("<p><b><center>-- %1 --</center></b>").arg(dateTimeString) +
|
return QString("<p><b><center>-- %1 --</center></b>").arg(dateTimeString) +
|
||||||
@@ -1085,9 +1117,9 @@ QString Rim3dOverlayInfoConfig::timeStepText(RimGeoMechView* geoMechView)
|
|||||||
QString dateTimeString;
|
QString dateTimeString;
|
||||||
if (currTimeStepIndex >= 0 && currTimeStepIndex < timeSteps.size())
|
if (currTimeStepIndex >= 0 && currTimeStepIndex < timeSteps.size())
|
||||||
{
|
{
|
||||||
dateTimeString = QString("Time Step: %1/%2 %3").arg(QString::number(currTimeStepIndex),
|
dateTimeString =
|
||||||
QString::number(timeSteps.size() - 1),
|
QString("Time Step: %1/%2 %3")
|
||||||
timeSteps[currTimeStepIndex]);
|
.arg(QString::number(currTimeStepIndex), QString::number(timeSteps.size() - 1), timeSteps[currTimeStepIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return QString("<p><b><center>-- %1 --</center></b>").arg(dateTimeString) +
|
return QString("<p><b><center>-- %1 --</center></b>").arg(dateTimeString) +
|
||||||
@@ -1099,8 +1131,8 @@ QString Rim3dOverlayInfoConfig::timeStepText(RimGeoMechView* geoMechView)
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void Rim3dOverlayInfoConfig::updateVisCellStatsIfNeeded()
|
void Rim3dOverlayInfoConfig::updateVisCellStatsIfNeeded()
|
||||||
{
|
{
|
||||||
RimEclipseView * eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
RimEclipseView* eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
||||||
RimGeoMechView * geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
RimGeoMechView* geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
||||||
|
|
||||||
if (!m_isVisCellStatUpToDate)
|
if (!m_isVisCellStatUpToDate)
|
||||||
{
|
{
|
||||||
@@ -1108,10 +1140,8 @@ void Rim3dOverlayInfoConfig::updateVisCellStatsIfNeeded()
|
|||||||
if (geoMechView)
|
if (geoMechView)
|
||||||
{
|
{
|
||||||
RigFemResultAddress resAddress = geoMechView->cellResultResultDefinition()->resultAddress();
|
RigFemResultAddress resAddress = geoMechView->cellResultResultDefinition()->resultAddress();
|
||||||
calc = new RigFemNativeVisibleCellsStatCalc(geoMechView->geoMechCase()->geoMechData(),
|
calc = new RigFemNativeVisibleCellsStatCalc(
|
||||||
resAddress,
|
geoMechView->geoMechCase()->geoMechData(), resAddress, geoMechView->currentTotalCellVisibility().p());
|
||||||
geoMechView->currentTotalCellVisibility().p());
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (eclipseView)
|
else if (eclipseView)
|
||||||
{
|
{
|
||||||
@@ -1119,17 +1149,13 @@ void Rim3dOverlayInfoConfig::updateVisCellStatsIfNeeded()
|
|||||||
{
|
{
|
||||||
RigFlowDiagResultAddress resAddr = eclipseView->cellResult()->flowDiagResAddress();
|
RigFlowDiagResultAddress resAddr = eclipseView->cellResult()->flowDiagResAddress();
|
||||||
RigFlowDiagResults* fldResults = eclipseView->cellResult()->flowDiagSolution()->flowDiagResults();
|
RigFlowDiagResults* fldResults = eclipseView->cellResult()->flowDiagSolution()->flowDiagResults();
|
||||||
calc = new RigFlowDiagVisibleCellsStatCalc(fldResults,
|
calc = new RigFlowDiagVisibleCellsStatCalc(fldResults, resAddr, eclipseView->currentTotalCellVisibility().p());
|
||||||
resAddr,
|
|
||||||
eclipseView->currentTotalCellVisibility().p());
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RigEclipseResultAddress scalarIndex = eclipseView->cellResult()->eclipseResultAddress();
|
RigEclipseResultAddress scalarIndex = eclipseView->cellResult()->eclipseResultAddress();
|
||||||
calc = new RigEclipseNativeVisibleCellsStatCalc(eclipseView->currentGridCellResults(),
|
calc = new RigEclipseNativeVisibleCellsStatCalc(
|
||||||
scalarIndex,
|
eclipseView->currentGridCellResults(), scalarIndex, eclipseView->currentTotalCellVisibility().p());
|
||||||
eclipseView->currentTotalCellVisibility().p());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1155,13 +1181,14 @@ void Rim3dOverlayInfoConfig::displayPropertyFilteredStatisticsMessage(bool showS
|
|||||||
if (!isShowing)
|
if (!isShowing)
|
||||||
{
|
{
|
||||||
isShowing = true;
|
isShowing = true;
|
||||||
QMessageBox::information(m_viewDef->viewer()->layoutWidget(),
|
QMessageBox::information(
|
||||||
|
m_viewDef->viewer()->layoutWidget(),
|
||||||
QString("ResInsight"),
|
QString("ResInsight"),
|
||||||
QString("Statistics not available<br>"
|
QString("Statistics not available<br>"
|
||||||
"<br>"
|
"<br>"
|
||||||
"Statistics calculations of <b>Visible Cells</b> for <b>All Time Steps</b> is not supported<br>"
|
"Statistics calculations of <b>Visible Cells</b> for <b>All Time Steps</b> is not supported<br>"
|
||||||
"when you have an active Property filter on a time varying result.<br>")
|
"when you have an active Property filter on a time varying result.<br>") +
|
||||||
+ switchString);
|
switchString);
|
||||||
isShowing = false;
|
isShowing = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1171,13 +1198,13 @@ void Rim3dOverlayInfoConfig::displayPropertyFilteredStatisticsMessage(bool showS
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
bool Rim3dOverlayInfoConfig::hasInvalidStatisticsCombination()
|
bool Rim3dOverlayInfoConfig::hasInvalidStatisticsCombination()
|
||||||
{
|
{
|
||||||
if (m_viewDef->propertyFilterCollection()
|
if (m_viewDef->propertyFilterCollection() && m_viewDef->propertyFilterCollection()->hasActiveDynamicFilters() &&
|
||||||
&& m_viewDef->propertyFilterCollection()->hasActiveDynamicFilters()
|
m_statisticsCellRange() == VISIBLE_CELLS && m_statisticsTimeRange() == ALL_TIMESTEPS)
|
||||||
&& m_statisticsCellRange() == VISIBLE_CELLS
|
|
||||||
&& m_statisticsTimeRange() == ALL_TIMESTEPS )
|
|
||||||
{
|
{
|
||||||
RimEclipseView * eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
RimEclipseView* eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
||||||
if (!(eclipseView && eclipseView->cellResult()->isFlowDiagOrInjectionFlooding())) // If isFlowDiagOrInjFlooding then skip this check as ALL_TIMESTEPS is overridden to CURRENT behind the scenes
|
if (!(eclipseView && eclipseView->cellResult()
|
||||||
|
->isFlowDiagOrInjectionFlooding())) // If isFlowDiagOrInjFlooding then skip this check as
|
||||||
|
// ALL_TIMESTEPS is overridden to CURRENT behind the scenes
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
#include "cvfObject.h"
|
#include "cvfObject.h"
|
||||||
|
|
||||||
#include "cvfVector2.h"
|
#include "cvfVector2.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
@@ -102,18 +103,13 @@ public:
|
|||||||
VISIBLE_CELLS
|
VISIBLE_CELLS
|
||||||
};
|
};
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||||
caf::PdmFieldHandle* objectToggleField() override;
|
caf::PdmFieldHandle* objectToggleField() override;
|
||||||
|
|
||||||
void defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering) override;
|
void defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering) override;
|
||||||
|
void updateEclipse3DInfo(RimEclipseView* reservoirView);
|
||||||
private:
|
void updateGeoMech3DInfo(RimGeoMechView* geoMechView);
|
||||||
void updateEclipse3DInfo(RimEclipseView * reservoirView);
|
|
||||||
void updateGeoMech3DInfo(RimGeoMechView * geoMechView);
|
|
||||||
|
|
||||||
void update3DInfoIn2dViews() const;
|
void update3DInfoIn2dViews() const;
|
||||||
|
|
||||||
QString timeStepText(RimEclipseView* eclipseView);
|
QString timeStepText(RimEclipseView* eclipseView);
|
||||||
QString timeStepText(RimGeoMechView* geoMechView);
|
QString timeStepText(RimGeoMechView* geoMechView);
|
||||||
HistogramData histogramData(RimEclipseContourMapView* contourMap);
|
HistogramData histogramData(RimEclipseContourMapView* contourMap);
|
||||||
@@ -125,6 +121,11 @@ private:
|
|||||||
QString resultInfoText(const HistogramData& histData, RimEclipseView* eclipseView, bool showVolumeWeightedMean);
|
QString resultInfoText(const HistogramData& histData, RimEclipseView* eclipseView, bool showVolumeWeightedMean);
|
||||||
QString resultInfoText(const HistogramData& histData, RimGeoMechView* geoMechView);
|
QString resultInfoText(const HistogramData& histData, RimGeoMechView* geoMechView);
|
||||||
|
|
||||||
|
void updateVisCellStatsIfNeeded();
|
||||||
|
void displayPropertyFilteredStatisticsMessage(bool showSwitchToCurrentTimestep);
|
||||||
|
bool hasInvalidStatisticsCombination();
|
||||||
|
|
||||||
|
private:
|
||||||
caf::PdmField<bool> m_active;
|
caf::PdmField<bool> m_active;
|
||||||
caf::PdmField<bool> m_showAnimProgress;
|
caf::PdmField<bool> m_showAnimProgress;
|
||||||
caf::PdmField<bool> m_showCaseInfo;
|
caf::PdmField<bool> m_showCaseInfo;
|
||||||
@@ -137,12 +138,7 @@ private:
|
|||||||
caf::PdmField<caf::AppEnum<StatisticsCellRangeType> > m_statisticsCellRange;
|
caf::PdmField<caf::AppEnum<StatisticsCellRangeType> > m_statisticsCellRange;
|
||||||
|
|
||||||
caf::PdmPointer<RimGridView> m_viewDef;
|
caf::PdmPointer<RimGridView> m_viewDef;
|
||||||
|
|
||||||
cvf::Vec2ui m_position;
|
cvf::Vec2ui m_position;
|
||||||
|
|
||||||
void updateVisCellStatsIfNeeded();
|
|
||||||
void displayPropertyFilteredStatisticsMessage(bool showSwitchToCurrentTimestep);
|
|
||||||
bool hasInvalidStatisticsCombination();
|
|
||||||
bool m_isVisCellStatUpToDate;
|
bool m_isVisCellStatUpToDate;
|
||||||
cvf::ref<RigStatisticsDataCache> m_visibleCellStatistics;
|
cvf::ref<RigStatisticsDataCache> m_visibleCellStatistics;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user