Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
TriangulatedSetRepresentation.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_0_1/AbstractSurfaceRepresentation.h"
22 
23 namespace RESQML2_0_1_NS
24 {
30  {
31  private :
32  gsoap_resqml2_0_1::resqml2__PointGeometry* getPointGeometry2_0_1(const unsigned int & patchIndex) const;
33  public:
34 
38  TriangulatedSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractSurfaceRepresentation(partialObject) {}
39 
48  const std::string & guid, const std::string & title);
49 
53  TriangulatedSetRepresentation(gsoap_resqml2_0_1::_resqml2__TriangulatedSetRepresentation* fromGsoap): AbstractSurfaceRepresentation(fromGsoap) {}
54 
59 
60  std::string getHdfProxyUuid() const;
61 
72  void pushBackTrianglePatch(const unsigned int & nodeCount, double * nodes, const unsigned int & triangleCount, unsigned int * triangleNodeIndices, COMMON_NS::AbstractHdfProxy* proxy);
73 
78  ULONG64 getXyzPointCountOfPatch(const unsigned int & patchIndex) const;
79 
85  void getXyzPointsOfPatch(const unsigned int & patchIndex, double * xyzPoints) const;
86 
91  unsigned int getTriangleCountOfPatch(const unsigned int & patchIndex) const;
92 
96  unsigned int getTriangleCountOfAllPatches() const;
97 
104  void getTriangleNodeIndicesOfPatch(const unsigned int & patchIndex, unsigned int * triangleNodeIndices) const;
105 
111  void getTriangleNodeIndicesOfAllPatches(unsigned int * triangleNodeIndices) const;
112 
113  static const char* XML_TAG;
114  virtual std::string getXmlTag() const {return XML_TAG;}
115 
119  unsigned int getPatchCount() const;
120  };
121 }
122 
virtual std::string getXmlTag() const
Definition: TriangulatedSetRepresentation.h:114
TriangulatedSetRepresentation(gsoap_resqml2_0_1::_resqml2__TriangulatedSetRepresentation *fromGsoap)
Definition: TriangulatedSetRepresentation.h:53
Definition: AbstractFeatureInterpretation.h:30
Definition: EpcDocument.h:65
Definition: TriangulatedSetRepresentation.h:29
TriangulatedSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: TriangulatedSetRepresentation.h:38
Definition: AbstractHdfProxy.h:30
~TriangulatedSetRepresentation()
Definition: TriangulatedSetRepresentation.h:58
Definition: AbstractSurfaceRepresentation.h:25
Definition: AbstractLocal3dCrs.h:25