#2162 Context menu: Move geomech new property filter to new feature

This commit is contained in:
Rebecca Cox
2017-11-29 16:25:54 +01:00
parent 89feb04b31
commit b9ff4b743b
5 changed files with 122 additions and 30 deletions

View File

@@ -53,15 +53,12 @@ public:
explicit RiuViewerCommands(RiuViewer* ownerViewer);
~RiuViewerCommands();
void setOwnerView(RimView * owner);
void setOwnerView(RimView * owner);
void displayContextMenu(QMouseEvent* event);
void handlePickAction(int winPosX, int winPosY, Qt::KeyboardModifiers keyboardModifiers);
cvf::Vec3d lastPickPositionInDomainCoords() const;
private slots:
void slotAddGeoMechPropertyFilter();
private:
void findCellAndGridIndex(const RivIntersectionSourceInfo* crossSectionSourceInfo, cvf::uint firstPartTriangleIndex, size_t* cellIndex, size_t* gridIndex);
void findCellAndGridIndex(const RivIntersectionBoxSourceInfo* intersectionBoxSourceInfo, cvf::uint firstPartTriangleIndex, size_t* cellIndex, size_t* gridIndex);