mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Polygon filter updates (#7216)
* Rename polylinefilter to polygonfilter * Update icon name, too * Some GUI adjustments * Remove obsolete code that came back in a merge somewhere. Disable auto-enable polygon filter after picking corner points. * Add option to delete a point in polygon filter point editor by extending generic picker interface * Rename enum, too. * Improved filter naming Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include "RimGeoMechPropertyFilterCollection.h"
|
||||
#include "RimGeoMechView.h"
|
||||
#include "RimIntersectionCollection.h"
|
||||
#include "RimPolylineFilter.h"
|
||||
#include "RimPolygonFilter.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimViewLinker.h"
|
||||
#include "RimViewLinkerCollection.h"
|
||||
@@ -1032,7 +1032,7 @@ void RimViewController::updateCellFilterOverrides( const RimCellFilter* changedF
|
||||
continue;
|
||||
}
|
||||
|
||||
RimPolylineFilter* polyDstFilter = dynamic_cast<RimPolylineFilter*>( dstFilters[rfIdx] );
|
||||
RimPolygonFilter* polyDstFilter = dynamic_cast<RimPolygonFilter*>( dstFilters[rfIdx] );
|
||||
if ( polyDstFilter != nullptr )
|
||||
{
|
||||
RimGeoMechCase* gCase = depGeomView->geoMechCase();
|
||||
@@ -1063,7 +1063,7 @@ void RimViewController::updateCellFilterOverrides( const RimCellFilter* changedF
|
||||
continue;
|
||||
}
|
||||
|
||||
RimPolylineFilter* polyDstFilter = dynamic_cast<RimPolylineFilter*>( dstFilters[rfIdx] );
|
||||
RimPolygonFilter* polyDstFilter = dynamic_cast<RimPolygonFilter*>( dstFilters[rfIdx] );
|
||||
if ( polyDstFilter != nullptr )
|
||||
{
|
||||
RimEclipseCase* eCase = depEclView->eclipseCase();
|
||||
@@ -1079,7 +1079,7 @@ void RimViewController::updateCellFilterOverrides( const RimCellFilter* changedF
|
||||
{
|
||||
overrideFilterColl->connectToFilterUpdates( dstFilters[rfIdx] );
|
||||
|
||||
RimPolylineFilter* polyDstFilter = dynamic_cast<RimPolylineFilter*>( dstFilters[rfIdx] );
|
||||
RimPolygonFilter* polyDstFilter = dynamic_cast<RimPolygonFilter*>( dstFilters[rfIdx] );
|
||||
if ( polyDstFilter != nullptr )
|
||||
{
|
||||
RimCase* theCase = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user