Cleanup well path creation and duplication menu and functionality.

Changes:
- Allow duplication of only modeled well paths.
- Allow creating modeled well path from file-backed well paths.
This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2025-03-17 18:02:56 +01:00
1 parent 549c07b22d
commit 70fe005d8a
5 files changed
+112 -18

No files matched your search

@@ -77,6 +77,7 @@ public:
const RimWellPathTarget* firstActiveTarget() const;
const RimWellPathTarget* lastActiveTarget() const;
std::vector<RimWellPathTarget*> activeWellTargets() const;
std::vector<RimWellPathTarget*> activeWellTargets( bool useAutoGeneratedTargetAtSeaLevel ) const;
void enableTargetPointPicking( bool isEnabling );
void updateWellPathVisualization( bool fullUpdate );
@@ -93,7 +94,6 @@ public:
double wellTargetScalingFactor() const;
protected:
std::vector<RimWellPathTarget*> activeWellTargets( bool useAutoGeneratedTargetAtSeaLevel ) const;
cvf::ref<RigWellPath> createWellPathGeometry( bool useAutoGeneratedTargetAtSeaLevel, double offsetMd, bool updateTargets ) const;
void defineCustomContextMenu( const caf::PdmFieldHandle* fieldNeedingMenu, QMenu* menu, QWidget* fieldEditorWidget ) override;