Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
IjkGridLatticeRepresentation.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/IjkGridLatticeRepresentation.h"
22
23namespace RESQML2_2_NS
24{
26 class IjkGridLatticeRepresentation final : public RESQML2_NS::IjkGridLatticeRepresentation
27 {
28 private :
29 gsoap_eml2_3::resqml22__Point3dLatticeArray* getArrayLatticeOfPoints3d() const;
30 public:
31
42 IjkGridLatticeRepresentation(COMMON_NS::DataObjectRepository * repo,
43 const std::string & guid, const std::string & title,
44 unsigned int iCount, unsigned int jCount, unsigned int kCount) :
45 RESQML2_NS::IjkGridLatticeRepresentation(repo, guid, title, iCount, jCount, kCount) {}
46
57 IjkGridLatticeRepresentation(RESQML2_NS::AbstractFeatureInterpretation* interp,
58 const std::string & guid, const std::string & title,
59 unsigned int iCount, unsigned int jCount, unsigned int kCount) :
60 RESQML2_NS::IjkGridLatticeRepresentation(interp, guid, title, iCount, jCount, kCount) {}
61
67 IjkGridLatticeRepresentation(gsoap_eml2_3::_resqml22__IjkGridRepresentation* fromGsoap): RESQML2_NS::IjkGridLatticeRepresentation(fromGsoap) {}
68
74 IjkGridLatticeRepresentation(gsoap_eml2_3::_resqml22__TruncatedIjkGridRepresentation* fromGsoap) : RESQML2_NS::IjkGridLatticeRepresentation(fromGsoap) {}
75
80
81 DLL_IMPORT_OR_EXPORT double getXOrigin() const final;
82
83 DLL_IMPORT_OR_EXPORT double getYOrigin() const final;
84
85 DLL_IMPORT_OR_EXPORT double getZOrigin() const final;
86
87 /*****************************************************
88 * Notice that, in seismic context, I is the slowest axis, J is the intermediate axis and K is the fastest axis.
89 * In reservoir grid, I is the fastest axis, J is the intermediate axis and K is slowest axis.
90 * It should be improved in future Resqml versions.
91 *****************************************************/
92
93 DLL_IMPORT_OR_EXPORT double getXIOffset() const final;
94
95 DLL_IMPORT_OR_EXPORT double getYIOffset() const final;
96
97 DLL_IMPORT_OR_EXPORT double getZIOffset() const final;
98
99 DLL_IMPORT_OR_EXPORT double getXJOffset() const final;
100
101 DLL_IMPORT_OR_EXPORT double getYJOffset() const final;
102
103 DLL_IMPORT_OR_EXPORT double getZJOffset() const final;
104
105 DLL_IMPORT_OR_EXPORT double getXKOffset() const final;
106
107 DLL_IMPORT_OR_EXPORT double getYKOffset() const final;
108
109 DLL_IMPORT_OR_EXPORT double getZKOffset() const final;
110
111 DLL_IMPORT_OR_EXPORT double getISpacing() const final;
112
113 DLL_IMPORT_OR_EXPORT double getJSpacing() const final;
114
115 DLL_IMPORT_OR_EXPORT double getKSpacing() const final;
116
117 DLL_IMPORT_OR_EXPORT int getOriginInline() const final;
118
119 DLL_IMPORT_OR_EXPORT int getOriginCrossline() const final;
120
121 DLL_IMPORT_OR_EXPORT int getInlineIOffset() const final;
122
123 DLL_IMPORT_OR_EXPORT int getInlineJOffset() const final;
124
125 DLL_IMPORT_OR_EXPORT int getInlineKOffset() const final;
126
127 DLL_IMPORT_OR_EXPORT int getCrosslineIOffset() const final;
128
129 DLL_IMPORT_OR_EXPORT int getCrosslineJOffset() const final;
130
131 DLL_IMPORT_OR_EXPORT int getCrosslineKOffset() const final;
132
133 DLL_IMPORT_OR_EXPORT void setGeometryAsCoordinateLineNodes(gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry,
134 gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind,
135 bool isRightHanded,
136 double originX, double originY, double originZ,
137 double directionIX, double directionIY, double directionIZ, double spacingI,
138 double directionJX, double directionJY, double directionJZ, double spacingJ,
139 double directionKX, double directionKY, double directionKZ, double spacingK, RESQML2_NS::AbstractLocal3dCrs * localCrs = nullptr) final;
140
141 DLL_IMPORT_OR_EXPORT void addSeismic3dCoordinatesToPatch(
142 unsigned int patchIndex,
143 double startInline, double incrInline, unsigned int countInline,
144 double startCrossline, double incrCrossline, unsigned int countCrossline,
145 unsigned int countSample, RESQML2_NS::AbstractRepresentation * seismicSupport) final;
146
147 COMMON_NS::DataObjectReference getHdfProxyDor() 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}
An ijk grid lattice representation. This class cannot be inherited.
Definition: IjkGridLatticeRepresentation.h:27
IjkGridLatticeRepresentation(gsoap_eml2_3::_resqml22__IjkGridRepresentation *fromGsoap)
Creates an instance of this class by wrapping a gsoap instance.
Definition: IjkGridLatticeRepresentation.h:67
IjkGridLatticeRepresentation(resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount)
Constructor.
Definition: IjkGridLatticeRepresentation.h:57
IjkGridLatticeRepresentation(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount)
Constructor.
Definition: IjkGridLatticeRepresentation.h:42
IjkGridLatticeRepresentation(gsoap_eml2_3::_resqml22__TruncatedIjkGridRepresentation *fromGsoap)
Constructor.
Definition: IjkGridLatticeRepresentation.h:74