Blender V5.0
BlenderSmokeLoader Class Reference

Inherits VDBImageLoader.

Public Member Functions

 BlenderSmokeLoader (BL::Object &b_ob, AttributeStandard attribute, const float clipping)
void load_grid () override
bool get_voxels (const size_t width, const size_t height, const size_t depth, const int channels, vector< float > &voxels)
string name () const override
bool equals (const ImageLoader &other) const override
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::FluidDomainSettings b_domain
float3 texspace_loc
float3 texspace_size
AttributeStandard attribute

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
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 21 of file blender/volume.cpp.

Constructor & Destructor Documentation

◆ BlenderSmokeLoader()

BlenderSmokeLoader::BlenderSmokeLoader ( BL::Object & b_ob,
AttributeStandard attribute,
const float clipping )
inline

Member Function Documentation

◆ equals()

bool BlenderSmokeLoader::equals ( const ImageLoader & other) const
inlineoverridevirtual

Implements ImageLoader.

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

References attribute, b_domain, BlenderSmokeLoader(), and ImageLoader::ImageLoader().

◆ get_voxels()

bool BlenderSmokeLoader::get_voxels ( const size_t width,
const size_t height,
const size_t depth,
const int channels,
vector< float > & voxels )
inline

◆ load_grid()

◆ name()

string BlenderSmokeLoader::name ( ) const
inlineoverridevirtual

Implements ImageLoader.

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

References attribute, and Attribute::standard_name().

Member Data Documentation

◆ attribute

AttributeStandard BlenderSmokeLoader::attribute

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

Referenced by BlenderSmokeLoader(), equals(), get_voxels(), load_grid(), and name().

◆ b_domain

BL::FluidDomainSettings BlenderSmokeLoader::b_domain

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

Referenced by BlenderSmokeLoader(), equals(), get_voxels(), and load_grid().

◆ texspace_loc

float3 BlenderSmokeLoader::texspace_loc

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

Referenced by BlenderSmokeLoader(), and load_grid().

◆ texspace_size

float3 BlenderSmokeLoader::texspace_size

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

Referenced by BlenderSmokeLoader(), and load_grid().


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