|
Blender
V2.93
|
#include <BKE_geometry_set.hh>
Inherits GeometryComponent.
Static Public Attributes | |
| static constexpr GeometryComponentType | static_type = GEO_COMPONENT_TYPE_POINT_CLOUD |
Attribute Access | |
| int | attribute_domain_size (const AttributeDomain domain) const final |
Additional Inherited Members | |
Static Public Member Functions inherited from GeometryComponent | |
| static GeometryComponent * | create (GeometryComponentType component_type) |
A geometry component that stores a point cloud.
Definition at line 395 of file BKE_geometry_set.hh.
| PointCloudComponent::PointCloudComponent | ( | ) |
Definition at line 30 of file geometry_component_pointcloud.cc.
Referenced by copy().
| PointCloudComponent::~PointCloudComponent | ( | ) |
Definition at line 34 of file geometry_component_pointcloud.cc.
References clear().
|
finalvirtual |
Reimplemented from GeometryComponent.
Definition at line 130 of file geometry_component_pointcloud.cc.
References ATTR_DOMAIN_POINT, and PointCloud::totpoint.
| void PointCloudComponent::clear | ( | ) |
Definition at line 49 of file geometry_component_pointcloud.cc.
References BKE_id_free(), BLI_assert, GeometryComponent::is_mutable(), and Owned.
Referenced by replace(), and ~PointCloudComponent().
|
overridevirtual |
Implements GeometryComponent.
Definition at line 39 of file geometry_component_pointcloud.cc.
References BKE_pointcloud_copy_for_eval(), Owned, and PointCloudComponent().
|
overridevirtual |
Implements GeometryComponent.
Definition at line 115 of file geometry_component_pointcloud.cc.
References BKE_pointcloud_copy_for_eval(), BLI_assert, GeometryComponent::is_mutable(), and Owned.
| const PointCloud * PointCloudComponent::get_for_read | ( | ) | const |
Definition at line 87 of file geometry_component_pointcloud.cc.
Referenced by blender::bke::create_attribute_providers_for_point_cloud().
| PointCloud * PointCloudComponent::get_for_write | ( | ) |
Definition at line 95 of file geometry_component_pointcloud.cc.
References BKE_pointcloud_copy_for_eval(), BLI_assert, GeometryComponent::is_mutable(), Owned, and ReadOnly.
Referenced by blender::bke::create_attribute_providers_for_point_cloud().
| bool PointCloudComponent::has_pointcloud | ( | ) | const |
Definition at line 60 of file geometry_component_pointcloud.cc.
|
finalvirtual |
Reimplemented from GeometryComponent.
Definition at line 105 of file geometry_component_pointcloud.cc.
|
overridevirtual |
Implements GeometryComponent.
Definition at line 110 of file geometry_component_pointcloud.cc.
References Owned.
| PointCloud * PointCloudComponent::release | ( | ) |
Definition at line 76 of file geometry_component_pointcloud.cc.
References BLI_assert, and GeometryComponent::is_mutable().
Referenced by take_pointcloud_ownership_from_geometry_set().
| void PointCloudComponent::replace | ( | PointCloud * | pointcloud, |
| GeometryOwnershipType | ownership = GeometryOwnershipType::Owned |
||
| ) |
Definition at line 66 of file geometry_component_pointcloud.cc.
References BLI_assert, clear(), and GeometryComponent::is_mutable().
Referenced by blender::ed::spreadsheet::get_display_geometry_set(), blender::nodes::join_components(), blender::bke::join_instance_groups_pointcloud(), GeometrySet::replace_pointcloud(), and take_pointcloud_ownership_from_geometry_set().
|
inlinestaticconstexpr |
Definition at line 421 of file BKE_geometry_set.hh.