Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
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_2_NS
24{
26 class WellboreTrajectoryRepresentation final : public RESQML2_NS::WellboreTrajectoryRepresentation
27 {
28 public:
29
35 DLL_IMPORT_OR_EXPORT WellboreTrajectoryRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::WellboreTrajectoryRepresentation(partialObject) {}
36
51 WellboreTrajectoryRepresentation(RESQML2_NS::WellboreInterpretation* interp, const std::string& guid, const std::string& title, RESQML2_NS::MdDatum* mdInfo);
52
66 WellboreTrajectoryRepresentation(RESQML2_NS::WellboreInterpretation* interp, const std::string& guid, const std::string& title, RESQML2_NS::DeviationSurveyRepresentation* deviationSurvey);
67
73 WellboreTrajectoryRepresentation(gsoap_eml2_3::_resqml22__WellboreTrajectoryRepresentation* fromGsoap) : RESQML2_NS::WellboreTrajectoryRepresentation(fromGsoap) {}
74
77
78 DLL_IMPORT_OR_EXPORT void setMinimalGeometry(double startMd, double endMd) final;
79
80 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints, double startMd, double endMd, unsigned int controlPointCount,
81 int lineKind, EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
82
83 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints, double const* controlPointParameters, unsigned int controlPointCount, int lineKind,
84 EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
85
86 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints,
87 double const* tangentVectors, double const* controlPointParameters, unsigned int controlPointCount, int lineKind,
88 EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
89
90 DLL_IMPORT_OR_EXPORT int getGeometryKind() const final;
91
92 DLL_IMPORT_OR_EXPORT void setMdDatum(RESQML2_NS::MdDatum * mdDatum) final;
93
94 DLL_IMPORT_OR_EXPORT COMMON_NS::DataObjectReference getMdDatumDor() const final;
95
96 DLL_IMPORT_OR_EXPORT uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final;
97
106 DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
107
108 DLL_IMPORT_OR_EXPORT bool hasMdValues() const final;
109
110 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::eml20__LengthUom getMdUom() const final;
111
112 DLL_IMPORT_OR_EXPORT void getMdValues(double* values) const final;
113
114 DLL_IMPORT_OR_EXPORT double getStartMd() const final;
115
116 DLL_IMPORT_OR_EXPORT double getFinishMd() const final;
117
118 DLL_IMPORT_OR_EXPORT bool hasTangentVectors() const final;
119
120 DLL_IMPORT_OR_EXPORT void getTangentVectors(double* tangentVectors) final;
121
122 DLL_IMPORT_OR_EXPORT void addParentTrajectory(double kickoffMd, double parentMd, RESQML2_NS::WellboreTrajectoryRepresentation* parentTrajRep) final;
123
124 DLL_IMPORT_OR_EXPORT COMMON_NS::DataObjectReference getParentTrajectoryDor() const final;
125
126 DLL_IMPORT_OR_EXPORT double getParentTrajectoryMd() const final;
127
128 DLL_IMPORT_OR_EXPORT void setDeviationSurvey(RESQML2_NS::DeviationSurveyRepresentation* deviationSurvey) final;
129
130 COMMON_NS::DataObjectReference getDeviationSurveyDor() const final;
131
132 COMMON_NS::DataObjectReference getLocalCrsDor(unsigned int patchIndex) const final;
133
134 COMMON_NS::DataObjectReference getHdfProxyDor() const final;
135
136 DLL_IMPORT_OR_EXPORT bool hasGeometry() const final;
137
141 DLL_IMPORT_OR_EXPORT static const char* XML_NS;
142
146 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
147
148 private:
149
155 gsoap_eml2_3::_resqml22__WellboreTrajectoryRepresentation* getSpecializedGsoapProxy() const;
156 };
157}
Definition: DeviationSurveyRepresentation.h:27
Definition: MdDatum.h:27
Definition: WellboreTrajectoryRepresentation.h:27
WellboreTrajectoryRepresentation(resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::MdDatum *mdInfo)
void setGeometry(double const *controlPoints, double startMd, double endMd, unsigned int controlPointCount, int lineKind, eml2::AbstractHdfProxy *proxy=nullptr, resqml2::AbstractLocal3dCrs *localCrs=nullptr) final
WellboreTrajectoryRepresentation(gsoap_eml2_3::_resqml22__WellboreTrajectoryRepresentation *fromGsoap)
Definition: WellboreTrajectoryRepresentation.h:73
void setMinimalGeometry(double startMd, double endMd) final
WellboreTrajectoryRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: WellboreTrajectoryRepresentation.h:35
WellboreTrajectoryRepresentation(resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::DeviationSurveyRepresentation *deviationSurvey)