43 [[nodiscard]]
bool can_write(
const std::string& filepath)
const override;
46 const std::string& filepath,
50 [[nodiscard]] std::vector<std::string> get_supported_extensions()
const override;
59 static void register_with_registry();
~VDBWriter() override=default
std::string get_last_error() const override
Last error message or empty string.
bool write(const std::string &filepath, const Kakshya::VolumeData &data, const VolumeWriteOptions &options={}) override
Write volume data to disk.
bool can_write(const std::string &filepath) const override
Check whether this writer handles the given filepath.
Abstract base for volumetric format writers.
Configuration for volume writing.
A lattice and every field sampled over it, held in host memory.