Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
WellboreTrajectoryRepresentation.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "../resqml2/WellboreTrajectoryRepresentation.h"
22 
23 namespace 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, RESQML2_NS::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  unsigned int controlPointCount, int lineKind, EML2_NS::AbstractHdfProxy* proxy = nullptr,
92  RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
93 
94  DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints, double const* controlPointParameters, unsigned int controlPointCount, int lineKind,
95  EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
96 
97  DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints,
98  double const* tangentVectors, double const* controlPointParameters, unsigned int controlPointCount, int lineKind,
99  EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_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  DLL_IMPORT_OR_EXPORT void setDeviationSurvey(RESQML2_NS::DeviationSurveyRepresentation* deviationSurvey) final;
140 
141  COMMON_NS::DataObjectReference getDeviationSurveyDor() const final;
142 
143  COMMON_NS::DataObjectReference getLocalCrsDor(unsigned int patchIndex) const final;
144 
145  COMMON_NS::DataObjectReference getHdfProxyDor() const final;
146 
147  DLL_IMPORT_OR_EXPORT bool hasGeometry() const final;
148 
152  DLL_IMPORT_OR_EXPORT static const char* XML_NS;
153 
157  DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
158  };
159 }
Definition: DeviationSurveyRepresentation.h:27
Definition: MdDatum.h:27
Definition: WellboreTrajectoryRepresentation.h:27
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_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)
WellboreTrajectoryRepresentation(gsoap_resqml2_0_1::_resqml20__WellboreTrajectoryRepresentation *fromGsoap)
Definition: WellboreTrajectoryRepresentation.h:82
WellboreTrajectoryRepresentation(resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::DeviationSurveyRepresentation *deviationSurvey)
void setMinimalGeometry(double startMd, double endMd) final