mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#678) Show context menu commands on intersection
Added hide intersection
This commit is contained in:
@@ -18,19 +18,22 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
|
||||
class RiuViewer;
|
||||
class RimView;
|
||||
class RimEclipseView;
|
||||
class RimGeoMechView;
|
||||
|
||||
class QMouseEvent;
|
||||
|
||||
#include "cvfStructGrid.h"
|
||||
#include "cafPdmPointer.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QPointer>
|
||||
|
||||
class RimCrossSection;
|
||||
class RimEclipseView;
|
||||
class RimGeoMechView;
|
||||
class RimView;
|
||||
class RiuViewer;
|
||||
class RivCrossSectionSourceInfo;
|
||||
|
||||
class QMouseEvent;
|
||||
|
||||
namespace cvf {
|
||||
class HitItemCollection;
|
||||
class Part;
|
||||
@@ -49,6 +52,8 @@ public:
|
||||
void displayContextMenu(QMouseEvent* event);
|
||||
void handlePickAction(int winPosX, int winPosY, Qt::KeyboardModifiers keyboardModifiers);
|
||||
|
||||
void findCellAndGridIndex(const RivCrossSectionSourceInfo* crossSectionSourceInfo, cvf::uint firstPartTriangleIndex, size_t* cellIndex, size_t* gridIndex);
|
||||
|
||||
|
||||
private slots:
|
||||
void slotRangeFilterI();
|
||||
@@ -57,6 +62,7 @@ private slots:
|
||||
void slotHideFault();
|
||||
void slotAddEclipsePropertyFilter();
|
||||
void slotAddGeoMechPropertyFilter();
|
||||
void slotHideIntersection();
|
||||
|
||||
private:
|
||||
void ijkFromCellIndex(size_t gridIdx, size_t cellIndex, size_t* i, size_t* j, size_t* k);
|
||||
@@ -69,6 +75,7 @@ private:
|
||||
cvf::StructGridInterface::FaceType m_currentFaceIndex;
|
||||
|
||||
caf::PdmPointer<RimView> m_reservoirView;
|
||||
caf::PdmPointer<RimCrossSection> m_currentCrossSection;
|
||||
|
||||
QPointer<RiuViewer> m_viewer;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user