h5geo 0.4.0
C++17 and python API to work with geo-data (seismic, wells, maps, other in process) based on HDF5. Aimed at geoscientists and developers.
Loading...
Searching...
No Matches
h5points1impl.h
1#ifndef H5POINTS1IMPL_H
2#define H5POINTS1IMPL_H
3
4#include "../h5points1.h"
5#include "h5basepointsimpl.h"
6
7template <typename TBase = H5Points1>
8class H5Points1Impl : public H5BasePointsImpl<TBase>
9{
10protected:
11 explicit H5Points1Impl(const h5gt::Group &group);
12 virtual ~H5Points1Impl() = default;
13
14public:
15 virtual bool writeData(
16 h5geo::Point1Array& data,
17 const std::string& lengthUnits = "",
18 const std::string& temporalUnits = "") override;
19
20 virtual h5geo::Point1Array getData(
21 const std::string& lengthUnits = "",
22 const std::string& temporalUnits = "") override;
23
24protected:
25 bool overwritePointsDataset(
26 h5geo::Point1Array& data,
27 const std::string& lengthUnits = "",
28 const std::string& temporalUnits = "");
31 bool transformPoints(
32 h5geo::Point1Array& data,
33 bool toReadData,
34 const std::string& lengthUnitsFrom = "",
35 const std::string& lengthUnitsTo = "",
36 const std::string& temporalUnitsFrom = "",
37 const std::string& temporalUnitsTo = "");
38
39 //----------- FRIEND CLASSES -----------
40 friend class H5BaseObjectImpl<H5Points1>;
46 friend class H5BaseObjectImpl<H5BaseObject>;
47 friend class H5BaseObjectImpl<H5BasePoints>;
48 friend class H5BaseObjectImpl<H5Points2>;
49 friend class H5BaseObjectImpl<H5Points3>;
50 friend class H5BaseObjectImpl<H5Points4>;
51 friend class H5BaseObjectImpl<H5WellTops>;
52 friend class H5BaseObjectImpl<H5Horizon>;
53 friend class H5BaseObjectImpl<H5Map>;
54 friend class H5BaseObjectImpl<H5Seis>;
55 friend class H5BaseObjectImpl<H5Vol>;
56 friend class H5BaseObjectImpl<H5Well>;
57 friend class H5BaseObjectImpl<H5DevCurve>;
58 friend class H5BaseObjectImpl<H5LogCurve>;
59 friend H5BasePoints* h5geo::openPoints(h5gt::Group group);
60 friend H5Points1* h5geo::openPoints1(h5gt::Group group);
61};
62
63#endif // H5POINTS1IMPL_H
Base class for geo-containers.
Definition h5basecontainer.h:9
Definition h5basecontainerimpl.h:11
Base class for geo-objects.
Definition h5baseobject.h:13
Definition h5baseobjectimpl.h:12
Base class for Points.
Definition h5basepoints.h:16
Definition h5basepointsimpl.h:12
Provides API to work with well deviations (trajectories)
Definition h5devcurve.h:21
Provides API to work with horizons.
Definition h5horizon.h:17
Provides API to work with well logs.
Definition h5logcurve.h:18
A container built around HDF5 file and used for storing and manipulating H5Map objects.
Definition h5mapcontainer.h:15
Provides API to work with maps.
Definition h5map.h:19
Provides API to work with 1D points.
Definition h5points1.h:12
Definition h5points1impl.h:9
virtual h5geo::Point1Array getData(const std::string &lengthUnits="", const std::string &temporalUnits="") override
Read data from DataSet.
Definition h5points1impl.cpp:32
bool transformPoints(h5geo::Point1Array &data, bool toReadData, const std::string &lengthUnitsFrom="", const std::string &lengthUnitsTo="", const std::string &temporalUnitsFrom="", const std::string &temporalUnitsTo="")
Definition h5points1impl.cpp:98
virtual bool writeData(h5geo::Point1Array &data, const std::string &lengthUnits="", const std::string &temporalUnits="") override
Write data to DataSet.
Definition h5points1impl.cpp:20
Provides API to work with 2D points.
Definition h5points2.h:12
Provides API to work with 3D points.
Definition h5points3.h:12
Provides API to work with 4D points.
Definition h5points4.h:12
A container built around HDF5 file and used for storing and manipulating H5Seis objects.
Definition h5seiscontainer.h:15
Provides API to work with seismic.
Definition h5seis.h:33
A container built around HDF5 file and used for storing and manipulating H5Vol objects.
Definition h5volcontainer.h:15
Provides API to work with volumes.
Definition h5vol.h:15
A container built around HDF5 file and used for storing and manipulating H5Well objects.
Definition h5wellcontainer.h:15
Provides API to work with wells.
Definition h5well.h:22
Provides API to work with welltops.
Definition h5welltops.h:12
H5GEO_EXPORT H5BasePoints * openPoints(h5gt::Group group)
Factory function for opening H5BasePoints derived points.
Definition h5baseimpl.cpp:2188
H5GEO_EXPORT H5Points1 * openPoints1(h5gt::Group group)
Factory function for opening H5Points1.
Definition h5baseimpl.cpp:2223