Blender V5.3
blender::nodes::node_geo_instances_to_points_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void convert_instances_to_points (GeometrySet &geometry_set, Field< float3 > position_field, Field< float > radius_field, Field< bool > selection_field, const AttributeFilter &attribute_filter)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Function Documentation

◆ convert_instances_to_points()

void blender::nodes::node_geo_instances_to_points_cc::convert_instances_to_points ( GeometrySet & geometry_set,
Field< float3 > position_field,
Field< float > radius_field,
Field< bool > selection_field,
const AttributeFilter & attribute_filter )
static

Definition at line 36 of file node_geo_instances_to_points.cc.

References blender::bke::MutableAttributeAccessor::add(), blender::fn::FieldEvaluator::add(), blender::bke::AttributeFilter::allow_skip(), blender::bke::Instances::attributes(), blender::BKE_pointcloud_new_nomain(), blender::GVArrayCommon::common_info(), convert_instances_to_points(), blender::CommonVArrayInfo::data, blender::bke::AttributeIter::data_type, ELEM, blender::fn::FieldEvaluator::evaluate(), blender::bke::GSpanAttributeWriter::finish(), blender::bke::SpanAttributeWriter< T >::finish(), blender::bke::AttributeAccessor::foreach_attribute(), blender::array_utils::gather(), blender::bke::AttributeIter::get(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::bke::GeometrySet::get_instances(), blender::GPointer::GPointer(), blender::bke::subdiv::init(), blender::bke::Instances::instances_num(), blender::bke::AttributeAccessor::is_builtin(), blender::bke::AttributeIter::is_builtin, blender::index_mask::IndexMask::is_empty(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::bke::AttributeIter::name, blender::bke::Point, blender::Points, blender::bke::GeometrySet::replace_pointcloud(), blender::fn::FieldEvaluator::set_selection(), blender::bke::GAttributeReader::sharing_info, blender::CommonVArrayInfo::Single, blender::index_mask::IndexMask::size(), blender::CommonVArrayInfo::Span, blender::bke::GSpanAttributeWriter::span, blender::bke::SpanAttributeWriter< T >::span, blender::CommonVArrayInfo::type, blender::GVArrayCommon::type(), and blender::bke::GAttributeReader::varray.

Referenced by convert_instances_to_points(), and node_geo_exec().

◆ node_declare()

◆ node_geo_exec()

◆ node_register()