ContourMapProjection: Replace references with naked pointers

Replace reference members and constructor parameters with raw pointers in
RigContourMapProjection and subclasses. Remove cvf::ref usage in
RigEclipseContourMapProjection. Add updateRealizationData() to allow
swapping active cell info and result data per realization without
rebuilding the grid mapping.
This commit is contained in:
Magne Sjaastad committed 2026-03-19 15:10:43 +01:00
1 parent ca2a4dcc2c
commit 831751a903
11 files changed
+71 -60

No files matched your search

@@ -237,8 +237,8 @@ void RimGeoMechContourMapProjection::updateGridInformation()
expandedBoundingBox = cvf::BoundingBox( minExpandedPoint, maxExpandedPoint );
m_contourMapGrid = std::make_unique<RigContourMapGrid>( gridBoundingBox, expandedBoundingBox, sampleSpacing() );
m_contourMapProjection = std::make_unique<RigGeoMechContourMapProjection>( *geoMechCase->geoMechData(),
*m_contourMapGrid,
m_contourMapProjection = std::make_unique<RigGeoMechContourMapProjection>( geoMechCase->geoMechData(),
m_contourMapGrid.get(),
m_limitToPorePressureRegions,
m_paddingAroundPorePressureRegion );
}