Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | convert_instances_to_points (GeometrySet &geometry_set, Field< float3 > position_field, Field< float > radius_field, const Field< bool > selection_field) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 25 of file node_geo_instances_to_points.cc.
References ATTR_DOMAIN_INSTANCE, ATTR_DOMAIN_POINT, InstancesComponent::attributes(), BKE_pointcloud_new_nomain(), BLI_assert, blender::GMutableSpan::data(), blender::bke::AttributeKind::data_type, blender::bke::SpanAttributeWriter< T >::finish(), blender::bke::GSpanAttributeWriter::finish(), GeometrySet::gather_attributes_for_propagation(), GEO_COMPONENT_TYPE_INSTANCES, GEO_COMPONENT_TYPE_POINT_CLOUD, GeometrySet::get_component_for_read(), InstancesComponent::instances_num(), blender::IndexMask::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), point_attributes, blender::bke::pointcloud_attributes_for_write(), positions, radii, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), GeometrySet::replace_pointcloud(), blender::fn::FieldEvaluator::set_selection(), blender::IndexMask::size(), blender::bke::SpanAttributeWriter< T >::span, blender::bke::GSpanAttributeWriter::span, and src.
Referenced by node_geo_exec().
|
static |
Definition at line 12 of file node_geo_instances_to_points.cc.
References usdtokens::b(), N_, and PROP_DISTANCE.
Referenced by register_node_type_geo_instances_to_points().
|
static |
Definition at line 88 of file node_geo_instances_to_points.cc.
References convert_instances_to_points(), GEO_COMPONENT_TYPE_EDIT, GEO_COMPONENT_TYPE_POINT_CLOUD, GeometrySet::has_instances(), GeometrySet::keep_only(), and params.
Referenced by register_node_type_geo_instances_to_points().