|
H5GEO_EXPORT H5BaseContainer * | createContainer (h5gt::File h5File, h5geo::ContainerType cntType, h5geo::CreationType createFlag) |
| Factory function for creating geo-container.
|
|
H5GEO_EXPORT H5BaseContainer * | createContainerByName (std::string &fileName, h5geo::ContainerType cntType, h5geo::CreationType createFlag) |
| Factory function for creating geo-container.
|
|
H5GEO_EXPORT H5MapContainer * | createMapContainer (h5gt::File h5File, h5geo::CreationType createFlag) |
| Factory function for creating H5MapContainer.
|
|
H5GEO_EXPORT H5MapContainer * | createMapContainerByName (std::string &fileName, h5geo::CreationType createFlag) |
| Factory function for creating H5MapContainer.
|
|
H5GEO_EXPORT H5SeisContainer * | createSeisContainer (h5gt::File h5File, h5geo::CreationType createFlag) |
| Factory function for creating H5SeisContainer.
|
|
H5GEO_EXPORT H5SeisContainer * | createSeisContainerByName (std::string &fileName, h5geo::CreationType createFlag) |
| Factory function for creating H5SeisContainer.
|
|
H5GEO_EXPORT H5VolContainer * | createVolContainer (h5gt::File h5File, h5geo::CreationType createFlag) |
| Factory function for creating H5VolContainer.
|
|
H5GEO_EXPORT H5VolContainer * | createVolContainerByName (std::string &fileName, h5geo::CreationType createFlag) |
| Factory function for creating H5VolContainer.
|
|
H5GEO_EXPORT H5WellContainer * | createWellContainer (h5gt::File h5File, h5geo::CreationType createFlag) |
| Factory function for creating H5WellContainer.
|
|
H5GEO_EXPORT H5WellContainer * | createWellContainerByName (std::string &fileName, h5geo::CreationType createFlag) |
| Factory function for creating H5WellContainer.
|
|
H5GEO_EXPORT H5BaseContainer * | openContainer (h5gt::File h5File) |
| Factory function for opening geo-container.
|
|
H5GEO_EXPORT H5BaseContainer * | openContainerByName (const std::string &fileName) |
| Factory function for opening geo-container.
|
|
H5GEO_EXPORT H5BaseContainer * | openBaseContainer (h5gt::File h5File) |
| Factory function for opening H5BaseContainer.
|
|
H5GEO_EXPORT H5BaseContainer * | openBaseContainerByName (const std::string &fileName) |
| Factory function for opening H5BaseContainer.
|
|
H5GEO_EXPORT H5SeisContainer * | openSeisContainer (h5gt::File h5File) |
| Factory function for opening H5SeisContainer.
|
|
H5GEO_EXPORT H5SeisContainer * | openSeisContainerByName (const std::string &fileName) |
| Factory function for opening H5SeisContainer.
|
|
H5GEO_EXPORT H5VolContainer * | openVolContainer (h5gt::File h5File) |
| Factory function for opening H5VolContainer.
|
|
H5GEO_EXPORT H5VolContainer * | openVolContainerByName (const std::string &fileName) |
| Factory function for opening H5VolContainer.
|
|
H5GEO_EXPORT H5MapContainer * | openMapContainer (h5gt::File h5File) |
| Factory function for opening H5MapContainer.
|
|
H5GEO_EXPORT H5MapContainer * | openMapContainerByName (const std::string &fileName) |
| Factory function for opening H5MapContainer.
|
|
H5GEO_EXPORT H5WellContainer * | openWellContainer (h5gt::File h5File) |
| Factory function for opening H5WellContainer.
|
|
H5GEO_EXPORT H5WellContainer * | openWellContainerByName (const std::string &fileName) |
| Factory function for opening H5WellContainer.
|
|
H5GEO_EXPORT bool | isGeoContainer (h5gt::File file) |
| Check if the container belongs to any geo-type.
|
|
H5GEO_EXPORT bool | isGeoContainerByType (h5gt::File file, const h5geo::ContainerType &cntType) |
| Check if the container belongs to any geo-type.
|
|
H5GEO_EXPORT h5geo::ContainerType | getGeoContainerType (h5gt::File file) |
| Get container geo-type.
|
|
H5GEO_EXPORT H5BaseObject * | openObject (h5gt::Group group) |
| Factory function for opening geo-object.
|
|
H5GEO_EXPORT H5BaseObject * | openObjectByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening geo-object.
|
|
H5GEO_EXPORT H5BaseObject * | openBaseObject (h5gt::Group group) |
| Factory function for opening H5BaseObject.
|
|
H5GEO_EXPORT H5BaseObject * | openBaseObjectByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5BaseObject.
|
|
H5GEO_EXPORT H5Map * | openMap (h5gt::Group group) |
| Factory function for opening H5Map.
|
|
H5GEO_EXPORT H5Map * | openMapByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Map.
|
|
H5GEO_EXPORT H5Seis * | openSeis (h5gt::Group group) |
| Factory function for opening H5Seis.
|
|
H5GEO_EXPORT H5Seis * | openSeisByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Seis.
|
|
H5GEO_EXPORT H5Vol * | openVol (h5gt::Group group) |
| Factory function for opening H5Vol.
|
|
H5GEO_EXPORT H5Vol * | openVolByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Vol.
|
|
H5GEO_EXPORT H5Well * | openWell (h5gt::Group group) |
| Factory function for opening H5Well.
|
|
H5GEO_EXPORT H5Well * | openWellByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Well.
|
|
H5GEO_EXPORT H5DevCurve * | openDevCurve (h5gt::Group group) |
| Factory function for opening H5DevCurve.
|
|
H5GEO_EXPORT H5DevCurve * | openDevCurveByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5DevCurve.
|
|
H5GEO_EXPORT H5LogCurve * | openLogCurve (h5gt::Group group) |
| Factory function for opening H5LogCurve.
|
|
H5GEO_EXPORT H5LogCurve * | openLogCurveByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5LogCurve.
|
|
H5GEO_EXPORT H5BasePoints * | openPoints (h5gt::Group group) |
| Factory function for opening H5BasePoints derived points.
|
|
H5GEO_EXPORT H5BasePoints * | openPointsByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5BasePoints derived points.
|
|
H5GEO_EXPORT H5Points1 * | openPoints1 (h5gt::Group group) |
| Factory function for opening H5Points1.
|
|
H5GEO_EXPORT H5Points1 * | openPoints1ByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Points1.
|
|
H5GEO_EXPORT H5Points2 * | openPoints2 (h5gt::Group group) |
| Factory function for opening H5Points2.
|
|
H5GEO_EXPORT H5Points2 * | openPoints2ByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Points2.
|
|
H5GEO_EXPORT H5Points3 * | openPoints3 (h5gt::Group group) |
| Factory function for opening H5Points3.
|
|
H5GEO_EXPORT H5Points3 * | openPoints3ByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Points3.
|
|
H5GEO_EXPORT H5Points4 * | openPoints4 (h5gt::Group group) |
| Factory function for opening H5Points4.
|
|
H5GEO_EXPORT H5Points4 * | openPoints4ByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Points4.
|
|
H5GEO_EXPORT H5WellTops * | openWellTops (h5gt::Group group) |
| Factory function for opening H5WellTops.
|
|
H5GEO_EXPORT H5WellTops * | openWellTopsByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5WellTops.
|
|
H5GEO_EXPORT H5Horizon * | openHorizon (h5gt::Group group) |
| Factory function for opening H5Horizon.
|
|
H5GEO_EXPORT H5Horizon * | openHorizonByName (const std::string &fileName, const std::string &objName) |
| Factory function for opening H5Horizon.
|
|
H5GEO_EXPORT bool | isGeoObject (const h5gt::Group &group) |
| Check if HDF5 object belongs to any geo-type.
|
|
H5GEO_EXPORT bool | isGeoObjectByType (const h5gt::Group &group, const h5geo::ObjectType &objType) |
| Check if HDF5 object belongs to specified geo-type.
|
|
H5GEO_EXPORT bool | isHorizon (const h5gt::Group &group) |
| Check if HDF5 object is H5Horizon.
|
|
H5GEO_EXPORT bool | isPoints1 (const h5gt::Group &group) |
| Check if HDF5 object is H5Points1.
|
|
H5GEO_EXPORT bool | isPoints2 (const h5gt::Group &group) |
| Check if HDF5 object is H5Points2.
|
|
H5GEO_EXPORT bool | isPoints3 (const h5gt::Group &group) |
| Check if HDF5 object is H5Points3.
|
|
H5GEO_EXPORT bool | isPoints4 (const h5gt::Group &group) |
| Check if HDF5 object is H5Points4.
|
|
H5GEO_EXPORT bool | isWellTops (const h5gt::Group &group) |
| Check if HDF5 object is H5WellTops.
|
|
H5GEO_EXPORT bool | isPoints (const h5gt::Group &group) |
| Check if HDF5 object belongs to any H5BasePoints derived type.
|
|
H5GEO_EXPORT bool | isMap (const h5gt::Group &group) |
| Check if HDF5 object is H5Map.
|
|
H5GEO_EXPORT bool | isWell (const h5gt::Group &group) |
| Check if HDF5 object is H5Well.
|
|
H5GEO_EXPORT bool | isLogCurve (const h5gt::Group &group) |
| Check if HDF5 object is H5LogCurve.
|
|
H5GEO_EXPORT bool | isDevCurve (const h5gt::Group &group) |
| Check if HDF5 object is H5DevCurve.
|
|
H5GEO_EXPORT bool | isSeis (const h5gt::Group &group) |
| Check if HDF5 object is H5Seis.
|
|
H5GEO_EXPORT bool | isVol (const h5gt::Group &group) |
| Check if HDF5 object is H5Vol.
|
|
H5GEO_EXPORT h5geo::ObjectType | getGeoObjectType (const h5gt::Group &group) |
| Get HDF5 object's geo-type.
|
|
template<typename Object , typename T , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value >::type * = nullptr> |
bool | _overwriteResizableDataset (Object &node, const std::string &datasetPath, T *M, size_t nH5Rows, size_t nH5Cols, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Resize and overwrite DataSet or create it if not exists.
|
|
template<typename Object , typename D , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value) &&std::is_arithmetic< typename D::Scalar >::value >::type * = nullptr> |
bool | overwriteResizableDataset (Object &node, const std::string &datasetPath, Eigen::DenseBase< D > &M, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Resize and overwrite DataSet or create it if not exists.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value) &&std::is_arithmetic< T >::value >::type * = nullptr> |
bool | overwriteResizableDataset (Object &node, const std::string &datasetPath, std::vector< T > &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Resize and overwrite DataSet or create it if not exists.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value) &&std::is_arithmetic< T >::value >::type * = nullptr> |
bool | overwriteResizableDataset (Object &node, const std::string &datasetPath, T &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Resize and overwrite DataSet or create it if not exists.
|
|
template<typename Object , typename T , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value >::type * = nullptr> |
bool | _overwriteDataset (Object &node, const std::string &datasetPath, T *M, size_t nH5Rows, size_t nH5Cols, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Create or overwrite DataSet.
|
|
template<typename Object , typename D , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value) &&std::is_arithmetic< typename D::Scalar >::value >::type * = nullptr> |
bool | overwriteDataset (Object &node, const std::string &datasetPath, Eigen::DenseBase< D > &M, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Create or overwrite DataSet.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value) &&std::is_arithmetic< T >::value >::type * = nullptr> |
bool | overwriteDataset (Object &node, const std::string &datasetPath, std::vector< T > &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Create or overwrite DataSet.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value) &&std::is_arithmetic< T >::value >::type * = nullptr> |
bool | overwriteDataset (Object &node, const std::string &datasetPath, T &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Create or overwrite DataSet.
|
|
template<typename Object , typename T , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value >::type * = nullptr> |
bool | _readDataset (Object &node, const std::string &datasetPath, T *M, size_t nElem, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from DataSet to buffer.
|
|
template<typename Object , typename D , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_arithmetic< typename D::Scalar >::value >::type * = nullptr> |
bool | readDataset (Object &node, const std::string &datasetPath, Eigen::DenseBase< D > &M, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from DataSet.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
Eigen::MatrixXf | readFloatEigenMtxDataset (Object &node, const std::string &datasetPath, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from DataSet.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
Eigen::MatrixXd | readDoubleEigenMtxDataset (Object &node, const std::string &datasetPath, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from DataSet.
|
|
template<typename Object , typename T , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
bool | _readAttribute (Object &holder, const std::string &attrName, T *v, size_t nElem, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename D , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_arithmetic< typename D::Scalar >::value >::type * = nullptr> |
bool | readAttribute (Object &holder, const std::string &attrName, Eigen::DenseBase< D > &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_arithmetic< T >::value >::type * = nullptr> |
bool | readAttribute (Object &holder, const std::string &attrName, std::vector< T > &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_arithmetic< T >::value >::type * = nullptr> |
bool | readAttribute (Object &holder, const std::string &attrName, T &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename T , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
bool | _overwriteAttribute (Object &holder, const std::string &attrName, T *v, size_t nElem, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Create or overwrite Attribute.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
bool | overwriteAttribute (Object &holder, const std::string &attrName, const std::string &str) |
| Create or overwrite Attribute.
|
|
template<typename Object , typename D , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_arithmetic< typename D::Scalar >::value >::type * = nullptr> |
bool | overwriteAttribute (Object &holder, const std::string &attrName, Eigen::DenseBase< D > &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Create or overwrite Attribute.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_arithmetic< T >::value >::type * = nullptr> |
bool | overwriteAttribute (Object &holder, const std::string &attrName, std::vector< T > &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Create or overwrite Attribute.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_arithmetic< T >::value >::type * = nullptr> |
bool | overwriteAttribute (Object &holder, const std::string &attrName, T &v, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Create or overwrite Attribute.
|
|
template<typename Object , typename T , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
bool | _overwriteEnumAttribute (Object &holder, const std::string &attrName, T *v, size_t nElem) |
| Create or overwrite registered enum Attribute.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_enum< T >::value >::type * = nullptr> |
bool | overwriteEnumAttribute (Object &holder, const std::string &attrName, T &v) |
| Create or overwrite registered enum Attribute.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_enum< T >::value >::type * = nullptr> |
bool | overwriteEnumAttribute (Object &holder, const std::string &attrName, std::vector< T > &v) |
| Create or overwrite registered enum Attribute.
|
|
template<typename Object , typename T , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
bool | _readEnumAttribute (Object &holder, const std::string &attrName, T *v, size_t nElem) |
| Read enum data from Attribute.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_enum< T >::value >::type * = nullptr> |
T | readEnumAttribute (Object &object, const std::string &attrName) |
| Read data from Attribute.
|
|
template<typename Object , typename T , typename std::enable_if<(std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value) &&std::is_enum< T >::value >::type * = nullptr> |
std::vector< T > | readEnumVecAttribute (Object &object, const std::string &attrName) |
| Read data from Attribute.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
std::string | readStringAttribute (Object &object, const std::string &attrName) |
| Read enum data from Attribute.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
float | readFloatAttribute (Object &object, const std::string &attrName, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
double | readDoubleAttribute (Object &object, const std::string &attrName, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
std::vector< float > | readFloatVecAttribute (Object &object, const std::string &attrName, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
std::vector< double > | readDoubleVecAttribute (Object &object, const std::string &attrName, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
Eigen::VectorXf | readFloatEigenVecAttribute (Object &object, const std::string &attrName, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
Eigen::VectorXd | readDoubleEigenVecAttribute (Object &object, const std::string &attrName, const std::string &unitsFrom="", const std::string &unitsTo="") |
| Read data from Attribute.
|
|
template<typename D > |
bool | writeDataToIndexedDataset (h5gt::DataSet &dataset, const std::string &attrName, const Eigen::DenseBase< D > &v, bool resize) |
| writeDataToIndexedDataset Try to write vector to dataset with attribute where attribute is a single value reflecting row index of a corresponding dataset
|
|
template<typename T > |
Eigen::VectorX< T > | getDataFromIndexedDataset (h5gt::DataSet &dataset, const std::string &attrName) |
| Get data from indexed DataSet.
|
|
H5GEO_EXPORT std::optional< h5gt::File > | openFile (const std::string &fileName) |
|
H5GEO_EXPORT std::optional< h5gt::Group > | openGroup (const std::string &fileName, const std::string &groupName) |
|
H5GEO_EXPORT std::optional< h5gt::DataSet > | openDataSet (const std::string &fileName, const std::string &dsetName) |
|
H5GEO_EXPORT std::vector< std::string > | getRawBinHeaderNames () |
|
H5GEO_EXPORT std::vector< std::string > | getRawTraceHeaderNames () |
|
H5GEO_EXPORT bool | generatePRESTKGeometry (H5Seis *seis, double src_x0, double src_dx, size_t src_nx, double src_y0, double src_dy, size_t src_ny, double src_z, double rec_x0, double rec_dx, size_t rec_nx, double rec_y0, double rec_dy, size_t rec_ny, double rec_z, double orientation, bool moveRec) |
| As the generated geometry may be pretty big we write it to H5Seis object without returning any data.
|
|
H5GEO_EXPORT std::map< std::string, Eigen::VectorXd > | generateSTKGeometry (double x0, double dx, size_t nx, double y0, double dy, size_t ny, double z, double orientation) |
| Convenient function to generate STACK geometry.
|
|
H5GEO_EXPORT bool | compareStrings (const std::string &bigger, const std::string &smaller, const CaseSensitivity &caseSensitivity=CaseSensitivity::CASE_INSENSITIVE) |
| compareStrings Return true if strings are equal.
|
|
H5GEO_EXPORT void | eraseSubStr (std::string &mainStr, const std::string &toErase) |
| eraseSubStr First Occurrence of given substring from main string.
|
|
H5GEO_EXPORT void | eraseAllSubStr (std::string &mainStr, const std::string &toErase) |
| eraseAllSubStr Erase all Occurrences of given substring from main string.
|
|
H5GEO_EXPORT char | getDelimiter (const Delimiter &delimiter) |
|
H5GEO_EXPORT std::string | generateName (const std::vector< std::string > &nameList, std::string baseName=std::string()) |
| generateName generates unique name by adding "_i"
|
|
H5GEO_EXPORT std::vector< std::string > | splitString (const std::string &s, const std::string delimiter) |
|
H5GEO_EXPORT void | splitHeaderNames (const std::vector< std::string > &headerNamesToSplit, std::vector< std::string > &fullHeaderNames, std::vector< std::string > &shortHeaderNames) |
|
H5GEO_EXPORT void | splitHeaderBytes (const std::vector< std::string > &headerNamesToSplit, std::vector< int > &bytesStart, std::vector< int > &nBytes) |
|
H5GEO_EXPORT std::vector< std::string > | splitPath (std::string path) |
| splitPath Split path of type /path///to/where/things/happen// to output vector {"path", "to", "where", "things", "happen"}. Path that starts from / is treated as absolute
|
|
H5GEO_EXPORT std::vector< std::string > | splitPath (std::string path, std::string &filteredPath) |
| splitPath Split path of type /path///to/where/things/happen// to output vector {"path", "to", "where", "things", "happen"} and to filtered path /path/to/where/things/happen . Path that starts from / is treated as absolute
|
|
H5GEO_EXPORT std::string | splitPathToParentAndObj (const std::string &path, std::string &objName) |
| splitPathToParentAndObj Return path to parent and object name. E.g. if path = /a/s then it returns /a as path and s as object name. If path is empty or path = / then both output path and object name are empty strings.
|
|
H5GEO_EXPORT std::string | getRelativePath (const std::string &referencePath, const std::string &objPath, const CaseSensitivity &caseSensitivity=CaseSensitivity::CASE_INSENSITIVE) |
|
H5GEO_EXPORT void | getTraceHeaderNames (std::vector< std::string > &fullHeaderNames, std::vector< std::string > &shortHeaderNames) |
|
H5GEO_EXPORT std::vector< std::string > | getTraceHeaderShortNames () |
|
H5GEO_EXPORT std::vector< std::string > | getTraceHeaderFullNames () |
|
H5GEO_EXPORT void | getBinHeaderNames (std::vector< std::string > &fullHeaderNames, std::vector< std::string > &shortHeaderNames) |
|
H5GEO_EXPORT std::vector< std::string > | getBinHeaderShortNames () |
|
H5GEO_EXPORT std::vector< std::string > | getBinHeaderFullNames () |
|
H5GEO_EXPORT void | getTraceHeaderBytes (std::vector< int > &bytesStart, std::vector< int > &nBytes) |
|
H5GEO_EXPORT void | getBinHeaderBytes (std::vector< int > &bytesStart, std::vector< int > &nBytes) |
|
H5GEO_EXPORT size_t | getTraceHeaderCount () |
|
H5GEO_EXPORT size_t | getBinHeaderCount () |
|
H5GEO_EXPORT ptrdiff_t | getIndexFromAttribute (h5gt::DataSet &dataset, const std::string &attrName) |
| getIndexFromAttribute Get row/col from Datasets with attributes where attribute reflects the row/col index (like tables)
|
|
H5GEO_EXPORT bool | getSurveyInfoFromSortedData (const Eigen::Ref< const Eigen::VectorXf > &il, const Eigen::Ref< const Eigen::VectorXf > &xl, const Eigen::Ref< const Eigen::VectorXf > &x, const Eigen::Ref< const Eigen::VectorXf > &y, double &origin_x, double &origin_y, double &orientation, double &ilSpacing, double &xlSpacing, bool &isILReversed, bool &isXLReversed, bool &isPlanReversed) |
| getSurveyInfoFromSortedData It is assumed that il, xl, x, y are IL_XL sorted: ind=sort_rows(il_xl), il=il(ind,all).eval(), xl=xl(ind,all).eval(), x=x(ind,all).eval(), y=y(ind,all).eval()
|
|
H5GEO_EXPORT bool | getSurveyInfoFromSortedData (const Eigen::Ref< const Eigen::VectorXd > &il, const Eigen::Ref< const Eigen::VectorXd > &xl, const Eigen::Ref< const Eigen::VectorXd > &x, const Eigen::Ref< const Eigen::VectorXd > &y, double &origin_x, double &origin_y, double &orientation, double &ilSpacing, double &xlSpacing, bool &isILReversed, bool &isXLReversed, bool &isPlanReversed) |
|
H5GEO_EXPORT bool | getSurveyInfoFromUnsortedData (Eigen::Ref< Eigen::MatrixXf > il_xl, Eigen::Ref< Eigen::VectorXf > x, Eigen::Ref< Eigen::VectorXf > y, double &origin_x, double &origin_y, double &orientation, double &ilSpacing, double &xlSpacing, bool &isILReversed, bool &isXLReversed, bool &isPlanReversed) |
|
H5GEO_EXPORT bool | getSurveyInfoFromUnsortedData (Eigen::Ref< Eigen::MatrixXd > il_xl, Eigen::Ref< Eigen::VectorXd > x, Eigen::Ref< Eigen::VectorXd > y, double &origin_x, double &origin_y, double &orientation, double &ilSpacing, double &xlSpacing, bool &isILReversed, bool &isXLReversed, bool &isPlanReversed) |
|
H5GEO_EXPORT bool | isStraightLine (const Eigen::Ref< const Eigen::VectorXf > &x, const Eigen::Ref< const Eigen::VectorXf > &y, float eps=std::numeric_limits< float >::epsilon()) |
| check if all points lay on the same straight line taken from here: https://helloacm.com/algorithm-to-check-if-all-points-are-on-the-same-line/
|
|
H5GEO_EXPORT bool | isStraightLine (const Eigen::Ref< const Eigen::VectorXd > &x, const Eigen::Ref< const Eigen::VectorXd > &y, double eps=std::numeric_limits< double >::epsilon()) |
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * = nullptr> |
bool | deleteAllAttributes (Object &object) |
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value >::type * = nullptr> |
bool | unlinkContent (Object &object) |
| unlinkContent Unlink everything in group
|
|
template<typename T > |
Eigen::VectorX< ptrdiff_t > | find_index (Eigen::DenseBase< T > const &M) |
| find_index find all non-zero elements's indexes. Possible usage: Eigen::VectorX<ptrdiff_t> ind = find_index(M.array() > 20) M.array() > 20 returns bool matrix and then we find non-zero indexes
|
|
template<typename D , typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
h5gt::ElementSet | rowCols2ElementSet (const T &row, const Eigen::DenseBase< D > &cols) |
|
template<typename D , typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
h5gt::ElementSet | rowsCol2ElementSet (const Eigen::DenseBase< D > &rows, const T &col) |
|
template<typename D > |
h5gt::ElementSet | rowsCols2ElementSet (const Eigen::DenseBase< D > &rows, const Eigen::DenseBase< D > &cols) |
| rowsCols2ElementSet select rectilinear block of elements, i.e. uses double loop to select every possible row-col intersection
|
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
h5gt::ElementSet | rowCols2ElementSet (const T &row, const std::vector< T > &cols) |
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
h5gt::ElementSet | rowsCol2ElementSet (const std::vector< T > &rows, const T &col) |
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
h5gt::ElementSet | rowsCols2ElementSet (const std::vector< T > &rows, const std::vector< T > &cols) |
| rowsCols2ElementSet select rectilinear block of elements, i.e. uses double loop to select every possible row-col intersection
|
|
template<class To , class From > |
std::enable_if<(sizeof(To)==sizeof(From))&&std::is_trivially_copyable< From >::value &&std::is_trivial< To >::value, To >::type | bit_cast (const From &src) noexcept |
|
float | ibm2ieee (const int &from) |
|
unsigned char | ebc_to_ascii_table (unsigned char ascii) |
|
template<typename T > |
T | bswap (T val) |
|
template<typename Scalar , typename II , typename OI > |
void | bswap (II begin, II end, OI dest) |
|
template<typename T > |
T | to_big_endian (T val, h5geo::Endian fromEndian) |
|
template<typename Scalar , typename II , typename OI > |
void | to_big_endian (II begin, II end, OI dest, h5geo::Endian fromEndian) |
|
template<typename T > |
T | to_little_endian (T val, h5geo::Endian fromEndian) |
|
template<typename Scalar , typename II , typename OI > |
void | to_little_endian (II begin, II end, OI dest, h5geo::Endian fromEndian) |
|
template<typename T > |
T | to_native_endian (T val, h5geo::Endian fromEndian) |
|
template<typename Scalar , typename II , typename OI > |
void | to_native_endian (II begin, II end, OI dest, h5geo::Endian fromEndian) |
|
H5GEO_EXPORT bool | isSEGY (const std::string &segy) |
|
H5GEO_EXPORT TextEncoding | getSEGYTextEncoding (const std::string &segy) |
|
H5GEO_EXPORT Endian | getSEGYEndian (const std::string &segy) |
|
H5GEO_EXPORT SegyFormat | getSEGYFormat (const std::string &segy, h5geo::Endian endian=static_cast< h5geo::Endian >(0)) |
|
H5GEO_EXPORT bool | readSEGYTextHeader (const std::string &segy, char txtHdr[40][80], h5geo::TextEncoding encoding=static_cast< h5geo::TextEncoding >(0)) |
|
H5GEO_EXPORT bool | writeSEGYTextHeader (const std::string &segy, char txtHdr[40][80], bool truncate) |
| create new file or open existing SEGY
|
|
H5GEO_EXPORT bool | readSEGYBinHeader (const std::string &segy, double binHdr[30], h5geo::Endian endian=static_cast< h5geo::Endian >(0)) |
|
H5GEO_EXPORT bool | writeSEGYBinHeader (const std::string &segy, double binHdr[30], bool truncate, h5geo::Endian endian=h5geo::Endian::Big) |
| create new file or open existing SEGY
|
|
H5GEO_EXPORT double | getSEGYSampRate (const std::string &segy, h5geo::Endian endian=static_cast< h5geo::Endian >(0)) |
|
H5GEO_EXPORT size_t | getSEGYNSamp (const std::string &segy, h5geo::Endian endian=static_cast< h5geo::Endian >(0)) |
|
H5GEO_EXPORT size_t | getSEGYNTrc (const std::string &segy, size_t nSamp=0, h5geo::Endian endian=static_cast< h5geo::Endian >(0)) |
|
H5GEO_EXPORT Eigen::VectorX< ptrdiff_t > | readSEGYTraceHeader (const std::string &segy, const size_t &hdrOffset, const size_t &hdrSize, size_t fromTrc=0, size_t toTrc=std::numeric_limits< size_t >::max(), size_t nSamp=0, size_t nTrc=0, h5geo::Endian endian=static_cast< h5geo::Endian >(0), std::function< void(double)> progressCallback=nullptr) |
| readSEGYTraceHeader read selected header from all the traces (4 byte SEGY supported only)
|
|
H5GEO_EXPORT void | readSEGYTrace (std::ifstream &file, size_t trcInd, h5geo::SegyFormat format, h5geo::Endian endian, Eigen::Ref< Eigen::VectorXf > trace) |
| low level api. No any checks are done. User is responsible for that.
|
|
H5GEO_EXPORT bool | writeSEGYTraces (const std::string &segy, Eigen::Ref< Eigen::MatrixXd > HDR, Eigen::Ref< Eigen::MatrixXf > TRACE, h5geo::Endian endian=h5geo::Endian::Big) |
| writeSEGYTraces write traces and their headers to the end of SEGY file
|
|
H5GEO_EXPORT Eigen::MatrixXf | readSEGYTraces (const std::string &segy, size_t fromSamp=0, size_t toSamp=std::numeric_limits< size_t >::max(), size_t fromTrc=0, size_t toTrc=std::numeric_limits< size_t >::max(), size_t nSamp=0, size_t nTrc=0, h5geo::SegyFormat format=static_cast< h5geo::SegyFormat >(0), h5geo::Endian endian=static_cast< h5geo::Endian >(0), std::function< void(double)> progressCallback=nullptr) |
| readSEGYTraces read traces
|
|
H5GEO_EXPORT bool | readSEGYTracesMMap (H5Seis *seis, const std::string &segy, bool appendTraces=false, size_t nSamp=0, size_t nTrc=0, h5geo::SegyFormat format=static_cast< h5geo::SegyFormat >(0), h5geo::Endian endian=static_cast< h5geo::Endian >(0), std::vector< std::string > trcHdrNames=std::vector< std::string >(), size_t trcBuffer=10000, int nThreads=-1, std::function< void(double)> progressCallback=nullptr) |
| readSEGYTracesMMap read and write SEGY traces and trace headers to H5Seis object using Memory Mapping technique (OpenMP enabled)
|
|
H5GEO_EXPORT bool | readSEGYTraces (H5Seis *seis, const std::string &segy, bool appendTraces=false, size_t nSamp=0, size_t nTrc=0, h5geo::SegyFormat format=static_cast< h5geo::SegyFormat >(0), h5geo::Endian endian=static_cast< h5geo::Endian >(0), std::vector< std::string > trcHdrNames=std::vector< std::string >(), size_t trcBuffer=10000, std::function< void(double)> progressCallback=nullptr) |
| readSEGYTraces read and write SEGY traces and trace headers to H5Seis object using memory mapping technique (OpenMP enabled)
|
|
H5GEO_EXPORT bool | readSEGYSTACK (H5Vol *vol, const std::string &segy, const size_t &ilHdrOffset, const size_t &ilHdrSize, const size_t &xlHdrOffset, const size_t &xlHdrSize, const size_t &xHdrOffset, const size_t &xHdrSize, const size_t &yHdrOffset, const size_t &yHdrSize, double sampRate, size_t nSamp=0, size_t nTrc=0, h5geo::SegyFormat format=static_cast< h5geo::SegyFormat >(0), h5geo::Endian endian=static_cast< h5geo::Endian >(0), std::function< void(double)> progressCallback=nullptr) |
| Read SEGY STACK data, i.e. nTrc should be equal to nil*nxl. After reading origin, spacings, orientation, and angular units will be set.
|
|
template<typename Object , typename std::enable_if< std::is_same< Object, h5gt::File >::value||std::is_same< Object, h5gt::Group >::value||std::is_same< Object, h5gt::DataSet >::value >::type * > |
unsigned | readEnumAttribute (Object &object, const std::string &attrName) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | MdAzIncl2ALL (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const std::string &angularUnitsFrom, const std::string &angularUnitsTo, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdXY2ALL (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const std::string &angularUnits, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdDxDy2ALL (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const std::string &angularUnits, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdssXY2ALL (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const std::string &angularUnits, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdssDxDy2ALL (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const std::string &angularUnits, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | traj2ALL (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const std::string &angularUnitsFrom, const std::string &angularUnitsTo, const h5geo::TrajectoryFormat &trajFormat, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | MdAzIncl2MdXYTvd (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const std::string &angularUnits, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdXY2MdXYTvd (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdDxDy2MdXYTvd (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdssXY2MdXYTvd (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdssDxDy2MdXYTvd (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdXY2MdAzIncl (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const std::string &angularUnits, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdDxDy2MdAzIncl (const Eigen::DenseBase< D > &M, const std::string &angularUnits, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdssXY2MdAzIncl (const Eigen::DenseBase< D > &M, const double &x0, const double &y0, const double &kb, const std::string &angularUnits, const bool &XNorth) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | TvdssDxDy2MdAzIncl (const Eigen::DenseBase< D > &M, const double &kb, const std::string &angularUnits, const bool &XNorth) |
|
Eigen::VectorX< double > | angleAndRadius (const double &arcLen, const double &chordLen, const double &eps, const size_t &max_iter) |
| angleAndRadius Calculate angle and radius from arc and chord
|
|
double | _betaAngle (double I1, double I2, double A1, double A2, const std::string &angularUnits) |
|
double | _ratioFactor (double B, const std::string &angularUnits) |
|
double | _deltaEast (const double &dMD, double I1, double I2, double A1, double A2, const double &RF, const std::string &angularUnits) |
|
double | _deltaNorth (const double &dMD, double I1, double I2, double A1, double A2, const double &RF, const std::string &angularUnits) |
|
double | _deltaZ (const double &dMD, double I1, double I2, const double &RF, const std::string &angularUnits) |
|
double | _dMDFromDeltaEast (const double &dE, double I1, double I2, double A1, double A2, const double &RF, const std::string &angularUnits) |
|
double | _dMDFromDeltaNorth (const double &dN, double I1, double I2, double A1, double A2, const double &RF, const std::string &angularUnits) |
|
double | _dMDFromDeltaZ (const double &dZ, double I1, double I2, const double &RF, const std::string &angularUnits) |
|
double | _fa (const double &arc, const double &chord, double a, const std::string &angularUnits) |
|
double | _dfa (const double &arc, const double &chord, double a, const std::string &angularUnits) |
|
double | _ddfa (const double &arc, double a, const std::string &angularUnits) |
|
template<typename T1 , typename T2 > |
T1 | _ccw (const Eigen::Vector2< T1 > &a, const Eigen::Vector2< T1 > &b, const Eigen::MatrixBase< T2 > &c) |
| _ccw The z-value of the cross product of segments (a, b) and (a, c). Positive means c is _ccw from (a, b), negative cw. Zero means its collinear.
|
|
template<typename T > |
bool | _isLeftOf (const Eigen::Vector2< T > &a, const Eigen::Vector2< T > &b) |
| _isLeftOf Returns true if a is lexicographically before b.
|
|
template<typename T > |
T | _segmentLen (const Eigen::Vector2< T > &a, const Eigen::Vector2< T > &b) |
| _segmentLen The length of segment (a, b).
|
|
template<typename T1 , typename T2 > |
T1 | _segmentDist (const Eigen::Vector2< T1 > &a, const Eigen::Vector2< T1 > &b, const Eigen::MatrixBase< T2 > &p) |
| _segmentDist The unsigned distance of p from segment (a, b).
|
|
template<typename T > |
size_t | _getFarthestInd (const Eigen::Vector2< T > &a, const Eigen::Vector2< T > &b, const std::vector< Eigen::Vector2< T > > &v) |
| _getFarthestInd Returns the index of the farthest point from segment (a, b).
|
|
template<typename T1 , typename T2 > |
size_t | _getFarthestInd (const Eigen::Vector2< T1 > &a, const Eigen::Vector2< T1 > &b, const Eigen::MatrixX2< T2 > &v) |
|
template<typename T > |
std::vector< Eigen::Vector2< T > > | giftWrapping (std::vector< Eigen::Vector2< T > > v) |
| giftWrapping The gift-wrapping algorithm for convex hull. https://en.wikipedia.org/wiki/Gift_wrapping_algorithm
|
|
template<typename T > |
std::vector< Eigen::Vector2< T > > | GrahamScan (std::vector< Eigen::Vector2< T > > v) |
| GrahamScan The Graham scan algorithm for convex hull. https://en.wikipedia.org/wiki/Graham_scan.
|
|
template<typename T > |
std::vector< Eigen::Vector2< T > > | monotoneChain (std::vector< Eigen::Vector2< T > > v) |
| monotoneChain The monotone chain algorithm for convex hull.
|
|
template<typename T > |
void | quickHull2D (const std::vector< Eigen::Vector2< T > > &v, const Eigen::Vector2< T > &a, const Eigen::Vector2< T > &b, std::vector< Eigen::Vector2< T > > &hull) |
| quickHull2D Recursive call of the quickHull2D algorithm.
|
|
template<typename T > |
std::vector< Eigen::Vector2< T > > | quickHull2D (const std::vector< Eigen::Vector2< T > > &v) |
| quickHull2D Quick Hull 2D algorithm https://en.wikipedia.org/wiki/quickHull.
|
|
template<typename T > |
void | quickHull2D (const Eigen::MatrixX2< T > &v, const Eigen::Vector2< T > &a, const Eigen::Vector2< T > &b, Eigen::MatrixX2< T > &hull, ptrdiff_t &ih) |
| quickHull2D Recursive call of the quickHull2D algorithm.
|
|
template<typename T > |
Eigen::MatrixX2< T > | quickHull2D (const Eigen::MatrixX2< T > &v) |
| quickHull2D Quick Hull 2D algorithm https://en.wikipedia.org/wiki/quickHull.
|
|
h5gt::EnumType< ContainerTypeUType > | create_enum_ContainerType () |
|
h5gt::EnumType< ObjectTypeUType > | create_enum_ObjectType () |
|
h5gt::EnumType< DomainUType > | create_enum_Domain () |
|
h5gt::EnumType< SeisDataTypeUType > | create_enum_SeisDataType () |
|
h5gt::EnumType< SurveyTypeUType > | create_enum_SurveyType () |
|
h5gt::EnumType< TextEncodingUType > | create_enum_TextEncoding () |
|
h5gt::EnumType< EndianUType > | create_enum_Endian () |
|
h5gt::EnumType< SegyFormatUType > | create_enum_SegyFormat () |
|
h5gt::EnumType< WellDataTypeUType > | create_enum_WellDataType () |
|
h5gt::EnumType< WellNameUType > | create_enum_WellName () |
|
h5gt::EnumType< LogDataTypeUType > | create_enum_LogDataType () |
|
h5gt::EnumType< DevDataTypeUType > | create_enum_DevDataType () |
|
h5gt::EnumType< WellTypeUType > | create_enum_WellType () |
|
h5gt::EnumType< TrajectoryFormatUType > | create_enum_TrajectoryFormat () |
|
h5gt::EnumType< CreationTypeUType > | create_enum_CreationType () |
|
h5gt::EnumType< CaseSensitivityUType > | create_enum_CaseSensitivity () |
|
| ENABLE_BITMASK_OPERATORS (Delimiter) |
|
h5gt::EnumType< DelimiterUType > | create_enum_Delimiter () |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type | operator| (Enum lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type | operator& (Enum lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type | operator^ (Enum lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type | operator~ (Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type | operator|= (Enum &lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type | operator&= (Enum &lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type | operator^= (Enum &lhs, Enum rhs) |
|
template<typename D > |
Eigen::VectorX< typename D::Scalar > | interp1Monotonic (const Eigen::DenseBase< D > &x, const Eigen::DenseBase< D > &y, const Eigen::DenseBase< D > &xnew, typename D::Scalar extrapVal) |
| 1D interpolation for
|
|
h5gt::CompoundType | create_compound_Point1 () |
|
h5gt::CompoundType | create_compound_Point2 () |
|
h5gt::CompoundType | create_compound_Point3 () |
|
h5gt::CompoundType | create_compound_Point4 () |
|
template<typename D > |
Eigen::VectorX< typename D::Scalar > | polyfit (const Eigen::DenseBase< D > &x, const Eigen::DenseBase< D > &y, int order) |
|
template<typename D > |
Eigen::MatrixX< typename D::Scalar > | polyval (const Eigen::DenseBase< D > &coeffs, const Eigen::DenseBase< D > &x) |
| Evaluate a polynomial.
|
|
template<typename D > |
Eigen::VectorX< ptrdiff_t > | sort (const Eigen::DenseBase< D > &v) |
| sort return indexes such that v_sorted = v(ind).
|
|
template<typename DRaw , typename DSort > |
Eigen::VectorX< ptrdiff_t > | sort (const Eigen::DenseBase< DRaw > &v, Eigen::DenseBase< DSort > const &v_sorted_) |
| sort also calculates v_sorted_ = v(ind).
|
|
template<typename D > |
Eigen::VectorX< ptrdiff_t > | sort_rows (const Eigen::DenseBase< D > &M) |
| sort_rows sorts the rows of a matrix in ascending order based on the elements in the first column. When the first column contains repeated elements, sortrows sorts according to the values in the next column and repeats this behavior for succeeding equal values. M_sorted = M(ind, Eigen::all)
|
|
template<typename DRaw , typename DSort > |
Eigen::VectorX< ptrdiff_t > | sort_rows (const Eigen::DenseBase< DRaw > &M, Eigen::DenseBase< DSort > &M_sorted_) |
| sort_rows also calculates M_sorted = M(ind, Eigen::all).
|
|
template<typename DRaw , typename TUval > |
Eigen::VectorX< ptrdiff_t > | sort_unique (const Eigen::DenseBase< DRaw > &v, Eigen::VectorX< TUval > &uvals, Eigen::MatrixX2< ptrdiff_t > &uvals_from_size) |
| sort_unique find unique elements, sort them, identify unique values start and end indexes and return indexes such that v_sorted = v(ind).
|
|
template<typename DRaw , typename TUval , typename DSort > |
Eigen::VectorX< ptrdiff_t > | sort_unique (const Eigen::DenseBase< DRaw > &v, Eigen::VectorX< TUval > &uvals, Eigen::MatrixX2< ptrdiff_t > &uvals_from_size, Eigen::DenseBase< DSort > const &v_sorted_) |
| sort_unique also calculates v_sorted = v(ind).
|
|
template<typename DRaw , typename TUval > |
Eigen::VectorX< ptrdiff_t > | sort_rows_unique (const Eigen::DenseBase< DRaw > &M, Eigen::MatrixX< TUval > &urows, Eigen::MatrixX2< ptrdiff_t > &urows_from_size) |
| sort_rows_unique find unique rows, sort them, identify unique rows start and end row-indexes and return row-indexes such that M_sorted = M(ind, Eigen::all).
|
|
template<typename DRaw , typename TUval , typename DSort > |
Eigen::VectorX< ptrdiff_t > | sort_rows_unique (const Eigen::DenseBase< DRaw > &M, Eigen::MatrixX< TUval > &urows, Eigen::MatrixX2< ptrdiff_t > &urows_from_size, const Eigen::DenseBase< DSort > &M_sorted_) |
| sort_rows_unique also calculates M_sorted = M(ind, Eigen::all).
|
|
void | calcGrid3D (const Eigen::Ref< Eigen::VectorXd > &x, const Eigen::Ref< Eigen::VectorXd > &y, double z, Eigen::VectorXd &x_loc, Eigen::VectorXd &y_loc, Eigen::VectorXd &z_loc) |
|
template<typename Scalar > |
bool | _getSurveyInfoFromSortedData (const Eigen::Ref< const Eigen::VectorX< Scalar > > &il, const Eigen::Ref< const Eigen::VectorX< Scalar > > &xl, const Eigen::Ref< const Eigen::VectorX< Scalar > > &x, const Eigen::Ref< const Eigen::VectorX< Scalar > > &y, double &origin_x, double &origin_y, double &orientation, double &ilSpacing, double &xlSpacing, bool &isILReversed, bool &isXLReversed, bool &isPlanReversed) |
|
template<typename Scalar > |
bool | _getSurveyInfoFromUnsortedData (Eigen::Ref< Eigen::MatrixX< Scalar > > il_xl, Eigen::Ref< Eigen::VectorX< Scalar > > x, Eigen::Ref< Eigen::VectorX< Scalar > > y, double &origin_x, double &origin_y, double &orientation, double &ilSpacing, double &xlSpacing, bool &isILReversed, bool &isXLReversed, bool &isPlanReversed) |
|
template<typename Scalar > |
bool | _isStraightLine (const Eigen::Ref< const Eigen::VectorX< Scalar > > &x, const Eigen::Ref< const Eigen::VectorX< Scalar > > &y, Scalar eps) |
|