Blender V5.0
blender::nodes::node_geo_mesh_to_points_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
static void node_init (bNodeTree *, bNode *node)
static void geometry_set_mesh_to_points (GeometrySet &geometry_set, const Field< float3 > &position_field, const Field< float > &radius_field, const Field< bool > &selection_field, const AttrDomain domain, const AttributeFilter &attribute_filter)
static void node_geo_exec (GeoNodeExecParams params)
static void node_rna (StructRNA *srna)
static void node_register ()

Function Documentation

◆ geometry_set_mesh_to_points()

void blender::nodes::node_geo_mesh_to_points_cc::geometry_set_mesh_to_points ( GeometrySet & geometry_set,
const Field< float3 > & position_field,
const Field< float > & radius_field,
const Field< bool > & selection_field,
const AttrDomain domain,
const AttributeFilter & attribute_filter )
static

Definition at line 56 of file node_geo_mesh_to_points.cc.

References blender::bke::MutableAttributeAccessor::add(), blender::fn::FieldEvaluator::add(), Geometry::attributes, BKE_pointcloud_new_nomain(), blender::GSpan::data(), blender::bke::GAttributeReader::domain, ELEM, blender::fn::FieldEvaluator::evaluate(), blender::bke::GSpanAttributeWriter::finish(), blender::bke::SpanAttributeWriter< T >::finish(), blender::array_utils::gather(), blender::bke::GeometrySet::gather_attributes_for_propagation(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::GVArrayCommon::get_internal_span(), blender::VArrayCommon< T >::get_internal_span(), blender::bke::GeometrySet::get_mesh(), i, init(), init(), blender::GVArrayCommon::is_span(), blender::VArrayCommon< T >::is_span(), blender::bke::GeometrySet::keep_only(), blender::bke::GeometrySet::GatheredAttributes::kinds, blender::bke::AttributeAccessor::lookup(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::bke::GeometrySet::GatheredAttributes::names, blender::bke::pointcloud_new_no_attributes(), blender::bke::GeometrySet::replace_pointcloud(), blender::fn::FieldEvaluator::set_selection(), blender::bke::AttributeReader< T >::sharing_info, blender::bke::GAttributeReader::sharing_info, blender::index_mask::IndexMask::size(), blender::bke::GSpanAttributeWriter::span, blender::bke::SpanAttributeWriter< T >::span, blender::bke::AttributeReader< T >::varray, blender::bke::GAttributeReader::varray, and Mesh::verts_num.

Referenced by node_geo_exec().

◆ node_declare()

void blender::nodes::node_geo_mesh_to_points_cc::node_declare ( NodeDeclarationBuilder & b)
static

◆ node_geo_exec()

◆ node_init()

void blender::nodes::node_geo_mesh_to_points_cc::node_init ( bNodeTree * ,
bNode * node )
static

◆ node_layout()

void blender::nodes::node_geo_mesh_to_points_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 44 of file node_geo_mesh_to_points.cc.

References uiLayout::prop(), ptr, and UI_ITEM_NONE.

Referenced by node_register().

◆ node_register()

◆ node_rna()