Blender
V3.3
|
#include <DNA_pointcloud_types.h>
Classes | |
struct | Point |
Public Attributes | |
ID | id |
struct AnimData * | adt |
int | flag |
int | totpoint |
struct CustomData | pdata |
int | attributes_active_index |
int | _pad4 |
struct Material ** | mat |
short | totcol |
short | _pad3 [3] |
void * | batch_cache |
![]() | |
Type | geometry_type |
AttributeSet | attributes |
BoundBox | bounds |
bool | transform_applied |
bool | transform_negative_scaled |
Transform | transform_normal |
BVH * | bvh |
size_t | attr_map_offset |
size_t | prim_offset |
bool | has_volume |
bool | has_surface_bssrdf |
bool | need_update_rebuild |
bool | need_update_bvh_for_offset |
size_t | index |
![]() | |
ustring | name |
const NodeType * | type |
InternalNode | internal |
LeafNode | leaf |
Friends | |
class | BVH2 |
class | BVHBuild |
class | BVHSpatialSplit |
class | DiagSplit |
class | EdgeDice |
class | GeometryManager |
class | ObjectManager |
Additional Inherited Members | |
![]() | |
enum | Type { MESH , HAIR , VOLUME , POINTCLOUD } |
![]() | |
static const uint | MAX_MOTION_STEPS = 129 |
![]() | |
template<typename T > | |
void | set_if_different (const SocketType &input, T value) |
void | set_if_different (const SocketType &input, Node *value) |
template<typename T > | |
void | set_if_different (const SocketType &input, array< T > &value) |
void | set_if_different (const SocketType &input, array< Node * > &value) |
void | dereference_all_used_nodes () |
![]() | |
template<typename T > | |
static T & | get_socket_value (const Node *node, const SocketType &socket) |
![]() | |
const NodeOwner * | owner |
int | ref_count {0} |
SocketModifiedFlags | socket_modified |
Definition at line 16 of file DNA_pointcloud_types.h.
PointCloud::PointCloud | ( | ) |
Definition at line 96 of file scene/pointcloud.cpp.
PointCloud::~PointCloud | ( | ) |
Definition at line 100 of file scene/pointcloud.cpp.
Definition at line 138 of file scene/pointcloud.cpp.
References r.
Referenced by export_pointcloud().
|
overridevirtual |
Implements Geometry.
Definition at line 220 of file scene/pointcloud.cpp.
References ATTR_STD_MOTION_VERTEX_POSITION, Geometry::attributes, blender::math::cross(), Attribute::data_float4(), blender::math::dot(), fabsf, AttributeSet::find(), float3_to_float4(), float4_to_float3(), powf, r, transform_get_column(), and transform_point().
Reimplemented from Geometry.
Definition at line 124 of file scene/pointcloud.cpp.
References Geometry::attributes, Geometry::clear(), and AttributeSet::clear().
|
overridevirtual |
Implements Geometry.
Definition at line 176 of file scene/pointcloud.cpp.
References ATTR_STD_MOTION_VERTEX_POSITION, Geometry::attributes, Geometry::bounds, Attribute::data_float3(), BoundBox::empty, AttributeSet::find(), BoundBox::grow(), BoundBox::grow_safe(), make_float3, and BoundBox::valid().
void PointCloud::copy_center_to_motion_step | ( | const int | motion_step | ) |
Definition at line 149 of file scene/pointcloud.cpp.
References ATTR_STD_MOTION_VERTEX_POSITION, Geometry::attributes, Attribute::data_float3(), AttributeSet::find(), and Geometry::motion_step().
Referenced by export_pointcloud_motion().
|
inline |
Definition at line 65 of file scene/pointcloud.h.
References point.
Referenced by BVHBuild::add_reference_points(), and BVH2::refit_primitives().
|
overridevirtual |
Implements Geometry.
Definition at line 160 of file scene/pointcloud.cpp.
References ATTR_PRIM_GEOMETRY, ATTR_STD_UV, Geometry::attributes, AttributeSet::find(), Attribute::get_uv_tiles(), map, and tiles.
|
inline |
Definition at line 76 of file scene/pointcloud.h.
|
inline |
Definition at line 71 of file scene/pointcloud.h.
Referenced by BVHBuild::add_reference_points(), count_primitives(), GeometryManager::device_update_mesh(), ObjectManager::device_update_object_transform(), Attribute::element_size(), export_pointcloud_motion(), GeometryManager::geom_calc_offset(), PointCloud::Point::motion_key(), PointCloud::Point::point_for_step(), and BVHSpatialSplit::split_object_reference().
Definition at line 260 of file scene/pointcloud.cpp.
References Scene::default_surface, ShaderManager::get_shader_id(), make_float4, scene, Scene::shader_manager, x, y, and z.
Referenced by GeometryManager::device_update_mesh().
|
overridevirtual |
Implements Geometry.
Definition at line 286 of file scene/pointcloud.cpp.
References Geometry::has_motion_blur(), PRIMITIVE_MOTION_POINT, and PRIMITIVE_POINT.
void PointCloud::reserve | ( | int | numpoints | ) |
Definition at line 116 of file scene/pointcloud.cpp.
References Geometry::attributes, and AttributeSet::resize().
Referenced by export_pointcloud().
void PointCloud::resize | ( | int | numpoints | ) |
Definition at line 104 of file scene/pointcloud.cpp.
References Geometry::attributes, and AttributeSet::resize().
|
friend |
Definition at line 90 of file scene/pointcloud.h.
|
friend |
Definition at line 91 of file scene/pointcloud.h.
|
friend |
Definition at line 92 of file scene/pointcloud.h.
|
friend |
Definition at line 93 of file scene/pointcloud.h.
|
friend |
Definition at line 94 of file scene/pointcloud.h.
|
friend |
Definition at line 95 of file scene/pointcloud.h.
|
friend |
Definition at line 96 of file scene/pointcloud.h.
short PointCloud::_pad3[3] |
Definition at line 33 of file DNA_pointcloud_types.h.
int PointCloud::_pad4 |
Definition at line 28 of file DNA_pointcloud_types.h.
struct AnimData* PointCloud::adt |
Definition at line 18 of file DNA_pointcloud_types.h.
Referenced by acf_dspointcloud_setting_ptr(), make_new_animlistelem(), outliner_add_id_contents(), pointcloud_blend_read_data(), and pointcloud_blend_write().
int PointCloud::attributes_active_index |
Definition at line 27 of file DNA_pointcloud_types.h.
void* PointCloud::batch_cache |
Definition at line 36 of file DNA_pointcloud_types.h.
Referenced by BKE_pointcloud_batch_cache_dirty_tag(), BKE_pointcloud_batch_cache_free(), DRW_pointcloud_batch_cache_dirty_tag(), DRW_pointcloud_batch_cache_free(), pointcloud_batch_cache_clear(), pointcloud_batch_cache_get(), pointcloud_batch_cache_init(), pointcloud_batch_cache_valid(), and pointcloud_copy_data().
int PointCloud::flag |
Definition at line 20 of file DNA_pointcloud_types.h.
Referenced by acf_dspointcloud_setting_ptr().
ID PointCloud::id |
Definition at line 17 of file DNA_pointcloud_types.h.
Referenced by BKE_pointcloud_add_default(), BKE_pointcloud_copy_for_eval(), BKE_pointcloud_data_update(), BKE_pointcloud_new_for_eval(), BKE_pointcloud_new_nomain(), object_convert_exec(), pointcloud_blend_read_lib(), pointcloud_blend_write(), and pointcloud_free_data().
struct Material** PointCloud::mat |
Definition at line 31 of file DNA_pointcloud_types.h.
Referenced by BKE_object_material_array_p(), BKE_pointcloud_new_for_eval(), pointcloud_blend_read_data(), pointcloud_blend_read_expand(), pointcloud_blend_read_lib(), pointcloud_blend_write(), pointcloud_copy_data(), pointcloud_foreach_id(), pointcloud_free_data(), and unlink_material_fn().
struct CustomData PointCloud::pdata |
Definition at line 23 of file DNA_pointcloud_types.h.
Referenced by BKE_id_attribute_copy_domains_temp(), BKE_mesh_from_pointcloud(), BKE_pointcloud_add_default(), BKE_pointcloud_from_mesh(), BKE_pointcloud_new_for_eval(), BKE_pointcloud_new_nomain(), blender::bke::create_attribute_providers_for_point_cloud(), get_domains(), pointcloud_batch_cache_ensure_pos(), pointcloud_blend_read_data(), pointcloud_blend_write(), pointcloud_copy_data(), pointcloud_free_data(), pointcloud_init_data(), and pointcloud_random().
short PointCloud::totcol |
Definition at line 32 of file DNA_pointcloud_types.h.
Referenced by BKE_object_material_len_p(), BKE_pointcloud_new_for_eval(), DRW_pointcloud_material_count_get(), pointcloud_blend_read_expand(), pointcloud_blend_read_lib(), pointcloud_blend_write(), pointcloud_foreach_id(), and unlink_material_fn().
int PointCloud::totpoint |
Definition at line 23 of file DNA_pointcloud_types.h.
Referenced by BKE_bvhtree_from_pointcloud_get(), BKE_mesh_from_pointcloud(), BKE_pointcloud_add_default(), BKE_pointcloud_from_mesh(), BKE_pointcloud_new_for_eval(), BKE_pointcloud_new_nomain(), blender::bke::create_attribute_providers_for_point_cloud(), blender::geometry::execute_realize_pointcloud_task(), blender::geometry::execute_realize_pointcloud_tasks(), blender::geometry::gather_realize_tasks_recursive(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_pointcloud_points(), get_domains(), blender::bke::get_pointcloud_accessor_functions(), pointcloud_batch_cache_ensure_pos(), pointcloud_blend_read_data(), pointcloud_blend_write(), pointcloud_copy_data(), pointcloud_free_data(), pointcloud_init_data(), and pointcloud_random().