22 #include "resqml2/AbstractGridRepresentation.h" 34 const std::string & guid,
const std::string & title,
35 const ULONG64 & cellCount);
37 gsoap_resqml2_0_1::_resqml2__UnstructuredGridRepresentation* getSpecializedGsoapProxy()
const;
39 gsoap_resqml2_0_1::resqml2__PointGeometry* getPointGeometry2_0_1(
const unsigned int & patchIndex)
const;
53 void setConstantCellShapeGeometryUsingExistingDatasets(
const std::string& cellFaceIsRightHanded,
const std::string& points,
55 const std::string& faceIndicesPerCell, ULONG64 faceCountPerCell,
56 const std::string& nodeIndicesPerFace, ULONG64 nodeCountPerFace);
70 void setConstantCellShapeGeometry(
unsigned char * cellFaceIsRightHanded,
double * points,
72 ULONG64 * faceIndicesPerCell, ULONG64 faceCountPerCell,
73 ULONG64 * nodeIndicesPerFace, ULONG64 nodeCountPerFace);
75 unsigned int constantNodeCountPerFace;
76 unsigned int constantFaceCountPerCell;
77 ULONG64 * cumulativeNodeCountPerFace;
78 ULONG64 * cumulativeFaceCountPerCell;
79 ULONG64 * nodeIndicesOfFaces;
80 ULONG64 * faceIndicesOfCells;
88 RESQML2_NS::AbstractGridRepresentation(partialObject, false), constantNodeCountPerFace(0), constantFaceCountPerCell(0),
89 cumulativeNodeCountPerFace(nullptr), cumulativeFaceCountPerCell(nullptr),
90 nodeIndicesOfFaces(nullptr), faceIndicesOfCells(nullptr)
98 const std::string & guid,
const std::string & title,
99 const ULONG64 & cellCount);
102 const std::string & guid,
const std::string & title,
103 const ULONG64 & cellCount);
109 RESQML2_NS::AbstractGridRepresentation(fromGsoap, false), constantNodeCountPerFace(0), constantFaceCountPerCell(0),
110 cumulativeNodeCountPerFace(nullptr), cumulativeFaceCountPerCell(nullptr),
111 nodeIndicesOfFaces(nullptr), faceIndicesOfCells(nullptr) {}
121 bool hasGeometry()
const;
123 std::string getHdfProxyUuid()
const;
128 ULONG64 getXyzPointCountOfPatch(
const unsigned int & patchIndex)
const;
135 void getXyzPointsOfPatch(
const unsigned int & patchIndex,
double * xyzPoints)
const;
141 void getFaceIndicesOfCells(ULONG64 * faceIndices)
const;
150 void getCumulativeFaceCountPerCell(ULONG64 * cumulativeFaceCountPerCell)
const;
158 void getFaceCountPerCell(ULONG64 * faceCountPerCell)
const;
163 bool isFaceCountOfCellsConstant()
const;
168 unsigned int getConstantFaceCountOfCells()
const;
174 void getNodeIndicesOfFaces(ULONG64 * nodeIndices)
const;
183 void getCumulativeNodeCountPerFace(ULONG64 * nodeCountPerFace)
const;
191 void getNodeCountPerFace(ULONG64 * nodeCountPerFace)
const;
196 bool isNodeCountOfFacesConstant()
const;
201 unsigned int getConstantNodeCountOfFaces()
const;
212 void unloadGeometry();
218 unsigned int getFaceCountOfCell(
const ULONG64 & cellIndex)
const;
224 unsigned int getNodeCountOfFaceOfCell(
const ULONG64 & cellIndex,
const unsigned int & localFaceIndex)
const;
230 ULONG64 * getNodeIndicesOfFaceOfCell(
const ULONG64 & cellIndex,
const unsigned int & localFaceIndex)
const;
235 ULONG64 getCellCount()
const;
240 ULONG64 getFaceCount()
const;
245 ULONG64 getNodeCount()
const;
250 void getCellFaceIsRightHanded(
unsigned char* cellFaceIsRightHanded)
const;
265 void setGeometryUsingExistingDatasets(
const std::string& cellFaceIsRightHanded,
const std::string& points, ULONG64 pointCount,
COMMON_NS::AbstractHdfProxy* proxy,
266 const std::string& faceIndicesPerCell,
const std::string&faceIndicesCumulativeCountPerCell,
267 ULONG64 faceCount,
const std::string& nodeIndicesPerFace,
const std::string& nodeIndicesCumulativeCountPerFace,
268 const gsoap_resqml2_0_1::resqml2__CellShape & cellShape);
284 ULONG64 * faceIndicesPerCell, ULONG64 * faceIndicesCumulativeCountPerCell,
285 ULONG64 faceCount, ULONG64 * nodeIndicesPerFace, ULONG64 * nodeIndicesCumulativeCountPerFace,
286 const gsoap_resqml2_0_1::resqml2__CellShape & cellShape);
298 void setTetrahedraOnlyGeometryUsingExistingDatasets(
const std::string& cellFaceIsRightHanded,
const std::string& points,
300 const std::string& faceIndicesPerCell,
const std::string& nodeIndicesPerFace);
312 void setTetrahedraOnlyGeometry(
unsigned char * cellFaceIsRightHanded,
double * points,
314 ULONG64 * faceIndicesPerCell, ULONG64 * nodeIndicesPerFace);
326 void setHexahedraOnlyGeometryUsingExistingDatasets(
const std::string& cellFaceIsRightHanded,
const std::string& points,
328 const std::string& faceIndicesPerCell,
const std::string& nodeIndicesPerFace);
340 void setHexahedraOnlyGeometry(
unsigned char * cellFaceIsRightHanded,
double * points,
342 ULONG64 * faceIndicesPerCell, ULONG64 * nodeIndicesPerFace);
344 static const char* XML_TAG;
347 unsigned int getPatchCount()
const {
return 1;}
UnstructuredGridRepresentation(gsoap_resqml2_0_1::_resqml2__UnstructuredGridRepresentation *fromGsoap)
Definition: UnstructuredGridRepresentation.h:108
virtual std::string getXmlTag() const
Definition: UnstructuredGridRepresentation.h:345
Definition: AbstractFeatureInterpretation.h:30
virtual ~UnstructuredGridRepresentation()
Definition: UnstructuredGridRepresentation.h:116
Definition: EpcDocument.h:65
UnstructuredGridRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: UnstructuredGridRepresentation.h:87
Definition: AbstractGridRepresentation.h:32
Definition: AbstractHdfProxy.h:30
Definition: UnstructuredGridRepresentation.h:26
Definition: AbstractLocal3dCrs.h:25
Definition: EpcDocument.h:49