(#435) WIP - Reading metadata from LAS files

This commit is contained in:
Pål Hagen
2015-09-14 16:33:28 +02:00
parent 671506f7cc
commit 095d974e38
17 changed files with 519 additions and 4 deletions

View File

@@ -23,6 +23,7 @@
#include "cafPdmField.h"
#include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmChildField.h"
#include "cafAppEnum.h"
// Include to make Pdm work for cvf::Color
@@ -33,6 +34,7 @@
class RimProject;
class RivWellPathPartMgr;
class RimWellPathCollection;
class RimWellLasFileInfo;
//==================================================================================================
///
@@ -48,6 +50,7 @@ public:
void setProject(RimProject* project) { m_project = project; }
void setCollection(RimWellPathCollection* collection) { m_wellPathCollection = collection; }
void setLogFileInfo(RimWellLasFileInfo* logFileInfo);
virtual caf::PdmFieldHandle* userDescriptionField();
virtual caf::PdmFieldHandle* objectToggleField();
@@ -65,10 +68,13 @@ public:
caf::PdmField<cvf::Color3f> wellPathColor;
caf::PdmField<double> wellPathRadiusScaleFactor;
caf::PdmChildField<RimWellLasFileInfo*> m_lasFileInfo;
RigWellPath* wellPathGeometry() { return m_wellPath.p(); }
RivWellPathPartMgr* partMgr();
void readWellPathFile();
static RimWellLasFileInfo* readWellLogFile(const QString& logFilePath);
void updateFilePathsFromProjectPath();
@@ -99,5 +105,5 @@ private:
cvf::ref<RigWellPath> m_wellPath;
cvf::ref<RivWellPathPartMgr> m_wellPathPartMgr;
caf::PdmPointer<RimWellPathCollection> m_wellPathCollection;
RimProject* m_project;
RimProject* m_project;
};