Blender V5.3
volume.cc File Reference
#include <optional>
#include "MEM_guardedalloc.h"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_volume_types.h"
#include "BLI_bounds.hh"
#include "BLI_fileops.hh"
#include "BLI_index_range.hh"
#include "BLI_math_base_c.hh"
#include "BLI_math_matrix_types.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include "BLI_string_ref.hh"
#include "BLI_utildefines.hh"
#include "BKE_anim_data.hh"
#include "BKE_bake_data_block_id.hh"
#include "BKE_bpath.hh"
#include "BKE_geometry_set.hh"
#include "BKE_global.hh"
#include "BKE_idtype.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_lib_remap.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "BKE_packedFile.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BKE_volume.hh"
#include "BKE_volume_grid.hh"
#include "BKE_volume_grid_file_cache.hh"
#include "BKE_volume_openvdb.hh"
#include "BLT_translation.hh"
#include "DEG_depsgraph_query.hh"
#include "BLO_read_write.hh"
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define VOLUME_FRAME_NONE   INT_MAX

Functions

void blender::BKE_volumes_init ()
static void blender::volume_init_data (ID *id)
static void blender::volume_copy_data (Main *, std::optional< Library * >, ID *id_dst, const ID *id_src, const int)
static void blender::volume_free_data (ID *id)
static void blender::volume_foreach_id (ID *id, LibraryForeachIDData *data)
static void blender::volume_foreach_cache (ID *id, IDTypeForeachCacheFunctionCallback function_callback, void *user_data)
static void blender::volume_foreach_path (ID *id, BPathForeachPathData *bpath_data)
static void blender::volume_blend_write (BlendWriter *writer, ID *id, const void *id_address)
static void blender::volume_blend_read_data (BlendDataReader *reader, ID *id)
static void blender::volume_blend_read_after_liblink (BlendLibReader *, ID *id)
void blender::BKE_volume_init_grids (Volume *volume)
Volume * blender::BKE_volume_add (Main *bmain, const char *name)
static int blender::volume_sequence_frame (const Depsgraph *depsgraph, const Volume *volume)
bool blender::BKE_volume_is_loaded (const Volume *volume)
bool blender::BKE_volume_set_velocity_grid_by_name (Volume *volume, StringRef base_name)
bool blender::BKE_volume_load (const Volume *volume, const Main *bmain)
void blender::BKE_volume_unload (Volume *volume)
bool blender::BKE_volume_save (const Volume *volume, const Main *bmain, ReportList *reports, const char *filepath)
void blender::BKE_volume_count_memory (const Volume &volume, MemoryCounter &memory)
std::optional< Bounds< float3 > > blender::BKE_volume_min_max (const Volume *volume)
bool blender::BKE_volume_is_y_up (const Volume *volume)
bool blender::BKE_volume_is_points_only (const Volume *volume)
static void blender::volume_update_simplify_level (Main *bmain, Volume *volume, const Depsgraph *depsgraph)
static void blender::volume_evaluate_modifiers (Depsgraph *depsgraph, Scene *scene, Object *object, bke::GeometrySet &geometry_set)
void blender::BKE_volume_eval_geometry (Depsgraph *depsgraph, Volume *volume)
static Volume * blender::take_volume_ownership_from_geometry_set (bke::GeometrySet &geometry_set)
void blender::BKE_volume_data_update (Depsgraph *depsgraph, Scene *scene, Object *object)
void blender::BKE_volume_grids_backup_restore (Volume *volume, VolumeGridVector *grids, const char *filepath)
void blender::BKE_volume_batch_cache_dirty_tag (Volume *volume, int mode)
void blender::BKE_volume_batch_cache_free (Volume *volume)
int blender::BKE_volume_num_grids (const Volume *volume)
const char * blender::BKE_volume_grids_error_msg (const Volume *volume)
const char * blender::BKE_volume_grids_frame_filepath (const Volume *volume)
const bke::VolumeGridData * blender::BKE_volume_grid_get (const Volume *volume, int grid_index)
bke::VolumeGridData * blender::BKE_volume_grid_get_for_write (Volume *volume, int grid_index)
const bke::VolumeGridData * blender::BKE_volume_grid_active_get_for_read (const Volume *volume)
const bke::VolumeGridData * blender::BKE_volume_grid_find (const Volume *volume, StringRef name)
bke::VolumeGridData * blender::BKE_volume_grid_find_for_write (Volume *volume, StringRef name)
Volume * blender::BKE_volume_new_for_eval (const Volume *volume_src)
Volume * blender::BKE_volume_copy_for_eval (const Volume *volume_src)
void blender::BKE_volume_grid_remove (Volume *volume, const bke::VolumeGridData *grid)
void blender::BKE_volume_grid_add (Volume *volume, const bke::VolumeGridData &grid)
bool blender::BKE_volume_grid_determinant_valid (double determinant)
bool blender::BKE_volume_voxel_size_valid (const float3 &voxel_size)
bool blender::BKE_volume_grid_transform_valid (const float4x4 &transform)
int blender::BKE_volume_simplify_level (const Depsgraph *depsgraph)
float blender::BKE_volume_simplify_factor (const Depsgraph *depsgraph)

Macro Definition Documentation

◆ VOLUME_FRAME_NONE

#define VOLUME_FRAME_NONE   INT_MAX