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
IjkGridExplicitRepresentation.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/IjkGridExplicitRepresentation.h"
22
23namespace RESQML2_2_NS
24{
29 class IjkGridExplicitRepresentation final : public RESQML2_NS::IjkGridExplicitRepresentation
30 {
31 public:
32
49 IjkGridExplicitRepresentation(COMMON_NS::DataObjectRepository * repo,
50 const std::string & guid, const std::string & title,
51 unsigned int iCount, unsigned int jCount, unsigned int kCount,
52 bool* kGaps = nullptr, EML2_NS::AbstractHdfProxy* proxy = nullptr) :
53 RESQML2_NS::IjkGridExplicitRepresentation(repo, guid, title, iCount, jCount, kCount, kGaps, proxy) {}
54
71 IjkGridExplicitRepresentation(RESQML2_NS::AbstractFeatureInterpretation* interp,
72 const std::string & guid, const std::string & title,
73 unsigned int iCount, unsigned int jCount, unsigned int kCount,
74 bool* kGaps = nullptr, EML2_NS::AbstractHdfProxy* proxy = nullptr) :
75 RESQML2_NS::IjkGridExplicitRepresentation(interp, guid, title, iCount, jCount, kCount, kGaps, proxy) {}
76
82 IjkGridExplicitRepresentation(gsoap_eml2_3::_resqml22__IjkGridRepresentation* fromGsoap) : RESQML2_NS::IjkGridExplicitRepresentation(fromGsoap) {}
83
89 IjkGridExplicitRepresentation(gsoap_eml2_3::_resqml22__TruncatedIjkGridRepresentation* fromGsoap) : RESQML2_NS::IjkGridExplicitRepresentation(fromGsoap) {}
90
94 virtual ~IjkGridExplicitRepresentation() = default;
95
96 COMMON_NS::DataObjectReference getHdfProxyDor() const final;
97
107 DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
108
109 DLL_IMPORT_OR_EXPORT void setGeometryAsCoordinateLineNodes(
110 gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded,
111 double const* points, EML2_NS::AbstractHdfProxy* proxy = nullptr,
112 uint64_t splitCoordinateLineCount = 0, unsigned int const* pillarOfCoordinateLine = nullptr,
113 unsigned int const* splitCoordinateLineColumnCumulativeCount = nullptr, unsigned int const* splitCoordinateLineColumns = nullptr,
114 int8_t const* definedPillars = nullptr, EML2_NS::AbstractLocal3dCrs * localCrs = nullptr) final;
115
117 gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded,
118 const std::string & points, EML2_NS::AbstractHdfProxy* proxy = nullptr,
119 uint64_t splitCoordinateLineCount = 0, const std::string & pillarOfCoordinateLine = "",
120 const std::string & splitCoordinateLineColumnCumulativeCount = "", const std::string & splitCoordinateLineColumns = "",
121 const std::string & definedPillars = "", EML2_NS::AbstractLocal3dCrs * localCrs = nullptr) final;
122
126 DLL_IMPORT_OR_EXPORT static const char* XML_NS;
127
131 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
132
133 private:
134 EML2_NS::AbstractHdfProxy* getPointDatasetPath(std::string & datasetPathInExternalFile, uint64_t & splitCoordinateLineCount) const final;
135 };
136}
IjkGridExplicitRepresentation(gsoap_eml2_3::_resqml22__IjkGridRepresentation *fromGsoap)
Creates an instance of this class by wrapping a gsoap instance.
Definition IjkGridExplicitRepresentation.h:82
IjkGridExplicitRepresentation(resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr)
Constructor.
Definition IjkGridExplicitRepresentation.h:71
void setGeometryAsCoordinateLineNodes(gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded, double const *points, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t splitCoordinateLineCount=0, unsigned int const *pillarOfCoordinateLine=nullptr, unsigned int const *splitCoordinateLineColumnCumulativeCount=nullptr, unsigned int const *splitCoordinateLineColumns=nullptr, int8_t const *definedPillars=nullptr, eml2::AbstractLocal3dCrs *localCrs=nullptr) final
Sets the geometry of this IJK grid as explicit coordinate line nodes. See RESQML Usage,...
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...
IjkGridExplicitRepresentation(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr)
Constructor.
Definition IjkGridExplicitRepresentation.h:49
static const char * XML_NS
Definition IjkGridExplicitRepresentation.h:126
void setGeometryAsCoordinateLineNodesUsingExistingDatasets(gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded, const std::string &points, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t splitCoordinateLineCount=0, const std::string &pillarOfCoordinateLine="", const std::string &splitCoordinateLineColumnCumulativeCount="", const std::string &splitCoordinateLineColumns="", const std::string &definedPillars="", eml2::AbstractLocal3dCrs *localCrs=nullptr) final
Sets the geometry of this IJK grid as explicit coordinate line nodes. See RESQML Usage,...
std::string getXmlNamespace() const final
Definition IjkGridExplicitRepresentation.h:131
common::DataObjectReference getHdfProxyDor() const final
Gets the data object reference of the HDF proxy which is used for storing the numerical values of thi...
IjkGridExplicitRepresentation(gsoap_eml2_3::_resqml22__TruncatedIjkGridRepresentation *fromGsoap)
Constructor.
Definition IjkGridExplicitRepresentation.h:89
virtual ~IjkGridExplicitRepresentation()=default