|
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 std::optional< eCustomDataType > | node_type_from_other_socket (const bNodeSocket &socket) |
| static void | node_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
| static float | compute_variance (const Span< float > data, const float mean) |
| static float | median_of_sorted_span (const Span< float > data) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
|
static |
Definition at line 105 of file node_geo_attribute_statistic.cc.
References data.
Referenced by node_geo_exec().
|
static |
Definition at line 120 of file node_geo_attribute_statistic.cc.
References data.
Referenced by node_geo_exec().
|
static |
Definition at line 23 of file node_geo_attribute_statistic.cc.
References b, BLT_I18NCONTEXT_ID_NODETREE, CTX_N_, bNode::custom1, blender::nodes::SocketDeclaration::hide_value, and N_.
Referenced by node_register().
|
static |
Definition at line 74 of file node_geo_attribute_statistic.cc.
References bNode::custom1, IFACE_, blender::nodes::NodeDeclaration::inputs, name, node_type_from_other_socket(), params, blender::nodes::search_link_ops_for_declarations(), and SOCK_IN.
Referenced by node_register().
|
static |
Definition at line 135 of file node_geo_attribute_statistic.cc.
References blender::fn::FieldEvaluator::add(), blender::Array< T, InlineBufferCapacity, Allocator >::begin(), CD_PROP_FLOAT, CD_PROP_FLOAT3, blender::array_utils::compute_sum(), compute_variance(), data, blender::Array< T, InlineBufferCapacity, Allocator >::end(), blender::fn::FieldEvaluator::evaluate(), blender::Array< T, InlineBufferCapacity, Allocator >::first(), blender::array_utils::gather(), blender::bke::GeometrySet::get_components(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), i, blender::Array< T, InlineBufferCapacity, Allocator >::last(), max, median_of_sorted_span(), min, params, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::fn::FieldEvaluator::set_selection(), and sum().
Referenced by node_register().
|
static |
Definition at line 52 of file node_geo_attribute_statistic.cc.
References CD_PROP_FLOAT, bNode::custom1, and bNode::custom2.
Referenced by node_register().
|
static |
Definition at line 46 of file node_geo_attribute_statistic.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 359 of file node_geo_attribute_statistic.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::gather_link_search_ops, GEO_NODE_ATTRIBUTE_STATISTIC, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_ATTRIBUTE, node_declare(), node_gather_link_searches(), node_geo_exec(), node_init(), node_layout(), 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.
|
static |
Definition at line 331 of file node_geo_attribute_statistic.cc.
References CD_PROP_FLOAT, CD_PROP_FLOAT3, ELEM, blender::nodes::enum_items_filter(), NOD_inline_enum_accessors, blender::nodes::RNA_def_node_enum(), rna_enum_attribute_domain_items, rna_enum_attribute_type_items, and EnumPropertyItem::value.
Referenced by node_register().
|
static |
Definition at line 58 of file node_geo_attribute_statistic.cc.
References CD_PROP_FLOAT, CD_PROP_FLOAT3, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_ROTATION, SOCK_VECTOR, and bNodeSocket::type.
Referenced by node_gather_link_searches().