mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-30 17:42:13 -06:00
Add seismic 3d view (#10472)
* Show seismic, surfaces, annotations and wellpaths in new view not requiring a grid loaded first.
This commit is contained in:
1 parent
5bf2c2a89d
commit
2172199999
73 files changed
+1520
-299
No files matched your search
@@ -613,7 +613,7 @@ void RimEclipseView::onCreateDisplayModel()
|
||||
// as the fracture geometry depends on the StimPlan legend colors
|
||||
fractureColors()->updateLegendData();
|
||||
|
||||
addWellPathsToModel( m_wellPathPipeVizModel.p(), currentActiveCellInfo()->geometryBoundingBox() );
|
||||
addWellPathsToModel( m_wellPathPipeVizModel.p(), currentActiveCellInfo()->geometryBoundingBox(), ownerCase()->characteristicCellSize() );
|
||||
|
||||
m_wellPathsPartManager->appendStaticFracturePartsToModel( m_wellPathPipeVizModel.p(), currentActiveCellInfo()->geometryBoundingBox() );
|
||||
m_wellPathPipeVizModel->updateBoundingBoxesRecursive();
|
||||
@@ -936,7 +936,9 @@ void RimEclipseView::appendWellsAndFracturesToModel()
|
||||
cvf::ref<cvf::ModelBasicList> wellPathModelBasicList = new cvf::ModelBasicList;
|
||||
wellPathModelBasicList->setName( name );
|
||||
|
||||
addDynamicWellPathsToModel( wellPathModelBasicList.p(), currentActiveCellInfo()->geometryBoundingBox() );
|
||||
addDynamicWellPathsToModel( wellPathModelBasicList.p(),
|
||||
currentActiveCellInfo()->geometryBoundingBox(),
|
||||
ownerCase()->characteristicCellSize() );
|
||||
|
||||
frameScene->addModel( wellPathModelBasicList.p() );
|
||||
}
|
||||
@@ -1599,22 +1601,6 @@ void RimEclipseView::syncronizeWellsWithResults()
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseView::syncronizeLocalAnnotationsFromGlobal()
|
||||
{
|
||||
RimProject* proj = RimProject::current();
|
||||
if ( proj && proj->activeOilField() )
|
||||
{
|
||||
RimAnnotationCollection* annotColl = proj->activeOilField()->annotationCollection();
|
||||
if ( annotColl && annotationCollection() )
|
||||
{
|
||||
annotationCollection()->onGlobalCollectionChanged( annotColl );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -2059,22 +2045,6 @@ void RimEclipseView::setCurrentCellResultData( const std::vector<double>& values
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseView::onResetLegendsInViewer()
|
||||
{
|
||||
for ( auto legendConfig : legendConfigs() )
|
||||
{
|
||||
if ( legendConfig )
|
||||
{
|
||||
legendConfig->recreateLegend();
|
||||
}
|
||||
}
|
||||
|
||||
nativeOrOverrideViewer()->removeAllColorLegends();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user