mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support linking of 2D intersection views
* Major refactor from RimGridView to Rim3dView * Move view linker/controller functions to Rim3dView * Add bitmask to define the content of a 3D view * Link views based on matching content * Enable bit mask operators at global scope * Make it possible to use 2d intersection views as comparison views * Fix crash when a view used as comparison view is deleted * Move unlinking to Rim3dView * Add options to snapshot only 3D views/plots as part of regression testing * WBS plot: Improve default name, hide axis for some tracks
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "RivCellSetEnum.h"
|
||||
|
||||
class RimGridView;
|
||||
class Rim3dView;
|
||||
class RimEclipseView;
|
||||
class RimGeoMechView;
|
||||
class RimViewLinker;
|
||||
@@ -50,10 +51,10 @@ public:
|
||||
|
||||
bool isActive() const;
|
||||
|
||||
RimGridView* managedView() const;
|
||||
void setManagedView( RimGridView* view );
|
||||
Rim3dView* managedView() const;
|
||||
void setManagedView( Rim3dView* view );
|
||||
|
||||
RimGridView* masterView() const;
|
||||
Rim3dView* masterView() const;
|
||||
RimViewLinker* ownerViewLinker() const;
|
||||
|
||||
const RigCaseToCaseCellMapper* cellMapper();
|
||||
@@ -109,8 +110,8 @@ private:
|
||||
static bool askUserToRestoreOriginalCellFilterCollection( const QString& viewName );
|
||||
|
||||
private:
|
||||
caf::PdmField<QString> m_name;
|
||||
caf::PdmPtrField<RimGridView*> m_managedView;
|
||||
caf::PdmField<QString> m_name;
|
||||
caf::PdmPtrField<Rim3dView*> m_managedView;
|
||||
|
||||
caf::PdmField<bool> m_isActive;
|
||||
caf::PdmField<bool> m_syncCamera;
|
||||
|
||||
Reference in New Issue
Block a user