Blender V5.3
BKE_volume.hh File Reference

Volume data-block. More...

#include <memory>
#include <optional>
#include "BLI_bounds_types.hh"
#include "BLI_math_matrix_types.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_memory_counter_fwd.hh"
#include "BLI_string_ref.hh"
#include "BKE_volume_grid_fwd.hh"
#include "DNA_volume_types.h"

Go to the source code of this file.

Classes

struct  blender::bke::VolumeRuntime

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke
namespace  blender::bke::bake

Enumerations

enum  { blender::BKE_VOLUME_BATCH_DIRTY_ALL = 0 }

Functions

void blender::BKE_volumes_init ()
void blender::BKE_volume_init_grids (Volume *volume)
Volume * blender::BKE_volume_add (Main *bmain, const char *name)
bool blender::BKE_volume_is_y_up (const Volume *volume)
bool blender::BKE_volume_is_points_only (const Volume *volume)
void blender::BKE_volume_eval_geometry (Depsgraph *depsgraph, Volume *volume)
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)
bool blender::BKE_volume_load (const Volume *volume, const Main *bmain)
void blender::BKE_volume_unload (Volume *volume)
bool blender::BKE_volume_is_loaded (const 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)
bool blender::BKE_volume_set_velocity_grid_by_name (Volume *volume, StringRef base_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)
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)

Variables

void(*) blender::BKE_volume_batch_cache_dirty_tag_cb (Volume *volume, int mode) = nullptr
void(*) blender::BKE_volume_batch_cache_free_cb (Volume *volume) = nullptr

Detailed Description

Volume data-block.

Definition in file BKE_volume.hh.