|
Blender
V2.93
|
#include <DNA_volume_types.h>
Inherits Mesh.
Public Member Functions | |
| NODE_DECLARE | Volume () |
| virtual void | clear (bool preserve_shaders=false) override |
Public Member Functions inherited from Mesh | |
| Triangle | get_triangle (size_t i) const |
| size_t | num_triangles () const |
| SubdEdgeCrease | get_subd_crease (size_t i) const |
| bool | need_tesselation () |
| NODE_SOCKET_API_ARRAY (array< int >, triangle_patch) AttributeSet subd_attributes | |
| Mesh () | |
| ~Mesh () | |
| void | resize_mesh (int numverts, int numfaces) |
| void | reserve_mesh (int numverts, int numfaces) |
| void | resize_subd_faces (int numfaces, int num_ngons, int numcorners) |
| void | reserve_subd_faces (int numfaces, int num_ngons, int numcorners) |
| void | reserve_subd_creases (size_t num_creases) |
| void | clear_non_sockets () |
| void | add_vertex (float3 P) |
| void | add_vertex_slow (float3 P) |
| void | add_triangle (int v0, int v1, int v2, int shader, bool smooth) |
| void | add_subd_face (int *corners, int num_corners, int shader_, bool smooth_) |
| void | add_crease (int v0, int v1, float weight) |
| void | copy_center_to_motion_step (const int motion_step) |
| void | compute_bounds () override |
| void | apply_transform (const Transform &tfm, const bool apply_to_motion) override |
| void | add_face_normals () |
| void | add_vertex_normals () |
| void | add_undisplaced () |
| void | get_uv_tiles (ustring map, unordered_set< int > &tiles) override |
| void | pack_shaders (Scene *scene, uint *shader) |
| void | pack_normals (float4 *vnormal) |
| void | pack_verts (const vector< uint > &tri_prim_index, uint4 *tri_vindex, uint *tri_patch, float2 *tri_patch_uv, size_t vert_offset, size_t tri_offset) |
| void | pack_patches (uint *patch_data, uint vert_offset, uint face_offset, uint corner_offset) |
| void | pack_primitives (PackedBVH *pack, int object, uint visibility, PackFlags pack_flags) override |
| void | tessellate (DiagSplit *split) |
| SubdFace | get_subd_face (size_t index) const |
| SubdParams * | get_subd_params () |
| size_t | get_num_subd_faces () const |
| void | set_num_subd_faces (size_t num_subd_faces_) |
| size_t | get_num_subd_verts () |
Public Member Functions inherited from Geometry | |
| Geometry (const NodeType *node_type, const Type type) | |
| virtual | ~Geometry () |
| bool | need_attribute (Scene *scene, AttributeStandard std) |
| bool | need_attribute (Scene *scene, ustring name) |
| AttributeRequestSet | needed_attributes () |
| float | motion_time (int step) const |
| int | motion_step (float time) const |
| void | compute_bvh (Device *device, DeviceScene *dscene, SceneParams *params, Progress *progress, int n, int total) |
| bool | need_build_bvh (BVHLayout layout) const |
| bool | is_instanced () const |
| bool | has_true_displacement () const |
| bool | has_motion_blur () const |
| bool | has_voxel_attributes () const |
| bool | is_mesh () const |
| bool | is_hair () const |
| bool | is_volume () const |
| void | tag_update (Scene *scene, bool rebuild) |
| void | tag_bvh_update (bool rebuild) |
Public Member Functions inherited from Node | |
| Node (const NodeType *type, ustring name=ustring()) | |
| virtual | ~Node ()=0 |
| void | set (const SocketType &input, bool value) |
| void | set (const SocketType &input, int value) |
| void | set (const SocketType &input, uint value) |
| void | set (const SocketType &input, float value) |
| void | set (const SocketType &input, float2 value) |
| void | set (const SocketType &input, float3 value) |
| void | set (const SocketType &input, const char *value) |
| void | set (const SocketType &input, ustring value) |
| void | set (const SocketType &input, const Transform &value) |
| void | set (const SocketType &input, Node *value) |
| void | set (const SocketType &input, array< bool > &value) |
| void | set (const SocketType &input, array< int > &value) |
| void | set (const SocketType &input, array< float > &value) |
| void | set (const SocketType &input, array< float2 > &value) |
| void | set (const SocketType &input, array< float3 > &value) |
| void | set (const SocketType &input, array< ustring > &value) |
| void | set (const SocketType &input, array< Transform > &value) |
| void | set (const SocketType &input, array< Node * > &value) |
| bool | get_bool (const SocketType &input) const |
| int | get_int (const SocketType &input) const |
| uint | get_uint (const SocketType &input) const |
| float | get_float (const SocketType &input) const |
| float2 | get_float2 (const SocketType &input) const |
| float3 | get_float3 (const SocketType &input) const |
| ustring | get_string (const SocketType &input) const |
| Transform | get_transform (const SocketType &input) const |
| Node * | get_node (const SocketType &input) const |
| const array< bool > & | get_bool_array (const SocketType &input) const |
| const array< int > & | get_int_array (const SocketType &input) const |
| const array< float > & | get_float_array (const SocketType &input) const |
| const array< float2 > & | get_float2_array (const SocketType &input) const |
| const array< float3 > & | get_float3_array (const SocketType &input) const |
| const array< ustring > & | get_string_array (const SocketType &input) const |
| const array< Transform > & | get_transform_array (const SocketType &input) const |
| const array< Node * > & | get_node_array (const SocketType &input) const |
| bool | has_default_value (const SocketType &input) const |
| void | set_default_value (const SocketType &input) |
| bool | equals_value (const Node &other, const SocketType &input) const |
| void | copy_value (const SocketType &input, const Node &other, const SocketType &other_input) |
| void | set_value (const SocketType &input, const Node &other, const SocketType &other_input) |
| bool | equals (const Node &other) const |
| void | hash (MD5Hash &md5) |
| size_t | get_total_size_in_bytes () const |
| bool | is_a (const NodeType *type) |
| bool | socket_is_modified (const SocketType &input) const |
| bool | is_modified () |
| void | tag_modified () |
| void | clear_modified () |
| void | print_modified_sockets () const |
| const NodeOwner * | get_owner () const |
| void | set_owner (const NodeOwner *owner_) |
Additional Inherited Members | |
Public Types inherited from Mesh | |
| enum | SubdivisionType { SUBDIVISION_NONE , SUBDIVISION_LINEAR , SUBDIVISION_CATMULL_CLARK } |
Public Types inherited from Geometry | |
| enum | Type { MESH , HAIR , VOLUME } |
Static Public Attributes inherited from Geometry | |
| static const uint | MAX_MOTION_STEPS = 129 |
Protected Member Functions inherited from Mesh | |
| Mesh (const NodeType *node_type_, Type geom_type_) | |
| void | clear (bool preserve_shaders, bool preserve_voxel_data) |
Protected Member Functions inherited from Node | |
| template<typename T > | |
| void | set_if_different (const SocketType &input, T value) |
| template<typename T > | |
| void | set_if_different (const SocketType &input, array< T > &value) |
Static Protected Member Functions inherited from Node | |
| template<typename T > | |
| static T & | get_socket_value (const Node *node, const SocketType &socket) |
Protected Attributes inherited from Node | |
| const NodeOwner * | owner |
| SocketModifiedFlags | socket_modified |
Definition at line 61 of file DNA_volume_types.h.
| Volume::Volume | ( | ) |
Definition at line 48 of file volume.cpp.
|
overridevirtual |
Reimplemented from Mesh.
Definition at line 55 of file volume.cpp.
References Mesh::clear().
Referenced by GeometryManager::create_volume_mesh().
| char Volume::_pad1[2] |
Definition at line 72 of file DNA_volume_types.h.
| short Volume::_pad2[3] |
Definition at line 86 of file DNA_volume_types.h.
| int Volume::active_grid |
Definition at line 81 of file DNA_volume_types.h.
Referenced by BKE_volume_grid_active_get_for_read().
| struct AnimData* Volume::adt |
Definition at line 63 of file DNA_volume_types.h.
Referenced by acf_dsvolume_setting_ptr(), make_new_animlistelem(), outliner_add_id_contents(), volume_blend_read_data(), and volume_blend_write().
| void* Volume::batch_cache |
Definition at line 93 of file DNA_volume_types.h.
Referenced by BKE_volume_batch_cache_dirty_tag(), BKE_volume_batch_cache_free(), DRW_volume_batch_cache_dirty_tag(), DRW_volume_batch_cache_free(), drw_volume_selection_surface_cb(), drw_volume_wireframe_cb(), volume_batch_cache_clear(), volume_batch_cache_get(), volume_batch_cache_init(), volume_batch_cache_valid(), and volume_copy_data().
| VolumeDisplay Volume::display |
Definition at line 90 of file DNA_volume_types.h.
Referenced by BKE_volume_grid_wireframe(), BKE_volume_new_for_eval(), DRW_volume_batch_cache_get_wireframes_face(), drw_volume_wireframe_cb(), OVERLAY_wireframe_cache_populate(), and workbench_volume_object_cache_populate().
| char Volume::filepath[1024] |
Definition at line 66 of file DNA_volume_types.h.
Referenced by BKE_bpath_traverse_id(), BKE_packedfile_pack_all(), BKE_packedfile_unpack_volume(), BKE_volume_grids_backup_restore(), BKE_volume_is_loaded(), blender::deg::VolumeBackup::init_from_volume(), volume_import_exec(), and volume_sequence_frame().
| int Volume::flag |
Definition at line 78 of file DNA_volume_types.h.
Referenced by acf_dsvolume_setting_ptr().
| int Volume::frame_duration |
Definition at line 74 of file DNA_volume_types.h.
Referenced by volume_import_exec(), and volume_sequence_frame().
| int Volume::frame_offset |
Definition at line 75 of file DNA_volume_types.h.
Referenced by volume_import_exec(), and volume_sequence_frame().
| int Volume::frame_start |
Definition at line 73 of file DNA_volume_types.h.
Referenced by volume_import_exec(), and volume_sequence_frame().
| ID Volume::id |
Definition at line 62 of file DNA_volume_types.h.
Referenced by BKE_packedfile_count_all(), BKE_packedfile_pack_all(), BKE_packedfile_unpack_all(), BKE_volume_copy_for_eval(), BKE_volume_eval_geometry(), BKE_volume_grid_load(), BKE_volume_grid_unload(), BKE_volume_grids_backup_restore(), BKE_volume_load(), BKE_volume_new_for_eval(), BKE_volume_unload(), volume_blend_read_lib(), volume_blend_write(), volume_free_data(), and volume_import_exec().
| char Volume::is_sequence |
Definition at line 70 of file DNA_volume_types.h.
Referenced by blender::deg::DepsgraphRelationBuilder::build_object_data_geometry_datablock(), volume_import_exec(), and volume_sequence_frame().
| struct Material** Volume::mat |
Definition at line 84 of file DNA_volume_types.h.
Referenced by BKE_object_material_array_p(), BKE_volume_new_for_eval(), unlink_material_fn(), volume_blend_read_data(), volume_blend_read_expand(), volume_blend_read_lib(), volume_blend_write(), volume_copy_data(), volume_foreach_id(), and volume_free_data().
| struct PackedFile* Volume::packedfile |
Definition at line 67 of file DNA_volume_types.h.
Referenced by BKE_bpath_traverse_id(), BKE_packedfile_count_all(), BKE_packedfile_id_check(), BKE_packedfile_id_unpack(), BKE_packedfile_pack_all(), BKE_packedfile_unpack_all(), volume_blend_read_data(), volume_blend_write(), and volume_copy_data().
| VolumeRender Volume::render |
Definition at line 89 of file DNA_volume_types.h.
Referenced by BKE_volume_density_scale(), and BKE_volume_new_for_eval().
| Volume_Runtime Volume::runtime |
Definition at line 96 of file DNA_volume_types.h.
Referenced by BKE_volume_eval_geometry(), BKE_volume_grid_add(), BKE_volume_grid_get_for_read(), BKE_volume_grid_get_for_write(), BKE_volume_grid_load(), BKE_volume_grid_remove(), BKE_volume_grids_backup_restore(), BKE_volume_grids_error_msg(), BKE_volume_grids_frame_filepath(), BKE_volume_init_grids(), BKE_volume_is_loaded(), BKE_volume_is_y_up(), BKE_volume_load(), BKE_volume_num_grids(), BKE_volume_save(), BKE_volume_unload(), blender::deg::VolumeBackup::init_from_volume(), volume_blend_read_data(), volume_blend_write(), volume_copy_data(), volume_foreach_cache(), volume_free_data(), and volume_update_simplify_level().
| char Volume::sequence_mode |
Definition at line 71 of file DNA_volume_types.h.
Referenced by volume_sequence_frame().
| short Volume::totcol |
Definition at line 85 of file DNA_volume_types.h.
Referenced by BKE_object_material_len_p(), BKE_volume_new_for_eval(), DRW_volume_material_count_get(), unlink_material_fn(), volume_blend_read_expand(), volume_blend_read_lib(), volume_blend_write(), and volume_foreach_id().