Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
WellboreTrajectoryRepresentation.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "../resqml2/WellboreTrajectoryRepresentation.h"
22
23namespace RESQML2_0_1_NS
24{
26 class WellboreTrajectoryRepresentation final : public RESQML2_NS::WellboreTrajectoryRepresentation
27 {
28 private:
29
35 gsoap_resqml2_0_1::_resqml20__WellboreTrajectoryRepresentation* getSpecializedGsoapProxy() const;
36
37 public:
38
44 DLL_IMPORT_OR_EXPORT WellboreTrajectoryRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::WellboreTrajectoryRepresentation(partialObject) {}
45
60 WellboreTrajectoryRepresentation(RESQML2_NS::WellboreInterpretation* interp, const std::string& guid, const std::string& title, RESQML2_NS::MdDatum* mdInfo);
61
75 WellboreTrajectoryRepresentation(RESQML2_NS::WellboreInterpretation* interp, const std::string& guid, const std::string& title, DeviationSurveyRepresentation* deviationSurvey);
76
82 WellboreTrajectoryRepresentation(gsoap_resqml2_0_1::_resqml20__WellboreTrajectoryRepresentation* fromGsoap) : RESQML2_NS::WellboreTrajectoryRepresentation(fromGsoap) {}
83
86
87 DLL_IMPORT_OR_EXPORT void setMinimalGeometry(double startMd, double endMd) final;
88
89 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints,
90 double startMd, double endMd,
91 uint64_t controlPointCount, int lineKind, EML2_NS::AbstractHdfProxy* proxy = nullptr,
92 EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
93
94 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints, double const* controlPointParameters, uint64_t controlPointCount, int lineKind,
95 EML2_NS::AbstractHdfProxy* proxy = nullptr, EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
96
97 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints,
98 double const* tangentVectors, double const* controlPointParameters, uint64_t controlPointCount, int lineKind,
99 EML2_NS::AbstractHdfProxy* proxy = nullptr, EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
100
101 DLL_IMPORT_OR_EXPORT int getGeometryKind() const final;
102
103 DLL_IMPORT_OR_EXPORT void setMdDatum(RESQML2_NS::MdDatum * mdDatum) final;
104
105 DLL_IMPORT_OR_EXPORT COMMON_NS::DataObjectReference getMdDatumDor() const final;
106
107 DLL_IMPORT_OR_EXPORT uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final;
108
117 DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
118
119 DLL_IMPORT_OR_EXPORT bool hasMdValues() const final;
120
121 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::eml20__LengthUom getMdUom() const final;
122
123 DLL_IMPORT_OR_EXPORT void getMdValues(double* values) const final;
124
125 DLL_IMPORT_OR_EXPORT double getStartMd() const final;
126
127 DLL_IMPORT_OR_EXPORT double getFinishMd() const final;
128
129 DLL_IMPORT_OR_EXPORT bool hasTangentVectors() const final;
130
131 DLL_IMPORT_OR_EXPORT void getTangentVectors(double* tangentVectors) final;
132
133 DLL_IMPORT_OR_EXPORT void addParentTrajectory(double kickoffMd, double parentMd, RESQML2_NS::WellboreTrajectoryRepresentation* parentTrajRep) final;
134
135 DLL_IMPORT_OR_EXPORT COMMON_NS::DataObjectReference getParentTrajectoryDor() const final;
136
137 DLL_IMPORT_OR_EXPORT double getParentTrajectoryMd() const final;
138
139 //*****************
140 //***** SURVEY ****
141 //*****************
142
150 DLL_IMPORT_OR_EXPORT void setDeviationSurvey(DeviationSurveyRepresentation* deviationSurvey);
151
158 DLL_IMPORT_OR_EXPORT DeviationSurveyRepresentation* getDeviationSurvey() const;
159
166 COMMON_NS::DataObjectReference getDeviationSurveyDor() const;
167
168 COMMON_NS::DataObjectReference getLocalCrsDor(uint64_t patchIndex) const final;
169
170 COMMON_NS::DataObjectReference getHdfProxyDor() const final;
171
172 DLL_IMPORT_OR_EXPORT bool hasGeometry() const final;
173
177 DLL_IMPORT_OR_EXPORT static const char* XML_NS;
178
182 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
183
184 private:
185
186 void loadTargetRelationships() final;
187 };
188}
A deviation survey representation. It Specifies the station data from a deviation survey.
Definition DeviationSurveyRepresentation.h:41
Definition MdDatum.h:27
Definition WellboreTrajectoryRepresentation.h:27
WellboreTrajectoryRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition WellboreTrajectoryRepresentation.h:44
WellboreTrajectoryRepresentation(resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::MdDatum *mdInfo)
void setGeometry(double const *controlPoints, double startMd, double endMd, uint64_t controlPointCount, int lineKind, eml2::AbstractHdfProxy *proxy=nullptr, eml2::AbstractLocal3dCrs *localCrs=nullptr) final
WellboreTrajectoryRepresentation(gsoap_resqml2_0_1::_resqml20__WellboreTrajectoryRepresentation *fromGsoap)
Definition WellboreTrajectoryRepresentation.h:82
WellboreTrajectoryRepresentation(resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, DeviationSurveyRepresentation *deviationSurvey)
void setMinimalGeometry(double startMd, double endMd) final