32 #ifndef VolumeUtils_INCLUDE_ONCE 33 #define VolumeUtils_INCLUDE_ONCE 65 template<
typename data_type, EImageType img_type>
69 template<
typename data_type, EImageType img_type>
VLVOLUME_EXPORT ref< Image > genGradientNormals(const Image *data)
Generates an image whose RGB components represent the normals computed from the input image gradient ...
Vector3< float > fvec3
A 3 components vector with float precision.
VLVOLUME_EXPORT ref< Image > genRGBAVolumeT(const Image *data, const Image *trfunc, const fvec3 &light_dir, bool alpha_from_data)
Internally used.
Visualization Library main namespace.
VLVOLUME_EXPORT ref< Image > genRGBAVolume(const Image *data, const Image *trfunc, const fvec3 &light_dir, bool alpha_from_data=true)
Generates an RGBA image based on the given data source and transfer function.