Blender V5.3
BlenderSmokeLoader Class Reference

Inherits VDBImageLoader.

Public Member Functions

 BlenderSmokeLoader (blender::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 (ImageMetaData &metadata, const ImageLoaderParams &params, Progress &progress) override
bool load_pixels (const ImageMetaData &metadata, void *pixels) override
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 bool load_pixels_tile (const ImageMetaData &, const int, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const ExtensionType, uint8_t *)
virtual int get_tile_number () const

Public Attributes

blender::FluidDomainSettings * b_domain
blender::PointerRNA domain_rna_ptr
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 29 of file blender/volume.cpp.

Constructor & Destructor Documentation

◆ BlenderSmokeLoader()

BlenderSmokeLoader::BlenderSmokeLoader ( blender::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 176 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 171 of file blender/volume.cpp.

References attribute, and Attribute::standard_name().

Member Data Documentation

◆ attribute

AttributeStandard BlenderSmokeLoader::attribute

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

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

◆ b_domain

blender::FluidDomainSettings* BlenderSmokeLoader::b_domain

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

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

◆ domain_rna_ptr

blender::PointerRNA BlenderSmokeLoader::domain_rna_ptr

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

Referenced by BlenderSmokeLoader(), and get_voxels().

◆ texspace_loc

float3 BlenderSmokeLoader::texspace_loc

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

Referenced by BlenderSmokeLoader(), and load_grid().

◆ texspace_size

float3 BlenderSmokeLoader::texspace_size

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

Referenced by BlenderSmokeLoader(), and load_grid().


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