(#404) Using well path pointer instead of index for source info for picking

This commit is contained in:
Pål Hagen
2015-09-07 16:17:40 +02:00
parent 98efbf863f
commit 6eaef49996
6 changed files with 25 additions and 26 deletions

View File

@@ -21,6 +21,9 @@
#include "cvfBase.h"
#include "cvfObject.h"
#include "cafPdmPointer.h"
class RimWellPath;
//==================================================================================================
///
@@ -29,10 +32,10 @@
class RivWellPathSourceInfo : public cvf::Object
{
public:
RivWellPathSourceInfo(size_t wellPathIndex);
RivWellPathSourceInfo(RimWellPath* wellPath);
size_t wellPathIndex() const;
RimWellPath* wellPath() const;
private:
size_t m_wellPathIndex;
caf::PdmPointer<RimWellPath> m_wellPath;
};