Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef VolumeUtils_INCLUDE_ONCE
00033 #define VolumeUtils_INCLUDE_ONCE
00034
00035 #include <vlVolume/link_config.hpp>
00036 #include <vlCore/Image.hpp>
00037
00038 namespace vl
00039 {
00046 VLVOLUME_EXPORT ref<Image> genRGBAVolume(const Image* data, const Image* trfunc, const fvec3& light_dir, bool alpha_from_data=true);
00047
00056 VLVOLUME_EXPORT ref<Image> genRGBAVolume(const Image* data, const Image* trfunc, bool alpha_from_data=true);
00057
00062 VLVOLUME_EXPORT ref<Image> genGradientNormals(const Image* data);
00063
00065 template<typename data_type, EImageType img_type>
00066 VLVOLUME_EXPORT ref<Image> genRGBAVolumeT(const Image* data, const Image* trfunc, const fvec3& light_dir, bool alpha_from_data);
00067
00069 template<typename data_type, EImageType img_type>
00070 VLVOLUME_EXPORT ref<Image> genRGBAVolumeT(const Image* data, const Image* trfunc, bool alpha_from_data);
00071 }
00072
00073 #endif