21#include "AbstractProperty.h"
54 DLL_IMPORT_OR_EXPORT uint64_t getValuesCountOfDimensionOfPatch(uint64_t dimIndex, uint64_t patchIndex) const final;
65 DLL_IMPORT_OR_EXPORT uint64_t getDimensionsCountOfPatch(uint64_t patchIndex) const final;
77 DLL_IMPORT_OR_EXPORT uint64_t getXyzPointCountOfPatch(
unsigned int patchIndex)
const {
78 return getValuesCountOfPatch(patchIndex) / 3;
153 DLL_IMPORT_OR_EXPORT
void pushBackArray1dOfXyzPoints(
const double * xyzPoints, uint64_t pointCount, EML2_NS::AbstractHdfProxy* proxy =
nullptr);
173 DLL_IMPORT_OR_EXPORT
void pushBackArray2dOfXyzPoints(
const double * xyzPoints, uint64_t pointCountInFastestDim, uint64_t pointCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy =
nullptr);
195 DLL_IMPORT_OR_EXPORT
void pushBackArray3dOfXyzPoints(
const double * xyzPoints, uint64_t pointCountInFastestDim, uint64_t pointCountInMiddleDim, uint64_t pointCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy =
nullptr);
214 DLL_IMPORT_OR_EXPORT
void pushBackArrayOfXyzPoints(
double const * xyzPoints, uint64_t
const * pointCountByDimension,
unsigned int numArrayDimensions, EML2_NS::AbstractHdfProxy* proxy =
nullptr);
261 DLL_IMPORT_OR_EXPORT
static const char*
XML_TAG;
263 DLL_IMPORT_OR_EXPORT std::string
getXmlTag() const final {
return XML_TAG; }
285 PointsProperty(gsoap_resqml2_0_1::_resqml20__PointsProperty* fromGsoap) : RESQML2_NS::AbstractProperty(fromGsoap) {}
286 PointsProperty(gsoap_eml2_3::resqml22__PointsProperty* fromGsoap) : RESQML2_NS::AbstractProperty(fromGsoap) {}
288 virtual EML2_NS::AbstractHdfProxy* getValuesHdfProxyAndDatasetPathOfPatch(
unsigned int patchIndex, std::string & datasetPath)
const = 0;
Proxy class for an abstract property.
Definition AbstractProperty.h:37
Proxy class for an points property.
Definition PointsProperty.h:27
void getXyzPointsOfAllPatches(double *xyzPoints) const
Gets all the xyz points of all patches of this property. xyz points are given in the local CRS.
void pushBackArrayOfXyzPoints(double const *xyzPoints, uint64_t const *pointCountByDimension, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr)
Adds an nd array of points (in local CRS) to the property.
void pushBackArray2dOfXyzPoints(const double *xyzPoints, uint64_t pointCountInFastestDim, uint64_t pointCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
Adds a 2d array of points (in local CRS) to the property.
std::string getXmlTag() const final
Definition PointsProperty.h:263
void pushBackArray1dOfXyzPoints(const double *xyzPoints, uint64_t pointCount, eml2::AbstractHdfProxy *proxy=nullptr)
Adds a 1d array of points (in local CRS) to the property.
void pushBackArray3dOfXyzPoints(const double *xyzPoints, uint64_t pointCountInFastestDim, uint64_t pointCountInMiddleDim, uint64_t pointCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
Adds a 3d array of points (in local CRS) to the property.
void getXyzPointsOfAllPatchesInGlobalCrs(double *xyzPoints) const
uint64_t getXyzPointCountOfAllPatches() const
bool validatePropertyKindAssociation(eml2::PropertyKind *) final
Definition PointsProperty.h:244
bool validatePropertyKindAssociation(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind) final
Definition PointsProperty.h:256
virtual ~PointsProperty()=default
virtual std::string pushBackRefToExistingDataset(eml2::AbstractHdfProxy *proxy, const std::string &datasetName="")=0
void getXyzPointsOfPatchInGlobalCrs(unsigned int patchIndex, double *xyzPoints) const
Gets all the xyz points of a particular patch of this property. xyz points are given in the global CR...
static const char * XML_TAG
Definition PointsProperty.h:261
common::AbstractObject::numericalDatatypeEnum getValuesHdfDatatype() const final
void getXyzPointsOfPatch(unsigned int patchIndex, double *xyzPoints) const
Gets all the xyz points of a particular patch of this property. xyz points are given in the local CRS...