mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactored addition of well path models
Well path models can now be added to geo mech models. Moved code that adds well path models to a scene from RimEclipseView to RimView::addWellPathsToScene(). This new function is now used by both RimEclipseView and RimGeoMechView. Made sure that it is not needed to load a result before well paths appear. TODO: Compute characteristic hex element size for geo mech models.
This commit is contained in:
@@ -32,6 +32,8 @@ class RimCellRangeFilterCollection;
|
||||
|
||||
namespace cvf
|
||||
{
|
||||
class BoundingBox;
|
||||
class Scene;
|
||||
class Transform;
|
||||
}
|
||||
|
||||
@@ -108,6 +110,7 @@ public:
|
||||
protected:
|
||||
|
||||
void setDefaultView();
|
||||
void addWellPathsToScene(cvf::Scene* scene, const cvf::Vec3d& displayModelOffset, double characteristicCellSize, const cvf::BoundingBox& boundingBox, cvf::Transform* scaleTransform);
|
||||
|
||||
virtual void createDisplayModel() = 0;
|
||||
virtual void updateDisplayModelVisibility() = 0;
|
||||
|
||||
Reference in New Issue
Block a user