|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | grouped_sort (const OffsetIndices< int > offsets, const Span< float > weights, MutableSpan< int > indices) |
| static void | find_points_by_group_index (const Span< int > indices_of_curves, MutableSpan< int > r_offsets, MutableSpan< int > r_indices) |
| static int | identifiers_to_indices (MutableSpan< int > r_identifiers_to_indices) |
| static Curves * | curve_from_points (const AttributeAccessor attributes, const VArray< float > &weights_varray, const AttributeFilter &attribute_filter) |
| static Curves * | curves_from_points (const PointCloud &points, const Field< int > &group_id_field, const Field< float > &weight_field, const AttributeFilter &attribute_filter) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 89 of file node_geo_points_to_curves.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::copy_attributes(), curve_from_points(), CURVE_TYPE_POLY, blender::bke::curves_new_nomain_single(), blender::array_utils::fill_index_range(), blender::bke::gather_attributes(), Curves::geometry, grouped_sort(), indices, blender::VArrayCommon< T >::is_single(), and blender::VArrayCommon< T >::size().
Referenced by curve_from_points(), and curves_from_points().
|
static |
Definition at line 117 of file node_geo_points_to_curves.cc.
References blender::fn::FieldEvaluator::add(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), Geometry::attributes, blender::bke::CurvesGeometry::attributes_for_write(), curve_from_points(), CURVE_TYPE_POLY, curves_from_points(), blender::bke::curves_new_nomain(), blender::geometry::debug_randomize_curve_order(), blender::fn::FieldEvaluator::evaluate(), blender::MutableSpan< T >::fill(), blender::bke::CurvesGeometry::fill_curve_types(), find_points_by_group_index(), blender::bke::gather_attributes(), Curves::geometry, blender::fn::FieldEvaluator::get_evaluated(), grouped_sort(), identifiers_to_indices(), indices, blender::VArrayCommon< T >::is_single(), blender::VArrayCommon< T >::materialize(), blender::bke::CurvesGeometry::offsets_for_write(), and PointCloud::totpoint.
Referenced by curves_from_points(), and node_geo_exec().
|
static |
Definition at line 63 of file node_geo_points_to_curves.cc.
References blender::offset_indices::build_reverse_offsets(), find_points_by_group_index(), blender::Span< T >::index_range(), and blender::MutableSpan< T >::size().
Referenced by curves_from_points(), and find_points_by_group_index().
|
static |
Definition at line 41 of file node_geo_points_to_curves.cc.
References blender::offset_indices::OffsetIndices< T >::index_range(), indices, blender::threading::parallel_for(), and UNLIKELY.
Referenced by curve_from_points(), and curves_from_points().
|
static |
Definition at line 77 of file node_geo_points_to_curves.cc.
References identifiers_to_indices(), blender::MutableSpan< T >::index_range(), and blender::threading::parallel_for().
Referenced by curves_from_points(), and identifiers_to_indices().
|
static |
Definition at line 24 of file node_geo_points_to_curves.cc.
References b, blender::nodes::SocketDeclaration::description, and blender::nodes::SocketDeclaration::hide_value.
Referenced by node_register().
|
static |
Definition at line 171 of file node_geo_points_to_curves.cc.
References curves_from_points(), blender::geometry::foreach_real_geometry(), blender::bke::GeometrySet::get_pointcloud(), blender::bke::GeometrySet::keep_only(), node_geo_exec(), params, and blender::bke::GeometrySet::replace_curves().
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 191 of file node_geo_points_to_curves.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_POINTS_TO_CURVES, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().