Hide grid mesh lines in contour map view

This commit is contained in:
Jon Jenssen authored and jonjenssen committed 2024-12-03 15:33:53 +01:00
1 parent eee6f36a0e
commit d90dd91e29
5 files changed
+27 -3

No files matched your search

@@ -171,6 +171,15 @@ bool RimGeoMechContourMapView::isTimeStepDependentDataVisible() const
return true;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimGeoMechContourMapView::setCompatibleDrawStyle()
{
surfaceMode = FAULTS;
meshMode = RiaDefines::MeshModeType::NO_MESH;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -181,8 +190,7 @@ void RimGeoMechContourMapView::initAfterRead()
m_gridCollection->setActive( false ); // This is also not added to the tree view, so cannot be enabled.
disablePerspectiveProjectionField();
setShowGridBox( false );
meshMode.setValue( RiaDefines::MeshModeType::NO_MESH );
surfaceMode.setValue( FAULTS );
setCompatibleDrawStyle();
scheduleCreateDisplayModelAndRedraw();
}
@@ -45,6 +45,8 @@ public:
bool isTimeStepDependentDataVisible() const override;
void setCompatibleDrawStyle();
protected:
void initAfterRead() override;
void onCreateDisplayModel() override;
@@ -166,6 +166,15 @@ void RimEclipseContourMapView::updatePickPointAndRedraw()
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimEclipseContourMapView::setCompatibleDrawStyle()
{
surfaceMode = FAULTS;
meshMode = RiaDefines::MeshModeType::NO_MESH;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -175,8 +184,8 @@ void RimEclipseContourMapView::initAfterRead()
disablePerspectiveProjectionField();
setShowGridBox( false );
surfaceMode.setValue( FAULTS );
setFaultVisParameters();
setCompatibleDrawStyle();
scheduleCreateDisplayModelAndRedraw();
}
@@ -46,6 +46,8 @@ public:
RimSurfaceInViewCollection* surfaceInViewCollection() const override;
void zoomAll() override;
void setCompatibleDrawStyle();
protected:
void initAfterRead() override;
void onCreateDisplayModel() override;