|
Blender V5.3
|
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 ¶ms, 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 |
Definition at line 29 of file blender/volume.cpp.
|
inline |
Definition at line 31 of file blender/volume.cpp.
References attribute, b_domain, VDBImageLoader::clipping, blender::Object::data, domain_rna_ptr, blender::Object::id, texspace_loc, texspace_size, and VDBImageLoader::VDBImageLoader().
Referenced by equals().
|
inlineoverridevirtual |
Implements ImageLoader.
Definition at line 176 of file blender/volume.cpp.
References attribute, b_domain, BlenderSmokeLoader(), and ImageLoader::ImageLoader().
|
inline |
Definition at line 96 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, domain_rna_ptr, LOG_ERROR, and Attribute::standard_name().
Referenced by load_grid().
|
inlineoverridevirtual |
Reimplemented from VDBImageLoader.
Definition at line 42 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, blender::FluidDomainSettings::flags, blender::FLUID_DOMAIN_USE_NOISE, get_voxels(), VDBImageLoader::grid_from_dense_voxels(), make_float3(), make_int3(), blender::FluidDomainSettings::noise_scale, blender::FluidDomainSettings::res, texspace_loc, texspace_size, transform_scale(), transform_translate(), int3::x, int3::y, and int3::z.
|
inlineoverridevirtual |
Implements ImageLoader.
Definition at line 171 of file blender/volume.cpp.
References attribute, and Attribute::standard_name().
| AttributeStandard BlenderSmokeLoader::attribute |
Definition at line 185 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), equals(), get_voxels(), load_grid(), and name().
| blender::FluidDomainSettings* BlenderSmokeLoader::b_domain |
Definition at line 182 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), equals(), get_voxels(), and load_grid().
| blender::PointerRNA BlenderSmokeLoader::domain_rna_ptr |
Definition at line 183 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), and get_voxels().
| float3 BlenderSmokeLoader::texspace_loc |
Definition at line 184 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), and load_grid().
| float3 BlenderSmokeLoader::texspace_size |
Definition at line 184 of file blender/volume.cpp.
Referenced by BlenderSmokeLoader(), and load_grid().