|
Blender V4.5
|
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 compute_variance(), and data.
Referenced by compute_variance(), and node_geo_exec().
|
static |
Definition at line 120 of file node_geo_attribute_statistic.cc.
References data, and median_of_sorted_span().
Referenced by median_of_sorted_span(), and 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, N_, and node_declare().
Referenced by node_declare(), and node_register().
|
static |
Definition at line 74 of file node_geo_attribute_statistic.cc.
References blender::nodes::GatherLinkSearchOpParams::add_item(), blender::nodes::LinkSearchOpParams::add_node(), bNode::custom1, IFACE_, blender::nodes::GatherLinkSearchOpParams::in_out(), blender::nodes::NodeDeclaration::inputs, node_gather_link_searches(), blender::nodes::GatherLinkSearchOpParams::node_type(), node_type_from_other_socket(), blender::nodes::GatherLinkSearchOpParams::other_socket(), blender::nodes::search_link_ops_for_declarations(), SOCK_IN, blender::bke::bNodeType::static_declaration, and blender::nodes::LinkSearchOpParams::update_and_connect_available_socket().
Referenced by node_gather_link_searches(), and 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::nodes::GeoNodeExecParams::extract_input(), 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, blender::nodes::GeoNodeExecParams::node(), node_geo_exec(), blender::nodes::GeoNodeExecParams::output_is_required(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::nodes::GeoNodeExecParams::set_output(), and blender::fn::FieldEvaluator::set_selection().
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 52 of file node_geo_attribute_statistic.cc.
References CD_PROP_FLOAT, bNode::custom1, bNode::custom2, and node_init().
Referenced by node_init(), and node_register().
|
static |
Definition at line 46 of file node_geo_attribute_statistic.cc.
References node_layout(), uiLayout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and 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(), 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 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, node_rna(), blender::nodes::RNA_def_node_enum(), rna_enum_attribute_domain_items, rna_enum_attribute_type_items, and EnumPropertyItem::value.
Referenced by node_register(), and node_rna().
|
static |
Definition at line 58 of file node_geo_attribute_statistic.cc.
References CD_PROP_FLOAT, CD_PROP_FLOAT3, node_type_from_other_socket(), SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_ROTATION, SOCK_VECTOR, and bNodeSocket::type.
Referenced by node_gather_link_searches(), and node_type_from_other_socket().