Loads density grid for volume data. This loader support 2 file formats for density grid data.
More...
#include <IO/VolumesLoader/VolumeLoader.hpp>
Loads density grid for volume data. This loader support 2 file formats for density grid data.
- PVM file format (extension .pvm) from The Volume Library at http://schorsch.efi.fh-nuernberg.de/data/volume/
- Custom file format (extension .vol, derived from pbrt heterogeneous media definition) with the following properties sigma_a [ RGB values of the absorption coefficient ] units are mm-1 sigma_s [ RGB values of the scattering coefficient ] units are mm-1 size [ w h d : 3 ints that gives the size of the grid ] density [ w*h*d white space separated floating point values defining the density ]
Definition at line 19 of file VolumeLoader.hpp.
◆ getFileExtensions()
◆ handleFileExtension()
bool Ra::IO::VolumeLoader::handleFileExtension |
( |
const std::string & | extension | ) |
const |
|
override |
◆ loadFile()
Ra::Core::Asset::FileData * Ra::IO::VolumeLoader::loadFile |
( |
const std::string & | filename | ) |
|
|
override |
◆ name()
The documentation for this class was generated from the following files:
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/IO/VolumesLoader/VolumeLoader.hpp
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/IO/VolumesLoader/VolumeLoader.cpp