Radium Engine  1.5.20
Loading...
Searching...
No Matches
VolumeLoader.hpp
1#pragma once
2
3#include <Core/Asset/FileLoaderInterface.hpp>
4#include <IO/RaIO.hpp>
5
6namespace Ra {
7namespace IO {
19class RA_IO_API VolumeLoader : public Ra::Core::Asset::FileLoaderInterface
20{
21 public:
23
24 ~VolumeLoader() override;
25
26 std::vector<std::string> getFileExtensions() const override;
27 bool handleFileExtension( const std::string& extension ) const override;
28 Ra::Core::Asset::FileData* loadFile( const std::string& filename ) override;
29 std::string name() const override;
30
31 private:
37 Ra::Core::Asset::FileData* loadVolFile( const std::string& filename );
38
44 Ra::Core::Asset::FileData* loadPvmFile( const std::string& filename );
45};
46
47} // namespace IO
48} // namespace Ra
Loads density grid for volume data. This loader support 2 file formats for density grid data.
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3