File H5Writer.h¶
File List > Intern > rayx-core > src > Writer > H5Writer.h
Go to the documentation of this file
#pragma once
#include <filesystem>
#include "Rays.h"
namespace rayx {
#ifndef NO_H5
RAYX_API Rays readH5Rays(const std::filesystem::path& filepath, const RayAttrMask attr = RayAttrMask::All);
RAYX_API std::vector<std::string> readH5ObjectNames(const std::filesystem::path& filepath);
RAYX_API void writeH5(const std::filesystem::path& filepath, const std::vector<std::string>& object_names, const Rays& rays,
const RayAttrMask attr = RayAttrMask::All, const bool overwrite = true);
RAYX_API void appendH5(const std::filesystem::path& filepath, const Rays& rays, const RayAttrMask attr = RayAttrMask::All);
#endif
} // namespace rayx