|
Blender V4.5
|
Classes | |
| class | FieldAverageInput |
Enumerations | |
| enum class | Operation { Mean = 0 , Median = 1 } |
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) |
| template<typename T> | |
| static T | calculate_median (MutableSpan< T > values) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
| Enumerator | |
|---|---|
| Mean | |
| Median | |
Definition at line 68 of file node_geo_field_average.cc.
|
static |
Definition at line 124 of file node_geo_field_average.cc.
References blender::MutableSpan< T >::begin(), calculate_median(), blender::MutableSpan< T >::end(), i, blender::MutableSpan< T >::index_range(), blender::math::midpoint(), blender::MutableSpan< T >::size(), and T.
Referenced by calculate_median().
|
static |
Definition at line 27 of file node_geo_field_average.cc.
References b, BLT_I18NCONTEXT_ID_NODETREE, bNode::custom1, blender::nodes::SocketDeclaration::hide_value, and node_declare().
Referenced by node_declare(), and node_register().
|
static |
Definition at line 85 of file node_geo_field_average.cc.
References blender::nodes::GatherLinkSearchOpParams::add_item(), blender::nodes::LinkSearchOpParams::add_node(), BLT_I18NCONTEXT_ID_NODETREE, CTX_IFACE_, 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_OUT, 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 274 of file node_geo_field_average.cc.
References bNode::custom2, blender::nodes::GeoNodeExecParams::extract_input(), Mean, Median, blender::nodes::GeoNodeExecParams::node(), node_geo_exec(), blender::nodes::GeoNodeExecParams::output_is_required(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
Definition at line 62 of file node_geo_field_average.cc.
References CD_PROP_FLOAT, bNode::custom1, bNode::custom2, and node_init().
Referenced by node_init(), and node_register().
|
static |
Definition at line 56 of file node_geo_field_average.cc.
References node_layout(), uiLayout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 321 of file node_geo_field_average.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::gather_link_search_ops, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_CONVERTER, 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 294 of file node_geo_field_average.cc.
References CD_PROP_FLOAT, CD_PROP_FLOAT3, 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 70 of file node_geo_field_average.cc.
References CD_PROP_FLOAT, CD_PROP_FLOAT3, node_type_from_other_socket(), SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_VECTOR, and bNodeSocket::type.
Referenced by node_gather_link_searches(), and node_type_from_other_socket().