Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
2014-09-23 08:04:57 -05:00
|
|
|
// Copyright (C) 2011- Statoil ASA
|
|
|
|
// Copyright (C) 2013- Ceetron Solutions AS
|
|
|
|
// Copyright (C) 2011-2012 Ceetron AS
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
//
|
|
|
|
// ResInsight is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-06-13 08:22:12 -05:00
|
|
|
#include "RiaEclipseUnitTools.h"
|
2017-06-07 04:57:25 -05:00
|
|
|
|
2018-10-11 09:03:49 -05:00
|
|
|
#include "RimWellPathComponentInterface.h"
|
2018-03-09 06:15:01 -06:00
|
|
|
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
#include "cafPdmField.h"
|
|
|
|
#include "cafPdmObject.h"
|
|
|
|
#include "cafPdmPointer.h"
|
2015-09-14 09:33:28 -05:00
|
|
|
#include "cafPdmChildField.h"
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
#include "cafAppEnum.h"
|
2014-07-24 03:11:43 -05:00
|
|
|
|
|
|
|
// Include to make Pdm work for cvf::Color
|
|
|
|
#include "cafPdmFieldCvfColor.h"
|
|
|
|
|
2017-05-05 04:21:40 -05:00
|
|
|
#include "cafPdmChildArrayField.h"
|
2017-02-24 07:31:06 -06:00
|
|
|
#include "cvfObject.h"
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
|
2017-10-27 02:11:03 -05:00
|
|
|
#include <functional>
|
|
|
|
|
2017-05-10 05:19:46 -05:00
|
|
|
class RifWellPathImporter;
|
2017-11-24 03:01:05 -06:00
|
|
|
class RifWellPathFormationsImporter;
|
2017-02-24 07:31:06 -06:00
|
|
|
class RigWellPath;
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
class RimProject;
|
2015-09-16 09:06:06 -05:00
|
|
|
class RimWellLogFile;
|
2018-03-07 08:12:27 -06:00
|
|
|
class RimFractureTemplateCollection;
|
2017-05-19 06:47:44 -05:00
|
|
|
class RimFishboneWellPathCollection;
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
|
2017-05-19 08:44:32 -05:00
|
|
|
class RimFishbonesCollection;
|
2017-05-11 06:33:18 -05:00
|
|
|
class RimPerforationCollection;
|
2018-08-06 00:52:02 -05:00
|
|
|
class RimWellPathAttributeCollection;
|
2017-05-19 07:04:01 -05:00
|
|
|
class RimWellPathCompletions;
|
2017-11-24 03:01:05 -06:00
|
|
|
class RigWellPathFormations;
|
2017-05-05 04:21:40 -05:00
|
|
|
|
2017-01-02 04:59:30 -06:00
|
|
|
class RimWellPathFractureCollection;
|
2018-10-11 09:03:49 -05:00
|
|
|
class Rim3dWellLogCurve;
|
2018-03-07 08:12:27 -06:00
|
|
|
class Rim3dWellLogCurveCollection;
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
|
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
2018-10-11 09:03:49 -05:00
|
|
|
class RimWellPath : public caf::PdmObject, public RimWellPathComponentInterface
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
{
|
|
|
|
CAF_PDM_HEADER_INIT;
|
2017-10-11 06:52:29 -05:00
|
|
|
|
2017-10-13 04:18:53 -05:00
|
|
|
static const char SIM_WELL_NONE_UI_TEXT[];
|
2017-10-11 06:52:29 -05:00
|
|
|
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
public:
|
|
|
|
|
|
|
|
RimWellPath();
|
2018-10-18 12:45:57 -05:00
|
|
|
~RimWellPath() override;
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
QString name() const;
|
|
|
|
void setName(const QString& name);
|
|
|
|
|
|
|
|
const QString associatedSimulationWellName() const;
|
|
|
|
int associatedSimulationWellBranch() const;
|
|
|
|
bool tryAssociateWithSimulationWell();
|
|
|
|
bool isAssociatedWithSimulationWell() const;
|
|
|
|
|
2018-06-20 01:55:27 -05:00
|
|
|
virtual void updateFilePathsFromProjectPath(const QString& newProjectPath, const QString& oldProjectPath);
|
2018-06-18 10:13:30 -05:00
|
|
|
|
|
|
|
void setUnitSystem(RiaEclipseUnitTools::UnitSystem unitSystem);
|
|
|
|
RiaEclipseUnitTools::UnitSystem unitSystem() const;
|
|
|
|
|
|
|
|
RigWellPath* wellPathGeometry();
|
|
|
|
const RigWellPath* wellPathGeometry() const;
|
|
|
|
|
2017-10-19 09:12:22 -05:00
|
|
|
void addWellLogFile(RimWellLogFile* logFileInfo);
|
2017-10-25 13:20:12 -05:00
|
|
|
void deleteWellLogFile(RimWellLogFile* logFileInfo);
|
2017-11-18 18:12:39 -06:00
|
|
|
void detachWellLogFile(RimWellLogFile* logFileInfo);
|
2018-06-18 10:13:30 -05:00
|
|
|
std::vector<RimWellLogFile*> wellLogFiles() const;
|
2018-08-22 03:35:30 -05:00
|
|
|
RimWellLogFile* firstWellLogFileMatchingChannelName(const QString& channelName) const;
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
|
2017-11-27 03:33:41 -06:00
|
|
|
void setFormationsGeometry(cvf::ref<RigWellPathFormations> wellPathFormations);
|
2017-11-24 03:01:05 -06:00
|
|
|
bool readWellPathFormationsFile(QString* errorMessage, RifWellPathFormationsImporter* wellPathFormationsImporter);
|
2017-12-06 05:01:15 -06:00
|
|
|
bool reloadWellPathFormationsFile(QString* errorMessage, RifWellPathFormationsImporter* wellPathFormationsImporter);
|
2017-11-27 07:36:19 -06:00
|
|
|
bool hasFormations() const;
|
|
|
|
const RigWellPathFormations* formationsGeometry() const;
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
|
2018-03-07 04:32:24 -06:00
|
|
|
void add3dWellLogCurve(Rim3dWellLogCurve* rim3dWellLogCurve);
|
2018-03-20 05:29:46 -05:00
|
|
|
Rim3dWellLogCurveCollection* rim3dWellLogCurveCollection() const;
|
2018-03-07 04:32:24 -06:00
|
|
|
|
2018-10-10 04:10:56 -05:00
|
|
|
const RimWellPathCompletions* completions() const;
|
|
|
|
RimFishbonesCollection* fishbonesCollection();
|
|
|
|
const RimFishbonesCollection* fishbonesCollection() const;
|
|
|
|
RimPerforationCollection* perforationIntervalCollection();
|
|
|
|
const RimPerforationCollection* perforationIntervalCollection() const;
|
|
|
|
RimWellPathFractureCollection* fractureCollection();
|
|
|
|
const RimWellPathFractureCollection* fractureCollection() const;
|
|
|
|
RimWellPathAttributeCollection* attributeCollection();
|
|
|
|
const RimWellPathAttributeCollection* attributeCollection() const;
|
2015-09-14 09:33:28 -05:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
bool showWellPathLabel() const;
|
|
|
|
bool showWellPath() const;
|
2017-05-22 11:11:03 -05:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
cvf::Color3f wellPathColor() const;
|
|
|
|
void setWellPathColor(const cvf::Color3f& color );
|
2013-10-24 02:50:16 -05:00
|
|
|
|
2017-05-05 04:21:40 -05:00
|
|
|
double combinedScaleFactor() const;
|
2018-06-18 10:13:30 -05:00
|
|
|
double wellPathRadius(double characteristicCellSize) const;
|
|
|
|
double wellPathRadiusScaleFactor() const;
|
2018-10-11 09:03:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
// RimWellPathComponentInterface overrides
|
2018-11-22 05:57:11 -06:00
|
|
|
bool isEnabled() const override;
|
2018-10-11 09:03:49 -05:00
|
|
|
RiaDefines::WellPathComponentType componentType() const override;
|
|
|
|
QString componentLabel() const override;
|
|
|
|
QString componentTypeLabel() const override;
|
|
|
|
cvf::Color3f defaultComponentColor() const override;
|
|
|
|
double startMD() const override;
|
|
|
|
double endMD() const override;
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
protected:
|
2017-06-07 04:57:25 -05:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
// Override PdmObject
|
2017-11-17 08:35:07 -06:00
|
|
|
|
2018-10-18 12:45:57 -05:00
|
|
|
caf::PdmFieldHandle* userDescriptionField() override;
|
|
|
|
caf::PdmFieldHandle* objectToggleField() override;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2018-10-18 12:45:57 -05:00
|
|
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
|
|
|
QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly) override;
|
|
|
|
void initAfterRead() override;
|
|
|
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
|
|
|
void defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName) override;
|
2017-10-11 06:52:29 -05:00
|
|
|
|
2017-02-24 07:31:06 -06:00
|
|
|
void setWellPathGeometry(RigWellPath* wellPathModel);
|
2013-06-18 04:56:51 -05:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
// Fields
|
2018-06-22 08:32:10 -05:00
|
|
|
protected:
|
|
|
|
caf::PdmField<double> m_datumElevation;
|
2018-06-18 10:13:30 -05:00
|
|
|
caf::PdmField<QString> m_name;
|
|
|
|
|
2018-07-04 10:01:40 -05:00
|
|
|
private:
|
2018-06-18 10:13:30 -05:00
|
|
|
caf::PdmField<QString> m_simWellName;
|
|
|
|
caf::PdmField<int> m_branchIndex;
|
|
|
|
|
|
|
|
caf::PdmField<RiaEclipseUnitTools::UnitSystemType> m_unitSystem;
|
2017-10-06 06:24:45 -05:00
|
|
|
|
2017-12-04 08:47:35 -06:00
|
|
|
caf::PdmField<QString> m_wellPathFormationFilePath;
|
2017-11-27 03:33:41 -06:00
|
|
|
caf::PdmField<QString> m_formationKeyInFile;
|
2018-03-07 04:32:24 -06:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
caf::PdmField<bool> m_showWellPath;
|
|
|
|
caf::PdmField<bool> m_showWellPathLabel;
|
|
|
|
|
|
|
|
caf::PdmField<double> m_wellPathRadiusScaleFactor;
|
2018-06-22 08:32:10 -05:00
|
|
|
caf::PdmField<cvf::Color3f> m_wellPathColor;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2018-08-06 00:52:02 -05:00
|
|
|
caf::PdmChildArrayField<RimWellLogFile*> m_wellLogFiles;
|
|
|
|
caf::PdmChildField<Rim3dWellLogCurveCollection*> m_3dWellLogCurves;
|
|
|
|
caf::PdmChildField<RimWellPathCompletions*> m_completions;
|
|
|
|
caf::PdmChildField<RimWellPathAttributeCollection*> m_wellPathAttributes;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2018-06-22 08:32:10 -05:00
|
|
|
private:
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2018-06-22 08:32:10 -05:00
|
|
|
static size_t simulationWellBranchCount(const QString& simWellName);
|
|
|
|
|
|
|
|
private:
|
|
|
|
// Geometry and data
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2018-06-20 01:55:27 -05:00
|
|
|
cvf::ref<RigWellPath> m_wellPath;
|
2018-06-22 08:32:10 -05:00
|
|
|
cvf::ref<RigWellPathFormations> m_wellPathFormations;
|
2018-06-20 01:55:27 -05:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
// Obsolete fields
|
2017-10-19 09:12:22 -05:00
|
|
|
|
|
|
|
caf::PdmChildField<RimWellLogFile*> m_wellLogFile_OBSOLETE;
|
Added visualization of Well Paths in reservoir views.
Added PDM objects for a list of well paths (RimWellPathCollection) and for individual well paths (RimWellPath).
RimWellPathCollection uses RivWellPathCollectionPartMgr to generate visualization parts for each well path in the collection.
RimWellPath handles geometry defined in RigWellPath, and RivWellPathPartMgr is used to generate visualization parts. The well path visualization parts are generated by reusing RivPipeGeometryGenerator (also used for well pipes).
Added features:
- Select Open Well Paths in File menu to open one or more well path files, file format supported is Statoil JSON format.
- Each well path has a label showing the name, and the PDM window will show additional info (Id, Source System, UTM Zone, Update Date and User, Survey Type, File Path).
- Possible to turn on / off visibility, set thickness, set color for individual well paths.
- List of well paths including specified parameters/settings will be stored in project file.
- Possible to clip all well paths at a specified distance to the reservoir as this is the relevant area to see, and if showing whole well path it may be problematic for auto zoom etc.
p4#: 21651
2013-05-16 05:59:35 -05:00
|
|
|
};
|