|
Blender V5.3
|
Classes | |
| class | IndexOfNearestFieldInput |
| class | HasNeighborFieldInput |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static int | find_nearest_non_self (const KDTreeNew< float3 > &tree, const float3 &position, const int index) |
| static void | find_neighbors (const KDTreeNew< float3 > &tree, const Span< float3 > positions, const IndexMask &mask, MutableSpan< int > r_indices) |
| static void | find_neighbors (const KDTreeNew< float3 > &tree, const Span< float3 > positions, const Span< int > indices, MutableSpan< int > r_indices) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 33 of file node_geo_index_of_nearest.cc.
References blender::KDTreeNew< T >::find_nearest_filtered(), find_nearest_non_self(), and position.
Referenced by find_nearest_non_self(), and find_neighbors().
|
static |
Definition at line 40 of file node_geo_index_of_nearest.cc.
References find_nearest_non_self(), find_neighbors(), and blender::exec_mode::grain_size().
Referenced by find_neighbors(), find_neighbors(), and blender::nodes::node_geo_index_of_nearest_cc::IndexOfNearestFieldInput::get_varray_for_context().
|
static |
Definition at line 52 of file node_geo_index_of_nearest.cc.
References find_neighbors(), blender::Span< T >::index_range(), and blender::threading::parallel_for().
|
static |
Definition at line 17 of file node_geo_index_of_nearest.cc.
References b, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::hide_value, node_declare(), blender::NODE_DEFAULT_INPUT_POSITION_FIELD, and blender::nodes::SocketDeclaration::structure_type.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 235 of file node_geo_index_of_nearest.cc.
References blender::nodes::GeoNodeExecParams::extract_input(), blender::nodes::Field< T >::from_input(), node_geo_exec(), blender::nodes::GeoNodeExecParams::output_is_required(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 252 of file node_geo_index_of_nearest.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_INDEX_OF_NEAREST, blender::geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::nclass, NODE_CLASS_CONVERTER, node_declare(), node_geo_exec(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().