AppFwk: Make PdmUiSelection3dEditorVisualizer generic, ready to be moved to a separate file

This commit is contained in:
Jacob Støren
2018-11-26 21:50:46 +01:00
parent 9297c5888c
commit fb93ad7ca7
7 changed files with 84 additions and 27 deletions

View File

@@ -38,6 +38,7 @@
#include "cafPdmUiTableViewEditor.h"
#include "cafPdmUiTreeOrdering.h"
#include "cvfGeometryTools.h"
#include "WellPathCommands/PointTangentManipulator/RicPointTangentManipulator.h"
namespace caf
@@ -64,6 +65,7 @@ RimWellPathGeometryDef::RimWellPathGeometryDef()
{
CAF_PDM_InitObject("Well Targets", ":/WellTargets.png", "", "");
this->setUi3dEditorTypeName(RicWellPathGeometry3dEditor::uiEditorTypeName());
CAF_PDM_InitField(&m_referencePointUtmXyd, "ReferencePosUtmXyd", cvf::Vec3d(0,0,0), "UTM Reference Point", "", "", "");
CAF_PDM_InitField(&m_mdrkbAtFirstTarget, "MdrkbAtFirstTarget", 0.0, "MDRKB at First Target", "", "", "");