Blender V5.0
blender::nodes::node_geo_blur_attribute_cc Namespace Reference

Classes

class  BlurAttributeFieldInput

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
static void node_init (bNodeTree *, bNode *node)
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
static void build_vert_to_vert_by_edge_map (const Span< int2 > edges, const int verts_num, Array< int > &r_offsets, Array< int > &r_indices)
static void build_edge_to_edge_by_vert_map (const Span< int2 > edges, const int verts_num, Array< int > &r_offsets, Array< int > &r_indices)
static void build_face_to_face_by_edge_map (const OffsetIndices< int > faces, const Span< int > corner_edges, const int edges_num, Array< int > &r_offsets, Array< int > &r_indices)
static GroupedSpan< int > create_mesh_map (const Mesh &mesh, const AttrDomain domain, Array< int > &r_offsets, Array< int > &r_indices)
template<typename T>
static Span< Tblur_on_mesh_exec (const Span< float > neighbor_weights, const GroupedSpan< int > neighbors_map, const int iterations, const MutableSpan< T > buffer_a, const MutableSpan< T > buffer_b)
template<typename Func>
static void to_static_type_for_blur (const CPPType &type, const Func &func)
static GSpan blur_on_mesh (const Mesh &mesh, const AttrDomain domain, const int iterations, const Span< float > neighbor_weights, const GMutableSpan buffer_a, const GMutableSpan buffer_b)
template<typename T>
static Span< Tblur_on_curve_exec (const bke::CurvesGeometry &curves, const Span< float > neighbor_weights, const int iterations, const MutableSpan< T > buffer_a, const MutableSpan< T > buffer_b)
static GSpan blur_on_curves (const bke::CurvesGeometry &curves, const int iterations, const Span< float > neighbor_weights, const GMutableSpan buffer_a, const GMutableSpan buffer_b)
static void node_geo_exec (GeoNodeExecParams params)
static void node_rna (StructRNA *srna)
static void node_register ()

Function Documentation

◆ blur_on_curve_exec()

template<typename T>
Span< T > blender::nodes::node_geo_blur_attribute_cc::blur_on_curve_exec ( const bke::CurvesGeometry & curves,
const Span< float > neighbor_weights,
const int iterations,
const MutableSpan< T > buffer_a,
const MutableSpan< T > buffer_b )
static

◆ blur_on_curves()

GSpan blender::nodes::node_geo_blur_attribute_cc::blur_on_curves ( const bke::CurvesGeometry & curves,
const int iterations,
const Span< float > neighbor_weights,
const GMutableSpan buffer_a,
const GMutableSpan buffer_b )
static

◆ blur_on_mesh()

GSpan blender::nodes::node_geo_blur_attribute_cc::blur_on_mesh ( const Mesh & mesh,
const AttrDomain domain,
const int iterations,
const Span< float > neighbor_weights,
const GMutableSpan buffer_a,
const GMutableSpan buffer_b )
static

◆ blur_on_mesh_exec()

template<typename T>
Span< T > blender::nodes::node_geo_blur_attribute_cc::blur_on_mesh_exec ( const Span< float > neighbor_weights,
const GroupedSpan< int > neighbors_map,
const int iterations,
const MutableSpan< T > buffer_a,
const MutableSpan< T > buffer_b )
static

◆ build_edge_to_edge_by_vert_map()

void blender::nodes::node_geo_blur_attribute_cc::build_edge_to_edge_by_vert_map ( const Span< int2 > edges,
const int verts_num,
Array< int > & r_offsets,
Array< int > & r_indices )
static

◆ build_face_to_face_by_edge_map()

void blender::nodes::node_geo_blur_attribute_cc::build_face_to_face_by_edge_map ( const OffsetIndices< int > faces,
const Span< int > corner_edges,
const int edges_num,
Array< int > & r_offsets,
Array< int > & r_indices )
static

◆ build_vert_to_vert_by_edge_map()

void blender::nodes::node_geo_blur_attribute_cc::build_vert_to_vert_by_edge_map ( const Span< int2 > edges,
const int verts_num,
Array< int > & r_offsets,
Array< int > & r_indices )
static

◆ create_mesh_map()

GroupedSpan< int > blender::nodes::node_geo_blur_attribute_cc::create_mesh_map ( const Mesh & mesh,
const AttrDomain domain,
Array< int > & r_offsets,
Array< int > & r_indices )
static

◆ node_declare()

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

◆ node_gather_link_searches()

◆ node_geo_exec()

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

Definition at line 464 of file node_geo_blur_attribute.cc.

References node_geo_exec(), and params.

Referenced by node_geo_exec(), and node_register().

◆ node_init()

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

Definition at line 62 of file node_geo_blur_attribute.cc.

References CD_PROP_FLOAT, and bNode::custom1.

Referenced by node_register().

◆ node_layout()

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

Definition at line 57 of file node_geo_blur_attribute.cc.

References uiLayout::prop(), ptr, and UI_ITEM_NONE.

Referenced by node_register().

◆ node_register()

◆ node_rna()

◆ to_static_type_for_blur()

template<typename Func>
void blender::nodes::node_geo_blur_attribute_cc::to_static_type_for_blur ( const CPPType & type,
const Func & func )
static