Blender V5.0
BlenderVolumeLoader Class Reference

Inherits VDBImageLoader.

Public Member Functions

 BlenderVolumeLoader (BL::BlendData &b_data, BL::Volume &b_volume, const string &grid_name, BL::VolumeRender::precision_enum precision_, const float clipping)
Public Member Functions inherited from VDBImageLoader
 VDBImageLoader (const string &grid_name, const float clipping=0.001f)
 ~VDBImageLoader () override
bool load_metadata (const ImageDeviceFeatures &features, ImageMetaData &metadata) final
bool load_pixels (const ImageMetaData &metadata, void *pixels, const size_t pixels_size, const bool associate_alpha) final
string name () const override
bool equals (const ImageLoader &other) const override
void cleanup () override
bool is_vdb_loader () const override
Public Member Functions inherited from ImageLoader
 ImageLoader ()
virtual ~ImageLoader ()=default
virtual ustring osl_filepath () const
virtual int get_tile_number () const

Public Attributes

BL::Volume b_volume

Additional Inherited Members

Static Public Member Functions inherited from ImageLoader
static bool equals (const ImageLoader *a, const ImageLoader *b)
Protected Member Functions inherited from VDBImageLoader
virtual void load_grid ()
void grid_from_dense_voxels (const size_t width, const size_t height, const size_t depth, const int channels, const float *voxels, Transform transform_3d)
Protected Attributes inherited from VDBImageLoader
string grid_name
float clipping = 0.001f

Detailed Description

Definition at line 228 of file blender/volume.cpp.

Constructor & Destructor Documentation

◆ BlenderVolumeLoader()

BlenderVolumeLoader::BlenderVolumeLoader ( BL::BlendData & b_data,
BL::Volume & b_volume,
const string & grid_name,
BL::VolumeRender::precision_enum precision_,
const float clipping )
inline

Member Data Documentation

◆ b_volume

BL::Volume BlenderVolumeLoader::b_volume

Definition at line 269 of file blender/volume.cpp.

Referenced by BlenderVolumeLoader().


The documentation for this class was generated from the following file: