Blender V4.3
blender::nodes::node_geo_attribute_statistic_cc Namespace Reference

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< eCustomDataTypenode_type_from_other_socket (const bNodeSocket &socket)
 
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
 
template<typename T >
static T compute_sum (const Span< T > data)
 
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 ()
 

Function Documentation

◆ compute_sum()

template<typename T >
static T blender::nodes::node_geo_attribute_statistic_cc::compute_sum ( const Span< T > data)
static

Definition at line 104 of file node_geo_attribute_statistic.cc.

Referenced by node_geo_exec().

◆ compute_variance()

static float blender::nodes::node_geo_attribute_statistic_cc::compute_variance ( const Span< float > data,
const float mean )
static

Definition at line 109 of file node_geo_attribute_statistic.cc.

Referenced by node_geo_exec().

◆ median_of_sorted_span()

static float blender::nodes::node_geo_attribute_statistic_cc::median_of_sorted_span ( const Span< float > data)
static

Definition at line 124 of file node_geo_attribute_statistic.cc.

Referenced by node_geo_exec().

◆ node_declare()

static void blender::nodes::node_geo_attribute_statistic_cc::node_declare ( NodeDeclarationBuilder & b)
static

Definition at line 23 of file node_geo_attribute_statistic.cc.

References b, blender::nodes::SocketDeclaration::hide_value, and N_.

Referenced by node_register().

◆ node_gather_link_searches()

static void blender::nodes::node_geo_attribute_statistic_cc::node_gather_link_searches ( GatherLinkSearchOpParams & params)
static

◆ node_geo_exec()

◆ node_init()

static void blender::nodes::node_geo_attribute_statistic_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 51 of file node_geo_attribute_statistic.cc.

References CD_PROP_FLOAT.

Referenced by node_register().

◆ node_layout()

static void blender::nodes::node_geo_attribute_statistic_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 45 of file node_geo_attribute_statistic.cc.

References ptr, UI_ITEM_NONE, and uiItemR().

Referenced by node_register().

◆ node_register()

◆ node_rna()

◆ node_type_from_other_socket()

static std::optional< eCustomDataType > blender::nodes::node_geo_attribute_statistic_cc::node_type_from_other_socket ( const bNodeSocket & socket)
static