Fesapi 2.13.0.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_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
58 WellboreTrajectoryRepresentation(gsoap_eml2_3::_resqml22__WellboreTrajectoryRepresentation* fromGsoap) : RESQML2_NS::WellboreTrajectoryRepresentation(fromGsoap) {}
59
62
63 DLL_IMPORT_OR_EXPORT void setMinimalGeometry(double startMd, double endMd) final;
64
65 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints, double startMd, double endMd, uint64_t controlPointCount,
66 int lineKind, EML2_NS::AbstractHdfProxy* proxy = nullptr, EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
67
68 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints, double const* controlPointParameters, uint64_t controlPointCount, int lineKind,
69 EML2_NS::AbstractHdfProxy* proxy = nullptr, EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
70
71 DLL_IMPORT_OR_EXPORT void setGeometry(double const* controlPoints,
72 double const* tangentVectors, double const* controlPointParameters, uint64_t controlPointCount, int lineKind,
73 EML2_NS::AbstractHdfProxy* proxy = nullptr, EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
74
75 DLL_IMPORT_OR_EXPORT int getGeometryKind() const final;
76
77 DLL_IMPORT_OR_EXPORT void setMdDatum(RESQML2_NS::MdDatum * mdDatum) final;
78
79 DLL_IMPORT_OR_EXPORT COMMON_NS::DataObjectReference getMdDatumDor() const final;
80
81 DLL_IMPORT_OR_EXPORT uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final;
82
91 DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
92
93 DLL_IMPORT_OR_EXPORT bool hasMdValues() const final;
94
95 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::eml20__LengthUom getMdUom() const final;
96
97 DLL_IMPORT_OR_EXPORT void getMdValues(double* values) const final;
98
99 DLL_IMPORT_OR_EXPORT double getStartMd() const final;
100
101 DLL_IMPORT_OR_EXPORT double getFinishMd() const final;
102
103 DLL_IMPORT_OR_EXPORT bool hasTangentVectors() const final;
104
105 DLL_IMPORT_OR_EXPORT void getTangentVectors(double* tangentVectors) final;
106
107 DLL_IMPORT_OR_EXPORT void addParentTrajectory(double kickoffMd, double parentMd, RESQML2_NS::WellboreTrajectoryRepresentation* parentTrajRep) final;
108
109 DLL_IMPORT_OR_EXPORT COMMON_NS::DataObjectReference getParentTrajectoryDor() const final;
110
111 DLL_IMPORT_OR_EXPORT double getParentTrajectoryMd() const final;
112
113 COMMON_NS::DataObjectReference getLocalCrsDor(uint64_t patchIndex) const final;
114
115 COMMON_NS::DataObjectReference getHdfProxyDor() const final;
116
117 DLL_IMPORT_OR_EXPORT bool hasGeometry() const final;
118
122 DLL_IMPORT_OR_EXPORT static const char* XML_NS;
123
127 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
128
129 private:
130
136 gsoap_eml2_3::_resqml22__WellboreTrajectoryRepresentation* getSpecializedGsoapProxy() const;
137 };
138}
WellboreTrajectoryRepresentation(resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::MdDatum *mdInfo)
uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final
void setGeometry(double const *controlPoints, double startMd, double endMd, uint64_t controlPointCount, int lineKind, eml2::AbstractHdfProxy *proxy=nullptr, eml2::AbstractLocal3dCrs *localCrs=nullptr) final
common::DataObjectReference getParentTrajectoryDor() const final
void addParentTrajectory(double kickoffMd, double parentMd, resqml2::WellboreTrajectoryRepresentation *parentTrajRep) final
common::DataObjectReference getHdfProxyDor() const final
Gets the data object reference of the HDF proxy which is used for storing the numerical values of thi...
std::string getXmlNamespace() const final
Definition WellboreTrajectoryRepresentation.h:127
common::DataObjectReference getLocalCrsDor(uint64_t patchIndex) const final
void getXyzPointsOfPatch(unsigned int patchIndex, double *xyzPoints) const final
Gets all the xyz points of a particular patch of this representation. xyz points are given in the loc...
gsoap_resqml2_0_1::eml20__LengthUom getMdUom() const final
common::DataObjectReference getMdDatumDor() const final
WellboreTrajectoryRepresentation(gsoap_eml2_3::_resqml22__WellboreTrajectoryRepresentation *fromGsoap)
Definition WellboreTrajectoryRepresentation.h:58
void getMdValues(double *values) const final
void setMdDatum(resqml2::MdDatum *mdDatum) final
static const char * XML_NS
Definition WellboreTrajectoryRepresentation.h:122
void setMinimalGeometry(double startMd, double endMd) final
WellboreTrajectoryRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition WellboreTrajectoryRepresentation.h:35
void getTangentVectors(double *tangentVectors) final