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
|
2019-09-06 03:40:57 -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
|
|
|
// 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.
|
2019-09-06 03:40:57 -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
|
|
|
// 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.
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
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
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-01-21 05:58:46 -06:00
|
|
|
#include "RiaDefines.h"
|
2017-06-07 04:57:25 -05:00
|
|
|
|
2020-10-06 08:00:39 -05:00
|
|
|
#include "RimWellPathComponentInterface.h"
|
2018-03-09 06:15:01 -06:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
#include "cafAppEnum.h"
|
2019-12-11 01:23:37 -06:00
|
|
|
#include "cafFilePath.h"
|
2019-09-06 03:40:57 -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 "cafPdmField.h"
|
2020-10-06 08:00:39 -05:00
|
|
|
#include "cafPdmObject.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 "cafPdmPointer.h"
|
2020-02-06 09:18:50 -06:00
|
|
|
#include "cafPdmProxyValueField.h"
|
2014-07-24 03:11:43 -05:00
|
|
|
|
|
|
|
// Include to make Pdm work for cvf::Color
|
2019-09-06 03:40:57 -05:00
|
|
|
#include "cafPdmFieldCvfColor.h"
|
2014-07-24 03:11:43 -05:00
|
|
|
|
2017-05-05 04:21:40 -05:00
|
|
|
#include "cafPdmChildArrayField.h"
|
2019-09-06 03:40:57 -05: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;
|
2020-10-06 08:00:39 -05:00
|
|
|
class RigWellPath;
|
|
|
|
class RigWellPathFormations;
|
|
|
|
|
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;
|
2020-11-04 06:46:17 -06:00
|
|
|
class RimStimPlanModelCollection;
|
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;
|
2021-02-26 07:27:59 -06:00
|
|
|
class RimWellPathCompletionSettings;
|
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;
|
2021-04-13 00:22:56 -05:00
|
|
|
class RimWellPathTieIn;
|
2021-04-20 08:35:20 -05:00
|
|
|
class RimMswCompletionParameters;
|
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
|
|
|
|
|
|
|
//==================================================================================================
|
2019-09-06 03:40:57 -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
|
|
|
//==================================================================================================
|
2020-10-06 08:00:39 -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
|
|
|
|
2020-10-20 06:01:46 -05:00
|
|
|
public:
|
|
|
|
caf::Signal<> nameChanged;
|
|
|
|
|
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
|
|
|
|
2021-02-26 07:27:59 -06:00
|
|
|
virtual QString name() const;
|
|
|
|
void setName( const QString& name );
|
|
|
|
void setNameNoUpdateOfExportName( const QString& name );
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
const QString associatedSimulationWellName() const;
|
|
|
|
int associatedSimulationWellBranch() const;
|
|
|
|
bool tryAssociateWithSimulationWell();
|
|
|
|
bool isAssociatedWithSimulationWell() const;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
virtual void updateFilePathsFromProjectPath( const QString& newProjectPath, const QString& oldProjectPath );
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2021-01-21 05:58:46 -06:00
|
|
|
void setUnitSystem( RiaDefines::EclipseUnitSystem unitSystem );
|
|
|
|
RiaDefines::EclipseUnitSystem unitSystem() const;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2020-02-06 09:18:50 -06:00
|
|
|
double airGap() const;
|
|
|
|
double datumElevation() const;
|
|
|
|
|
2020-10-06 08:00:39 -05:00
|
|
|
RigWellPath* wellPathGeometry();
|
|
|
|
const RigWellPath* wellPathGeometry() const;
|
2020-10-09 01:38:18 -05:00
|
|
|
void setWellPathGeometry( RigWellPath* wellPathModel );
|
2020-10-06 08:00:39 -05:00
|
|
|
|
|
|
|
double startMD() const override;
|
|
|
|
double endMD() const override;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2021-01-04 04:09:01 -06:00
|
|
|
double uniqueStartMD() const;
|
|
|
|
double uniqueEndMD() const;
|
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
void addWellLogFile( RimWellLogFile* logFileInfo );
|
|
|
|
void deleteWellLogFile( RimWellLogFile* logFileInfo );
|
|
|
|
void detachWellLogFile( RimWellLogFile* logFileInfo );
|
|
|
|
std::vector<RimWellLogFile*> wellLogFiles() const;
|
|
|
|
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
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
void setFormationsGeometry( cvf::ref<RigWellPathFormations> wellPathFormations );
|
|
|
|
bool readWellPathFormationsFile( QString* errorMessage, RifWellPathFormationsImporter* wellPathFormationsImporter );
|
|
|
|
bool reloadWellPathFormationsFile( QString* errorMessage, RifWellPathFormationsImporter* wellPathFormationsImporter );
|
|
|
|
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
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
void add3dWellLogCurve( Rim3dWellLogCurve* rim3dWellLogCurve );
|
|
|
|
Rim3dWellLogCurveCollection* rim3dWellLogCurveCollection() const;
|
2018-03-07 04:32:24 -06:00
|
|
|
|
2021-02-26 07:27:59 -06:00
|
|
|
std::vector<const RimWellPathComponentInterface*> allCompletionsRecursively() const;
|
|
|
|
const RimWellPathCompletions* completions() const;
|
|
|
|
const RimWellPathCompletionSettings* completionSettings() const;
|
|
|
|
RimWellPathCompletionSettings* completionSettings();
|
2021-04-20 08:35:20 -05:00
|
|
|
RimMswCompletionParameters* mswCompletionParameters();
|
|
|
|
const RimMswCompletionParameters* mswCompletionParameters() const;
|
2021-02-26 07:27:59 -06:00
|
|
|
|
2018-10-10 04:10:56 -05:00
|
|
|
RimFishbonesCollection* fishbonesCollection();
|
|
|
|
const RimFishbonesCollection* fishbonesCollection() const;
|
|
|
|
RimPerforationCollection* perforationIntervalCollection();
|
|
|
|
const RimPerforationCollection* perforationIntervalCollection() const;
|
|
|
|
RimWellPathFractureCollection* fractureCollection();
|
|
|
|
const RimWellPathFractureCollection* fractureCollection() const;
|
2020-11-04 06:46:17 -06:00
|
|
|
RimStimPlanModelCollection* stimPlanModelCollection();
|
|
|
|
const RimStimPlanModelCollection* stimPlanModelCollection() const;
|
2018-10-10 04:10:56 -05:00
|
|
|
RimWellPathAttributeCollection* attributeCollection();
|
|
|
|
const RimWellPathAttributeCollection* attributeCollection() const;
|
2015-09-14 09:33:28 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
bool showWellPathLabel() const;
|
|
|
|
bool showWellPath() const;
|
2017-05-22 11:11:03 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
cvf::Color3f wellPathColor() const;
|
|
|
|
void setWellPathColor( const cvf::Color3f& color );
|
2013-10-24 02:50:16 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
double combinedScaleFactor() const;
|
|
|
|
double wellPathRadius( double characteristicCellSize ) const;
|
|
|
|
double wellPathRadiusScaleFactor() const;
|
2018-10-11 09:03:49 -05:00
|
|
|
|
|
|
|
// RimWellPathComponentInterface overrides
|
2019-09-06 03:40:57 -05:00
|
|
|
bool isEnabled() const override;
|
|
|
|
RiaDefines::WellPathComponentType componentType() const override;
|
|
|
|
QString componentLabel() const override;
|
|
|
|
QString componentTypeLabel() const override;
|
|
|
|
cvf::Color3f defaultComponentColor() 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
|
|
|
|
2020-05-18 09:02:27 -05:00
|
|
|
void onChildDeleted( caf::PdmChildArrayFieldHandle* childArray,
|
|
|
|
std::vector<caf::PdmObjectHandle*>& referringObjects ) override;
|
|
|
|
|
2021-04-13 00:22:56 -05:00
|
|
|
bool isTopLevelWellPath() const;
|
|
|
|
bool isMultiLateralWellPath() const;
|
|
|
|
RimWellPath* topLevelWellPath();
|
|
|
|
const RimWellPath* topLevelWellPath() const;
|
2021-05-27 04:44:26 -05:00
|
|
|
std::vector<RimWellPath*> allWellPathLaterals() const;
|
2021-04-13 00:22:56 -05:00
|
|
|
|
|
|
|
RimWellPathTieIn* wellPathTieIn() const;
|
|
|
|
void connectWellPaths( RimWellPath* childWell, double tieInMeasuredDepth );
|
2021-02-26 07:27:59 -06:00
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
protected:
|
|
|
|
// Override PdmObject
|
2017-11-17 08:35:07 -06:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
caf::PdmFieldHandle* userDescriptionField() override;
|
|
|
|
caf::PdmFieldHandle* objectToggleField() override;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2020-02-12 04:43:15 -06:00
|
|
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
2019-09-06 03:40:57 -05:00
|
|
|
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
|
|
|
bool* useOptionsOnly ) override;
|
2021-02-26 07:27:59 -06:00
|
|
|
void initAfterRead() override;
|
2019-09-06 03:40:57 -05:00
|
|
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
|
|
|
void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName ) override;
|
2021-05-10 08:12:29 -05:00
|
|
|
void defineObjectEditorAttribute( QString uiConfigName, caf::PdmUiEditorAttribute* attribute ) override;
|
2017-10-11 06:52:29 -05:00
|
|
|
|
2021-02-26 07:27:59 -06:00
|
|
|
static void copyCompletionSettings( RimWellPath* from, RimWellPath* to );
|
|
|
|
|
2018-06-18 10:13:30 -05:00
|
|
|
// Fields
|
2018-06-22 08:32:10 -05:00
|
|
|
protected:
|
2020-02-06 09:18:50 -06:00
|
|
|
caf::PdmProxyValueField<double> m_airGap;
|
|
|
|
caf::PdmProxyValueField<double> m_datumElevation;
|
|
|
|
caf::PdmField<QString> m_name;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2018-07-04 10:01:40 -05:00
|
|
|
private:
|
2019-09-06 03:40:57 -05:00
|
|
|
caf::PdmField<QString> m_simWellName;
|
|
|
|
caf::PdmField<int> m_branchIndex;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2021-01-21 05:58:46 -06:00
|
|
|
caf::PdmField<caf::AppEnum<RiaDefines::EclipseUnitSystem>> m_unitSystem;
|
2019-09-06 03:40:57 -05:00
|
|
|
|
2019-12-11 01:23:37 -06:00
|
|
|
caf::PdmField<caf::FilePath> m_wellPathFormationFilePath;
|
|
|
|
caf::PdmField<QString> m_formationKeyInFile;
|
2019-09-06 03:40:57 -05:00
|
|
|
|
|
|
|
caf::PdmField<bool> m_showWellPath;
|
|
|
|
caf::PdmField<bool> m_showWellPathLabel;
|
|
|
|
|
|
|
|
caf::PdmField<double> m_wellPathRadiusScaleFactor;
|
|
|
|
caf::PdmField<cvf::Color3f> m_wellPathColor;
|
|
|
|
|
2018-08-06 00:52:02 -05:00
|
|
|
caf::PdmChildArrayField<RimWellLogFile*> m_wellLogFiles;
|
|
|
|
caf::PdmChildField<Rim3dWellLogCurveCollection*> m_3dWellLogCurves;
|
2021-02-26 07:27:59 -06:00
|
|
|
caf::PdmChildField<RimWellPathCompletionSettings*> m_completionSettings;
|
2018-08-06 00:52:02 -05:00
|
|
|
caf::PdmChildField<RimWellPathCompletions*> m_completions;
|
|
|
|
caf::PdmChildField<RimWellPathAttributeCollection*> m_wellPathAttributes;
|
2018-06-18 10:13:30 -05:00
|
|
|
|
2021-04-13 00:22:56 -05:00
|
|
|
caf::PdmChildField<RimWellPathTieIn*> m_wellPathTieIn;
|
|
|
|
|
2018-06-22 08:32:10 -05:00
|
|
|
private:
|
2019-09-06 03:40:57 -05:00
|
|
|
static size_t simulationWellBranchCount( const QString& simWellName );
|
2021-05-27 04:44:26 -05:00
|
|
|
void wellPathLateralsRecursively( std::vector<RimWellPath*>& wellPathLaterals ) const;
|
2018-06-22 08:32:10 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
// Geometry and data
|
2020-10-06 05:37:16 -05:00
|
|
|
cvf::ref<RigWellPath> m_wellPathGeometry;
|
2019-09-06 03:40:57 -05:00
|
|
|
cvf::ref<RigWellPathFormations> m_wellPathFormations;
|
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
|
|
|
};
|