Blender  V3.3
Namespaces | Functions
node_geo_delete_geometry.cc File Reference
#include "UI_interface.h"
#include "UI_resources.h"
#include "BLI_array.hh"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "BKE_attribute_math.hh"
#include "BKE_curves.hh"
#include "BKE_customdata.h"
#include "BKE_mesh.h"
#include "BKE_pointcloud.h"
#include "node_geometry_util.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::nodes
 
 blender::nodes::node_geo_delete_geometry_cc
 

Functions

template<typename T >
static void blender::nodes::node_geo_delete_geometry_cc::copy_data_based_on_mask (Span< T > data, MutableSpan< T > r_data, IndexMask mask)
 
template<typename T >
static void blender::nodes::node_geo_delete_geometry_cc::copy_data_based_on_map (Span< T > src, MutableSpan< T > dst, Span< int > index_map)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_attributes (const Map< AttributeIDRef, AttributeKind > &attributes, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes, const Span< eAttrDomain > domains)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_attributes_based_on_mask (const Map< AttributeIDRef, AttributeKind > &attributes, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes, const eAttrDomain domain, const IndexMask mask)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_attributes_based_on_map (const Map< AttributeIDRef, AttributeKind > &attributes, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes, const eAttrDomain domain, const Span< int > index_map)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_face_corner_attributes (const Map< AttributeIDRef, AttributeKind > &attributes, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes, const int selected_loops_num, const Span< int > selected_poly_indices, const Mesh &mesh_in)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_masked_vertices_to_new_mesh (const Mesh &src_mesh, Mesh &dst_mesh, Span< int > vertex_map)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_masked_edges_to_new_mesh (const Mesh &src_mesh, Mesh &dst_mesh, Span< int > edge_map)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_masked_edges_to_new_mesh (const Mesh &src_mesh, Mesh &dst_mesh, Span< int > vertex_map, Span< int > edge_map)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_masked_polys_to_new_mesh (const Mesh &src_mesh, Mesh &dst_mesh, Span< int > edge_map, Span< int > masked_poly_indices, Span< int > new_loop_starts)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_masked_polys_to_new_mesh (const Mesh &src_mesh, Mesh &dst_mesh, Span< int > masked_poly_indices, Span< int > new_loop_starts)
 
static void blender::nodes::node_geo_delete_geometry_cc::copy_masked_polys_to_new_mesh (const Mesh &src_mesh, Mesh &dst_mesh, Span< int > vertex_map, Span< int > edge_map, Span< int > masked_poly_indices, Span< int > new_loop_starts)
 
static void blender::nodes::node_geo_delete_geometry_cc::delete_curves_selection (GeometrySet &geometry_set, const Field< bool > &selection_field, const eAttrDomain selection_domain)
 
static void blender::nodes::node_geo_delete_geometry_cc::separate_point_cloud_selection (GeometrySet &geometry_set, const Field< bool > &selection_field)
 
static void blender::nodes::node_geo_delete_geometry_cc::delete_selected_instances (GeometrySet &geometry_set, const Field< bool > &selection_field)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_vertices_from_vertex_selection (const Span< bool > vertex_selection, MutableSpan< int > r_vertex_map, int *r_selected_vertices_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_edges_from_vertex_selection (const Mesh &mesh, const Span< bool > vertex_selection, MutableSpan< int > r_edge_map, int *r_selected_edges_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_polygons_from_vertex_selection (const Mesh &mesh, const Span< bool > vertex_selection, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_vertices_and_edges_from_edge_selection (const Mesh &mesh, const Span< bool > edge_selection, MutableSpan< int > r_vertex_map, MutableSpan< int > r_edge_map, int *r_selected_vertices_num, int *r_selected_edges_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_edges_from_edge_selection (const Mesh &mesh, const Span< bool > edge_selection, MutableSpan< int > r_edge_map, int *r_selected_edges_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_polygons_from_edge_selection (const Mesh &mesh, const Span< bool > edge_selection, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_mesh_data_from_vertex_selection_edge_face (const Mesh &mesh, const Span< bool > vertex_selection, MutableSpan< int > r_edge_map, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_edges_num, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_mesh_data_from_vertex_selection (const Mesh &mesh, const Span< bool > vertex_selection, MutableSpan< int > r_vertex_map, MutableSpan< int > r_edge_map, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_vertices_num, int *r_selected_edges_num, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_mesh_data_from_edge_selection_edge_face (const Mesh &mesh, const Span< bool > edge_selection, MutableSpan< int > r_edge_map, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_edges_num, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_mesh_data_from_edge_selection (const Mesh &mesh, const Span< bool > edge_selection, MutableSpan< int > r_vertex_map, MutableSpan< int > r_edge_map, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_vertices_num, int *r_selected_edges_num, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_polygons_from_poly_selection (const Mesh &mesh, const Span< bool > poly_selection, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_mesh_data_from_poly_selection_edge_face (const Mesh &mesh, const Span< bool > poly_selection, MutableSpan< int > r_edge_map, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_edges_num, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::compute_selected_mesh_data_from_poly_selection (const Mesh &mesh, const Span< bool > poly_selection, MutableSpan< int > r_vertex_map, MutableSpan< int > r_edge_map, Vector< int > &r_selected_poly_indices, Vector< int > &r_loop_starts, int *r_selected_vertices_num, int *r_selected_edges_num, int *r_selected_polys_num, int *r_selected_loops_num)
 
static void blender::nodes::node_geo_delete_geometry_cc::do_mesh_separation (GeometrySet &geometry_set, const Mesh &mesh_in, const Span< bool > selection, const eAttrDomain domain, const GeometryNodeDeleteGeometryMode mode)
 
static void blender::nodes::node_geo_delete_geometry_cc::separate_mesh_selection (GeometrySet &geometry_set, const Field< bool > &selection_field, const eAttrDomain selection_domain, const GeometryNodeDeleteGeometryMode mode)
 
void blender::nodes::separate_geometry (GeometrySet &geometry_set, eAttrDomain domain, GeometryNodeDeleteGeometryMode mode, const Field< bool > &selection_field, bool &r_is_error)
 
static void blender::nodes::node_geo_delete_geometry_cc::node_declare (NodeDeclarationBuilder &b)
 
static void blender::nodes::node_geo_delete_geometry_cc::node_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void blender::nodes::node_geo_delete_geometry_cc::node_init (bNodeTree *UNUSED(tree), bNode *node)
 
static void blender::nodes::node_geo_delete_geometry_cc::node_geo_exec (GeoNodeExecParams params)
 
void register_node_type_geo_delete_geometry ()
 

Function Documentation

◆ register_node_type_geo_delete_geometry()

void register_node_type_geo_delete_geometry ( void  )