Blender  V3.3
Functions
blender::nodes::node_geo_attribute_statistic_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static void node_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_init (bNodeTree *UNUSED(tree), bNode *node)
 
static void node_update (bNodeTree *ntree, 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)
 

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 148 of file node_geo_attribute_statistic.cc.

References data, and T.

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 153 of file node_geo_attribute_statistic.cc.

References data.

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 168 of file node_geo_attribute_statistic.cc.

References data.

Referenced by node_geo_exec().

◆ node_declare()

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

Definition at line 17 of file node_geo_attribute_statistic.cc.

References usdtokens::b(), and N_.

Referenced by register_node_type_geo_attribute_statistic().

◆ node_gather_link_searches()

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

◆ node_geo_exec()

static void blender::nodes::node_geo_attribute_statistic_cc::node_geo_exec ( GeoNodeExecParams  params)
static

◆ node_init()

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

Definition at line 49 of file node_geo_attribute_statistic.cc.

References ATTR_DOMAIN_POINT, CD_PROP_FLOAT, and node.

◆ node_layout()

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

Definition at line 43 of file node_geo_attribute_statistic.cc.

References ptr, and uiItemR().

Referenced by register_node_type_geo_attribute_statistic().

◆ 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

◆ node_update()

static void blender::nodes::node_geo_attribute_statistic_cc::node_update ( bNodeTree ntree,
bNode node 
)
static