mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4880 Refactoring in Rim3dView: De-virtualize updateCurrentTimeStepAndRedraw
This commit is contained in:
parent
8f1e272b8b
commit
c9af22cf91
@ -144,11 +144,11 @@ public:
|
||||
bool isTimeStepDependentDataVisibleInThisOrComparisonView() const;
|
||||
|
||||
// Updating
|
||||
virtual void updateCurrentTimeStepAndRedraw();
|
||||
virtual void scheduleGeometryRegen( RivCellSetEnum geometryType ) = 0;
|
||||
void scheduleCreateDisplayModelAndRedraw();
|
||||
|
||||
void createDisplayModelAndRedraw();
|
||||
void updateCurrentTimeStepAndRedraw();
|
||||
void createHighlightAndGridBoxDisplayModelWithRedraw();
|
||||
void updateGridBoxData();
|
||||
void updateAnnotationItems();
|
||||
|
@ -146,15 +146,6 @@ void RimEclipseContourMapView::updatePickPointAndRedraw()
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseContourMapView::updateCurrentTimeStepAndRedraw()
|
||||
{
|
||||
m_contourMapProjection->clearGeometry();
|
||||
RimEclipseView::updateCurrentTimeStepAndRedraw();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -231,6 +222,8 @@ void RimEclipseContourMapView::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiT
|
||||
void RimEclipseContourMapView::onUpdateCurrentTimeStep()
|
||||
{
|
||||
static_cast<RimEclipsePropertyFilterCollection*>( nativePropertyFilterCollection() )->updateFromCurrentTimeStep();
|
||||
|
||||
m_contourMapProjection->clearGeometry();
|
||||
updateGeometry();
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,6 @@ public:
|
||||
QString createAutoName() const override;
|
||||
void setDefaultCustomName();
|
||||
void updatePickPointAndRedraw();
|
||||
void updateCurrentTimeStepAndRedraw() override;
|
||||
|
||||
protected:
|
||||
void initAfterRead() override;
|
||||
|
@ -142,15 +142,6 @@ void RimGeoMechContourMapView::updatePickPointAndRedraw()
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGeoMechContourMapView::updateCurrentTimeStepAndRedraw()
|
||||
{
|
||||
m_contourMapProjection->clearGeometry();
|
||||
RimGeoMechView::updateCurrentTimeStepAndRedraw();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -239,6 +230,8 @@ void RimGeoMechContourMapView::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiT
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGeoMechContourMapView::onUpdateCurrentTimeStep()
|
||||
{
|
||||
m_contourMapProjection->clearGeometry();
|
||||
|
||||
updateGeometry();
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,6 @@ public:
|
||||
QString createAutoName() const override;
|
||||
void setDefaultCustomName();
|
||||
void updatePickPointAndRedraw();
|
||||
void updateCurrentTimeStepAndRedraw() override;
|
||||
bool isGridVisualizationMode() const override;
|
||||
|
||||
bool isTimeStepDependentDataVisible() const override;
|
||||
|
Loading…
Reference in New Issue
Block a user