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

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_init (bNodeTree *, bNode *node)
static PointCloudpointcloud_merge_by_distance (const PointCloud &src_points, const float merge_distance, const Field< bool > &selection_field, const AttributeFilter &attribute_filter)
static std::optional< Mesh * > mesh_merge_by_distance_connected (const Mesh &mesh, const float merge_distance, const Field< bool > &selection_field)
static std::optional< Mesh * > mesh_merge_by_distance_all (const Mesh &mesh, const float merge_distance, const Field< bool > &selection_field)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Variables

static EnumPropertyItem mode_items []

Function Documentation

◆ mesh_merge_by_distance_all()

std::optional< Mesh * > blender::nodes::node_geo_merge_by_distance_cc::mesh_merge_by_distance_all ( const Mesh & mesh,
const float merge_distance,
const Field< bool > & selection_field )
static

◆ mesh_merge_by_distance_connected()

std::optional< Mesh * > blender::nodes::node_geo_merge_by_distance_cc::mesh_merge_by_distance_connected ( const Mesh & mesh,
const float merge_distance,
const Field< bool > & selection_field )
static

◆ node_declare()

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

◆ node_geo_exec()

◆ node_init()

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

Definition at line 45 of file node_geo_merge_by_distance.cc.

References MEM_callocN(), and bNode::storage.

Referenced by node_register().

◆ node_register()

◆ pointcloud_merge_by_distance()

PointCloud * blender::nodes::node_geo_merge_by_distance_cc::pointcloud_merge_by_distance ( const PointCloud & src_points,
const float merge_distance,
const Field< bool > & selection_field,
const AttributeFilter & attribute_filter )
static

Variable Documentation

◆ mode_items

EnumPropertyItem blender::nodes::node_geo_merge_by_distance_cc::mode_items[]
static
Initial value:
= {
"ALL",
0,
N_("All"),
N_("Merge all close selected points, whether or not they are connected")},
"CONNECTED",
0,
N_("Connected"),
N_("Only merge mesh vertices along existing edges. This method can be much faster")},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_MERGE_BY_DISTANCE_MODE_ALL
@ GEO_NODE_MERGE_BY_DISTANCE_MODE_CONNECTED
#define N_(msgid)

Definition at line 18 of file node_geo_merge_by_distance.cc.

Referenced by node_declare().