#1038 - pre-proto - Added command feature for creating new well log collection fracture from context menu in project tree

This commit is contained in:
astridkbjorke
2016-12-20 09:53:19 +01:00
parent 456bc03483
commit ab6e12eb3a
14 changed files with 226 additions and 62 deletions

View File

@@ -23,6 +23,7 @@
#include "RimIntersectionCollection.h"
#include "RimEclipseView.h"
#include "RimEclipseWellCollection.h"
#include "RimFractureCollection.h"
#include "cvfMath.h"
@@ -48,13 +49,17 @@ RimEclipseWell::RimEclipseWell()
CAF_PDM_InitField(&showWellCells, "ShowWellCells", true, "Add cells to range filter", "", "", "");
CAF_PDM_InitField(&showWellCellFence, "ShowWellCellFence", false, "Use well fence", "", "", "");
CAF_PDM_InitFieldNoDefault(&fractureCollection, "FractureCollection", "Fractures", "", "", "");
name.uiCapability()->setUiHidden(true);
name.uiCapability()->setUiReadOnly(true);
fractureCollection.uiCapability()->setUiHidden(true);
m_resultWellIndex = cvf::UNDEFINED_SIZE_T;
m_reservoirView = NULL;
fractureCollection = new RimFractureCollection();
}
//--------------------------------------------------------------------------------------------------
@@ -62,6 +67,7 @@ RimEclipseWell::RimEclipseWell()
//--------------------------------------------------------------------------------------------------
RimEclipseWell::~RimEclipseWell()
{
if (fractureCollection()) delete fractureCollection();
}
//--------------------------------------------------------------------------------------------------