36 #include "resqml2/AbstractGridRepresentation.h" 48 const std::string & guid,
const std::string & title,
49 const ULONG64 & cellCount);
51 gsoap_resqml2_0_1::_resqml2__UnstructuredGridRepresentation* getSpecializedGsoapProxy()
const;
53 gsoap_resqml2_0_1::resqml2__PointGeometry* getPointGeometry2_0_1(
const unsigned int & patchIndex)
const;
67 void setConstantCellShapeGeometryUsingExistingDatasets(
const std::string& cellFaceIsRightHanded,
const std::string& points,
69 const std::string& faceIndicesPerCell, ULONG64 faceCountPerCell,
70 const std::string& nodeIndicesPerFace, ULONG64 nodeCountPerFace);
84 void setConstantCellShapeGeometry(
unsigned char * cellFaceIsRightHanded,
double * points,
86 ULONG64 * faceIndicesPerCell, ULONG64 faceCountPerCell,
87 ULONG64 * nodeIndicesPerFace, ULONG64 nodeCountPerFace);
89 unsigned int constantNodeCountPerFace;
90 unsigned int constantFaceCountPerCell;
91 ULONG64 * cumulativeNodeCountPerFace;
92 ULONG64 * cumulativeFaceCountPerCell;
93 ULONG64 * nodeIndicesOfFaces;
94 ULONG64 * faceIndicesOfCells;
102 resqml2::AbstractGridRepresentation(nullptr, partialObject, false), constantNodeCountPerFace(0), constantFaceCountPerCell(0),
103 cumulativeNodeCountPerFace(nullptr), cumulativeFaceCountPerCell(nullptr),
104 nodeIndicesOfFaces(nullptr), faceIndicesOfCells(nullptr)
112 const std::string & guid,
const std::string & title,
113 const ULONG64 & cellCount);
116 const std::string & guid,
const std::string & title,
117 const ULONG64 & cellCount);
123 resqml2::AbstractGridRepresentation(fromGsoap, false), constantNodeCountPerFace(0), constantFaceCountPerCell(0),
124 cumulativeNodeCountPerFace(nullptr), cumulativeFaceCountPerCell(nullptr),
125 nodeIndicesOfFaces(nullptr), faceIndicesOfCells(nullptr) {}
135 bool hasGeometry()
const;
137 std::string getHdfProxyUuid()
const;
142 ULONG64 getXyzPointCountOfPatch(
const unsigned int & patchIndex)
const;
149 void getXyzPointsOfPatch(
const unsigned int & patchIndex,
double * xyzPoints)
const;
155 void getFaceIndicesOfCells(ULONG64 * faceIndices)
const;
164 void getCumulativeFaceCountPerCell(ULONG64 * cumulativeFaceCountPerCell)
const;
172 void getFaceCountPerCell(ULONG64 * faceCountPerCell)
const;
177 bool isFaceCountOfCellsConstant()
const;
182 unsigned int getConstantFaceCountOfCells()
const;
188 void getNodeIndicesOfFaces(ULONG64 * nodeIndices)
const;
197 void getCumulativeNodeCountPerFace(ULONG64 * nodeCountPerFace)
const;
205 void getNodeCountPerFace(ULONG64 * nodeCountPerFace)
const;
210 bool isNodeCountOfFacesConstant()
const;
215 unsigned int getConstantNodeCountOfFaces()
const;
226 void unloadGeometry();
232 unsigned int getFaceCountOfCell(
const ULONG64 & cellIndex)
const;
238 unsigned int getNodeCountOfFaceOfCell(
const ULONG64 & cellIndex,
const unsigned int & localFaceIndex)
const;
244 ULONG64 * getNodeIndicesOfFaceOfCell(
const ULONG64 & cellIndex,
const unsigned int & localFaceIndex)
const;
249 ULONG64 getCellCount()
const;
254 ULONG64 getFaceCount()
const;
259 ULONG64 getNodeCount()
const;
264 void getCellFaceIsRightHanded(
unsigned char* cellFaceIsRightHanded)
const;
279 void setGeometryUsingExistingDatasets(
const std::string& cellFaceIsRightHanded,
const std::string& points, ULONG64 pointCount,
resqml2::AbstractHdfProxy* proxy,
280 const std::string& faceIndicesPerCell,
const std::string&faceIndicesCumulativeCountPerCell,
281 ULONG64 faceCount,
const std::string& nodeIndicesPerFace,
const std::string& nodeIndicesCumulativeCountPerFace,
282 const gsoap_resqml2_0_1::resqml2__CellShape & cellShape);
297 void setGeometry(
unsigned char * cellFaceIsRightHanded,
double * points, ULONG64 pointCount,
resqml2::AbstractHdfProxy* proxy,
298 ULONG64 * faceIndicesPerCell, ULONG64 * faceIndicesCumulativeCountPerCell,
299 ULONG64 faceCount, ULONG64 * nodeIndicesPerFace, ULONG64 * nodeIndicesCumulativeCountPerFace,
300 const gsoap_resqml2_0_1::resqml2__CellShape & cellShape);
312 void setTetrahedraOnlyGeometryUsingExistingDatasets(
const std::string& cellFaceIsRightHanded,
const std::string& points,
314 const std::string& faceIndicesPerCell,
const std::string& nodeIndicesPerFace);
326 void setTetrahedraOnlyGeometry(
unsigned char * cellFaceIsRightHanded,
double * points,
328 ULONG64 * faceIndicesPerCell, ULONG64 * nodeIndicesPerFace);
340 void setHexahedraOnlyGeometryUsingExistingDatasets(
const std::string& cellFaceIsRightHanded,
const std::string& points,
342 const std::string& faceIndicesPerCell,
const std::string& nodeIndicesPerFace);
354 void setHexahedraOnlyGeometry(
unsigned char * cellFaceIsRightHanded,
double * points,
356 ULONG64 * faceIndicesPerCell, ULONG64 * nodeIndicesPerFace);
358 static const char* XML_TAG;
361 unsigned int getPatchCount()
const {
return 1;}
virtual std::string getXmlTag() const
Definition: UnstructuredGridRepresentation.h:359
Definition: AbstractHdfProxy.h:44
Definition: AbstractLocal3dCrs.h:40
virtual ~UnstructuredGridRepresentation()
Definition: UnstructuredGridRepresentation.h:130
Definition: AbstractGridRepresentation.h:47
Definition: EpcDocument.h:79
UnstructuredGridRepresentation(gsoap_resqml2_0_1::_resqml2__UnstructuredGridRepresentation *fromGsoap)
Definition: UnstructuredGridRepresentation.h:122
Definition: UnstructuredGridRepresentation.h:40
UnstructuredGridRepresentation(gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
Definition: UnstructuredGridRepresentation.h:101
Definition: EpcDocument.h:61
Definition: AbstractFeatureInterpretation.h:45