Blender V4.3
node_geo_sample_nearest.cc File Reference
#include "DNA_pointcloud_types.h"
#include "BKE_bvhutils.hh"
#include "BKE_mesh.hh"
#include "NOD_rna_define.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "RNA_enum_types.hh"
#include "node_geometry_util.hh"

Go to the source code of this file.

Classes

class  blender::nodes::node_geo_sample_nearest_cc::SampleNearestFunction
 

Namespaces

namespace  blender
 
namespace  blender::nodes
 
namespace  blender::nodes::node_geo_sample_nearest_cc
 

Functions

void blender::nodes::get_closest_in_bvhtree (BVHTreeFromMesh &tree_data, const VArray< float3 > &positions, const IndexMask &mask, MutableSpan< int > r_indices, MutableSpan< float > r_distances_sq, MutableSpan< float3 > r_positions)
 
static void blender::nodes::node_geo_sample_nearest_cc::node_declare (NodeDeclarationBuilder &b)
 
static void blender::nodes::node_geo_sample_nearest_cc::node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
 
static void blender::nodes::node_geo_sample_nearest_cc::node_init (bNodeTree *, bNode *node)
 
static void blender::nodes::node_geo_sample_nearest_cc::get_closest_pointcloud_points (const PointCloud &pointcloud, const VArray< float3 > &positions, const IndexMask &mask, MutableSpan< int > r_indices, MutableSpan< float > r_distances_sq)
 
static void blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_points (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask &mask, const MutableSpan< int > r_point_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_edges (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask &mask, const MutableSpan< int > r_edge_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_tris (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask &mask, const MutableSpan< int > r_tri_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_faces (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask &mask, const MutableSpan< int > r_face_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_corners (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask &mask, const MutableSpan< int > r_corner_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static bool blender::nodes::node_geo_sample_nearest_cc::component_is_available (const GeometrySet &geometry, const GeometryComponent::Type type, const AttrDomain domain)
 
static const GeometryComponentblender::nodes::node_geo_sample_nearest_cc::find_source_component (const GeometrySet &geometry, const AttrDomain domain)
 
static void blender::nodes::node_geo_sample_nearest_cc::node_geo_exec (GeoNodeExecParams params)
 
static void blender::nodes::node_geo_sample_nearest_cc::node_rna (StructRNA *srna)
 
static void blender::nodes::node_geo_sample_nearest_cc::node_register ()