#4584 Add first implementation of text based curve generation in Summary Plot

This commit is contained in:
Jacob Støren
2019-09-13 11:31:49 +02:00
parent 9f494798a9
commit df655eb3ab
9 changed files with 654 additions and 76 deletions

View File

@@ -310,6 +310,26 @@ QString RimGridTimeHistoryCurve::caseName() const
return "";
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimCase* RimGridTimeHistoryCurve::gridCase() const
{
RimEclipseGeometrySelectionItem* eclTopItem = eclipseGeomSelectionItem();
if ( eclTopItem && eclTopItem->eclipseCase() )
{
return eclTopItem->eclipseCase();
}
RimGeoMechGeometrySelectionItem* geoMechTopItem = geoMechGeomSelectionItem();
if ( geoMechTopItem && geoMechTopItem->geoMechCase() )
{
return geoMechTopItem->geoMechCase();
}
return nullptr;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------