Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
TriangulatedSetRepresentation.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/TriangulatedSetRepresentation.h"
22
23namespace RESQML2_0_1_NS
24{
30 class TriangulatedSetRepresentation final : public RESQML2_NS::TriangulatedSetRepresentation
31 {
32 public:
33
41 DLL_IMPORT_OR_EXPORT TriangulatedSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::TriangulatedSetRepresentation(partialObject) {}
42
50 TriangulatedSetRepresentation(COMMON_NS::DataObjectRepository* repo,
51 const std::string & guid, const std::string & title);
52
63 TriangulatedSetRepresentation(RESQML2_NS::AbstractFeatureInterpretation* interp,
64 const std::string & guid, const std::string & title);
65
71 TriangulatedSetRepresentation(gsoap_resqml2_0_1::_resqml20__TriangulatedSetRepresentation* fromGsoap): RESQML2_NS::TriangulatedSetRepresentation(fromGsoap) {}
72
75
76 COMMON_NS::DataObjectReference getHdfProxyDor() const;
77
78 DLL_IMPORT_OR_EXPORT void pushBackTrianglePatch(unsigned int nodeCount, double const * nodes, unsigned int triangleCount, unsigned int const * triangleNodeIndices,
79 EML2_NS::AbstractHdfProxy* proxy = nullptr, EML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
80
81 DLL_IMPORT_OR_EXPORT uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final;
82
83 DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
84
85 DLL_IMPORT_OR_EXPORT uint64_t getTriangleCountOfPatch(unsigned int patchIndex) const final;
86
87 DLL_IMPORT_OR_EXPORT uint64_t getTriangleCountOfAllPatches() const final;
88
89 DLL_IMPORT_OR_EXPORT void getTriangleNodeIndicesOfPatch(unsigned int patchIndex, unsigned int * triangleNodeIndices) const final;
90
91 DLL_IMPORT_OR_EXPORT void getTriangleNodeIndicesOfAllPatches(unsigned int * triangleNodeIndices) const final;
92
93 DLL_IMPORT_OR_EXPORT uint64_t getPatchCount() const final;
94
98 DLL_IMPORT_OR_EXPORT static const char* XML_NS;
99
103 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
104
105 private:
106 gsoap_resqml2_0_1::resqml20__PointGeometry* getPointGeometry2_0_1(uint64_t patchIndex) const;
107 };
108}
Definition TriangulatedSetRepresentation.h:31
TriangulatedSetRepresentation(gsoap_resqml2_0_1::_resqml20__TriangulatedSetRepresentation *fromGsoap)
Definition TriangulatedSetRepresentation.h:71
TriangulatedSetRepresentation(common::DataObjectRepository *repo, const std::string &guid, const std::string &title)
void pushBackTrianglePatch(unsigned int nodeCount, double const *nodes, unsigned int triangleCount, unsigned int const *triangleNodeIndices, eml2::AbstractHdfProxy *proxy=nullptr, eml2::AbstractLocal3dCrs *localCrs=nullptr) final
common::DataObjectReference getHdfProxyDor() const
Gets the data object reference of the HDF proxy which is used for storing the numerical values of thi...
TriangulatedSetRepresentation(resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.
TriangulatedSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition TriangulatedSetRepresentation.h:41