Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "BLI_array.hh"
#include "BLI_math_matrix.h"
#include "BLI_math_vec_types.hh"
#include "BLI_math_vector.h"
#include "BLI_vector.hh"
#include "DNA_volume_types.h"
#include "BKE_volume.h"
#include "BKE_volume_render.h"
Go to the source code of this file.
Functions | |
bool | BKE_volume_grid_dense_floats (const Volume *volume, const VolumeGrid *volume_grid, DenseFloatVolumeGrid *r_dense_grid) |
void | BKE_volume_dense_float_grid_clear (DenseFloatVolumeGrid *dense_grid) |
void | BKE_volume_grid_wireframe (const Volume *volume, const VolumeGrid *volume_grid, BKE_volume_wireframe_cb cb, void *cb_userdata) |
void | BKE_volume_grid_selection_surface (const Volume *volume, const VolumeGrid *volume_grid, BKE_volume_selection_surface_cb cb, void *cb_userdata) |
float | BKE_volume_density_scale (const Volume *volume, const float matrix[4][4]) |
void BKE_volume_dense_float_grid_clear | ( | DenseFloatVolumeGrid * | dense_grid | ) |
Definition at line 129 of file volume_render.cc.
References MEM_freeN, and DenseFloatVolumeGrid::voxels.
Referenced by volume_grid_cache_get().
Definition at line 426 of file volume_render.cc.
References len_v3(), mul_mat3_m4_v3(), normalize_v3(), Volume::render, VolumeRender::space, and VOLUME_SPACE_OBJECT.
bool BKE_volume_grid_dense_floats | ( | const Volume * | volume, |
const VolumeGrid * | volume_grid, | ||
DenseFloatVolumeGrid * | r_dense_grid | ||
) |
Definition at line 91 of file volume_render.cc.
References BKE_volume_grid_channels(), BKE_volume_grid_type(), DenseFloatVolumeGrid::channels, channels(), copy_v3_v3_int(), float(), MEM_malloc_arrayN, DenseFloatVolumeGrid::resolution, DenseFloatVolumeGrid::texture_to_object, UNUSED_VARS, and DenseFloatVolumeGrid::voxels.
void BKE_volume_grid_selection_surface | ( | const Volume * | volume, |
const VolumeGrid * | volume_grid, | ||
BKE_volume_selection_surface_cb | cb, | ||
void * | cb_userdata | ||
) |
Definition at line 398 of file volume_render.cc.
References BKE_volume_grid_type(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), UNUSED_VARS, and verts.
void BKE_volume_grid_wireframe | ( | const Volume * | volume, |
const VolumeGrid * | volume_grid, | ||
BKE_volume_wireframe_cb | cb, | ||
void * | cb_userdata | ||
) |
Definition at line 321 of file volume_render.cc.
References BKE_volume_grid_type(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), Volume::display, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), UNUSED_VARS, verts, VOLUME_WIREFRAME_BOUNDS, VOLUME_WIREFRAME_COARSE, VOLUME_WIREFRAME_NONE, VOLUME_WIREFRAME_POINTS, VolumeDisplay::wireframe_detail, and VolumeDisplay::wireframe_type.