|
Blender V4.3
|
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 | grouped_sort (const OffsetIndices< int > offsets, const Span< float > weights, MutableSpan< int > indices) |
| static void | find_points_by_group_index (const Span< int > indices, MutableSpan< int > r_offsets, MutableSpan< int > r_indices) |
| template<typename T , typename Func > | |
| static void | parallel_transform (MutableSpan< T > values, const int64_t grain_size, const Func &func) |
| static Array< int > | invert_permutation (const Span< int > permutation) |
| static int | identifiers_to_indices (MutableSpan< int > r_identifiers_to_indices) |
| static std::optional< Array< int > > | sorted_indices (const fn::FieldContext &field_context, const int domain_size, const Field< bool > selection_field, const Field< int > group_id_field, const Field< float > weight_field) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| template<typename T > | |
| static Vector< EnumPropertyItem > | items_value_in (const Span< T > values, const EnumPropertyItem *src_items) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
|
static |
Definition at line 70 of file node_geo_sort_elements.cc.
References find_points_by_group_index(), int, and blender::MutableSpan< T >::size().
Referenced by find_points_by_group_index(), and sorted_indices().
|
static |
Definition at line 48 of file node_geo_sort_elements.cc.
References blender::offset_indices::OffsetIndices< T >::index_range(), blender::threading::parallel_for(), and UNLIKELY.
Referenced by sorted_indices().
|
static |
Definition at line 104 of file node_geo_sort_elements.cc.
References identifiers_to_indices(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of(), indices, invert_permutation(), blender::parallel_sort(), parallel_transform(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by identifiers_to_indices(), and sorted_indices().
|
static |
Definition at line 93 of file node_geo_sort_elements.cc.
References data, blender::Span< T >::index_range(), invert_permutation(), and blender::Span< T >::size().
Referenced by identifiers_to_indices(), and invert_permutation().
|
static |
Definition at line 262 of file node_geo_sort_elements.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EnumPropertyItem::identifier, and items_value_in().
Referenced by items_value_in().
|
static |
Definition at line 28 of file node_geo_sort_elements.cc.
References b, and blender::nodes::SocketDeclaration::hide_value.
Referenced by node_register().
|
static |
Definition at line 194 of file node_geo_sort_elements.cc.
References blender::bke::GeometrySet::add(), blender::bke::GeometryComponent::attribute_domain_size(), blender::ImplicitSharingPtr< T, IsStrong >::get(), blender::bke::GeometrySet::get_component(), blender::bke::GeometrySet::get_instances(), blender::bke::GeometryComponent::is_empty(), blender::bke::GeometrySet::modify_geometry_sets(), node_geo_exec(), params, blender::bke::GeometrySet::remove(), blender::bke::GeometrySet::replace_instances(), sorted_indices(), and TIP_.
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 43 of file node_geo_sort_elements.cc.
References int, and blender::bke::Point.
Referenced by node_register().
|
static |
Definition at line 38 of file node_geo_sort_elements.cc.
References ptr, UI_ITEM_NONE, and uiItemR().
Referenced by node_register().
|
static |
Definition at line 294 of file node_geo_sort_elements.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), node_init(), node_layout(), node_register(), blender::bke::node_register_type(), node_rna(), blender::bke::bNodeType::rna_ext, and ExtensionRNA::srna.
Referenced by node_register().
|
static |
Definition at line 275 of file node_geo_sort_elements.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), NOD_inline_enum_accessors, node_rna(), blender::nodes::RNA_def_node_enum(), and rna_enum_attribute_domain_items.
Referenced by node_register(), and node_rna().
|
static |
Definition at line 85 of file node_geo_sort_elements.cc.
References parallel_transform().
Referenced by identifiers_to_indices(), and parallel_transform().
|
static |
Definition at line 122 of file node_geo_sort_elements.cc.
References blender::fn::FieldEvaluator::add(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::index_mask::IndexMask::complement(), blender::fn::FieldEvaluator::evaluate(), find_points_by_group_index(), blender::index_mask::IndexMask::foreach_index_optimized(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), grouped_sort(), identifiers_to_indices(), indices, int, blender::VArrayCommon< T >::is_single(), pos, blender::fn::FieldEvaluator::set_selection(), and sorted_indices().
Referenced by node_geo_exec(), and sorted_indices().