mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Polygonfilter updates2 (#7286)
* Make sure all contourmap copies are getting the correct case set for cell filters when creating/copying maps. * Rewrite polyline part manager to be more generic, not just linked to annotations. * Add new partmgr for cell filters to draw polygon filter outlines in both eclipse and geomech views * Show lines/spheres for polygon filter outline * Add color edit for line and spheres * Add support for z plane lock in poygon filter outline * Add new flags for enabling filter and/or polyline display * Add K range filter to polygon filter * Enable picking automatically when creating a new polygon filter
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "RimGeoMechView.h"
|
||||
#include "RimRegularLegendConfig.h"
|
||||
|
||||
#include "RimCellFilterCollection.h"
|
||||
#include "RimFaultInViewCollection.h"
|
||||
#include "RimSimWellInViewCollection.h"
|
||||
#include "RimSurfaceInViewCollection.h"
|
||||
@@ -127,6 +128,7 @@ void RicNewContourMapViewFeature::onActionTriggered( bool isChecked )
|
||||
if ( eclipseCase )
|
||||
{
|
||||
eclipseCase->updateConnectedEditors();
|
||||
eclipseContourMap->cellFilterCollection()->setCase( eclipseCase );
|
||||
}
|
||||
caf::SelectionManager::instance()->setSelectedItem( eclipseContourMap );
|
||||
|
||||
@@ -145,6 +147,7 @@ void RicNewContourMapViewFeature::onActionTriggered( bool isChecked )
|
||||
if ( geoMechCase )
|
||||
{
|
||||
geoMechCase->updateConnectedEditors();
|
||||
eclipseContourMap->cellFilterCollection()->setCase( geoMechCase );
|
||||
caf::SelectionManager::instance()->setSelectedItem( geoMechContourMap );
|
||||
geoMechContourMap->createDisplayModelAndRedraw();
|
||||
geoMechContourMap->zoomAll();
|
||||
|
||||
Reference in New Issue
Block a user