|
Blender V5.0
|
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 |
Definition at line 21 of file blender/volume.cpp.
|
inline |
Definition at line 23 of file blender/volume.cpp.
References attribute, b_domain, VDBImageLoader::clipping, mesh_texture_space(), object_fluid_gas_domain_find(), texspace_loc, texspace_size, and VDBImageLoader::VDBImageLoader().
Referenced by equals().
|
inlineoverridevirtual |
Implements ImageLoader.
Definition at line 160 of file blender/volume.cpp.
References attribute, b_domain, BlenderSmokeLoader(), and ImageLoader::ImageLoader().
|
inline |
Definition at line 79 of file blender/volume.cpp.
References ATTR_STD_VOLUME_COLOR, ATTR_STD_VOLUME_DENSITY, ATTR_STD_VOLUME_FLAME, ATTR_STD_VOLUME_HEAT, ATTR_STD_VOLUME_TEMPERATURE, ATTR_STD_VOLUME_VELOCITY, attribute, b_domain, length(), LOG_ERROR, and Attribute::standard_name().
Referenced by load_grid().
|
inlineoverridevirtual |
Reimplemented from VDBImageLoader.
Definition at line 32 of file blender/volume.cpp.
References ATTR_STD_VOLUME_COLOR, ATTR_STD_VOLUME_DENSITY, ATTR_STD_VOLUME_FLAME, ATTR_STD_VOLUME_HEAT, ATTR_STD_VOLUME_TEMPERATURE, ATTR_STD_VOLUME_VELOCITY, attribute, b_domain, get_int3(), get_voxels(), VDBImageLoader::grid_from_dense_voxels(), texspace_loc, texspace_size, transform_scale(), transform_translate(), int3::x, int3::y, and int3::z.
|
inlineoverridevirtual |
Implements ImageLoader.
Definition at line 155 of file blender/volume.cpp.
References attribute, and Attribute::standard_name().
| AttributeStandard BlenderSmokeLoader::attribute |
Definition at line 168 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), equals(), get_voxels(), load_grid(), and name().
| BL::FluidDomainSettings BlenderSmokeLoader::b_domain |
Definition at line 166 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), equals(), get_voxels(), and load_grid().
| float3 BlenderSmokeLoader::texspace_loc |
Definition at line 167 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), and load_grid().
| float3 BlenderSmokeLoader::texspace_size |
Definition at line 167 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), and load_grid().