|
Blender V5.0
|
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 73 of file node_geo_sort_elements.cc.
References blender::offset_indices::build_reverse_offsets(), find_points_by_group_index(), indices, and blender::MutableSpan< T >::size().
Referenced by find_points_by_group_index(), and sorted_indices().
|
static |
Definition at line 51 of file node_geo_sort_elements.cc.
References blender::offset_indices::OffsetIndices< T >::index_range(), indices, blender::threading::parallel_for(), and UNLIKELY.
Referenced by sorted_indices().
|
static |
Definition at line 107 of file node_geo_sort_elements.cc.
References blender::array_utils::fill_index_range(), identifiers_to_indices(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of(), indices, invert_permutation(), blender::parallel_sort(), parallel_transform(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by identifiers_to_indices(), and sorted_indices().
|
static |
Definition at line 96 of file node_geo_sort_elements.cc.
References data, blender::Span< T >::index_range(), invert_permutation(), blender::threading::parallel_for(), and blender::Span< T >::size().
Referenced by identifiers_to_indices(), and invert_permutation().
|
static |
Definition at line 265 of file node_geo_sort_elements.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Span< T >::contains(), EnumPropertyItem::identifier, items_value_in(), and T.
Referenced by items_value_in(), and node_rna().
|
static |
Definition at line 29 of file node_geo_sort_elements.cc.
References b, and blender::nodes::SocketDeclaration::hide_value.
Referenced by node_register().
|
static |
Definition at line 197 of file node_geo_sort_elements.cc.
References blender::bke::GeometrySet::add(), blender::bke::GeometryComponent::attribute_domain_size(), blender::geometry::components_supported_reordering(), blender::geometry::foreach_real_geometry(), blender::ImplicitSharingPtr< T, IsStrong >::get(), blender::bke::GeometrySet::get_component(), blender::bke::GeometrySet::get_instances(), indices, blender::nodes::Info, blender::bke::Instance, blender::bke::GeometryComponent::is_empty(), node_geo_exec(), params, blender::nodes::GeometryComponentEditData::remember_deformed_positions_if_necessary(), blender::bke::GeometrySet::remove(), blender::geometry::reorder_instaces(), blender::geometry::reordered_component(), blender::bke::GeometrySet::replace_instances(), result, sorted_indices(), and TIP_.
Referenced by node_geo_exec(), and node_register().
Definition at line 46 of file node_geo_sort_elements.cc.
References bNode::custom1, and blender::bke::Point.
Referenced by node_register().
|
static |
Definition at line 41 of file node_geo_sort_elements.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 297 of file node_geo_sort_elements.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_SORT_ELEMENTS, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, 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, ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 278 of file node_geo_sort_elements.cc.
References blender::bke::Curve, blender::Vector< T, InlineBufferCapacity, Allocator >::data(), blender::bke::Edge, blender::bke::Face, blender::bke::Instance, items_value_in(), NOD_inline_enum_accessors, node_rna(), blender::bke::Point, blender::nodes::RNA_def_node_enum(), and rna_enum_attribute_domain_items.
Referenced by node_register(), and node_rna().
|
static |
Definition at line 88 of file node_geo_sort_elements.cc.
References blender::MutableSpan< T >::index_range(), blender::threading::parallel_for(), and parallel_transform().
Referenced by identifiers_to_indices(), parallel_transform(), and sorted_indices().
|
static |
Definition at line 125 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::array_utils::copy(), blender::fn::FieldEvaluator::evaluate(), find_points_by_group_index(), blender::index_mask::IndexMask::foreach_index_optimized(), blender::array_utils::gather(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), grouped_sort(), identifiers_to_indices(), indices, blender::array_utils::indices_are_range(), blender::VArrayCommon< T >::is_single(), mask(), parallel_transform(), pos, blender::array_utils::scatter(), blender::fn::FieldEvaluator::set_selection(), and sorted_indices().
Referenced by node_geo_exec(), and sorted_indices().