Blender V4.5
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< float3float3 > &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< float3float3 > & position_field,
const Field< float > & radius_field,
const Field< bool > & selection_field,
const AttrDomain domain,
const AttributeFilter & attribute_filter )
static

Definition at line 52 of file node_geo_mesh_to_points.cc.

References blender::bke::MutableAttributeAccessor::add(), blender::fn::FieldEvaluator::add(), Geometry::attributes, BKE_pointcloud_new_nomain(), CD_PROP_FLOAT, blender::GSpan::data(), blender::bke::GAttributeReader::domain, blender::fn::FieldEvaluator::evaluate(), blender::bke::GSpanAttributeWriter::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(), init(), init(), blender::GVArrayCommon::is_span(), blender::VArrayCommon< T >::is_span(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::bke::GeometrySet::keep_only_during_modify(), blender::bke::AttributeAccessor::lookup(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::bke::pointcloud_new_no_attributes(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), blender::bke::GeometrySet::remove_geometry_during_modify(), 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::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 40 of file node_geo_mesh_to_points.cc.

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

Referenced by node_register().

◆ node_register()

◆ node_rna()