Blender
V3.3
|
Classes | |
class | ProximityFunction |
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | node_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
static void | geo_proximity_init (bNodeTree *UNUSED(ntree), bNode *node) |
static bool | calculate_mesh_proximity (const VArray< float3 > &positions, const IndexMask mask, const Mesh &mesh, const GeometryNodeProximityTargetType type, const MutableSpan< float > r_distances, const MutableSpan< float3 > r_locations) |
static bool | calculate_pointcloud_proximity (const VArray< float3 > &positions, const IndexMask mask, const PointCloud &pointcloud, MutableSpan< float > r_distances, MutableSpan< float3 > r_locations) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 42 of file node_geo_proximity.cc.
References BKE_bvhtree_from_mesh_get(), BVHTREE_FROM_EDGES, BVHTREE_FROM_LOOPTRI, BVHTREE_FROM_VERTS, GEO_NODE_PROX_TARGET_EDGES, GEO_NODE_PROX_TARGET_FACES, GEO_NODE_PROX_TARGET_POINTS, mask(), mesh, blender::threading::parallel_for(), BVHTreeFromMesh::tree, and type.
Referenced by blender::nodes::node_geo_proximity_cc::ProximityFunction::call().
|
static |
Definition at line 92 of file node_geo_proximity.cc.
References BKE_bvhtree_from_pointcloud_get(), mask(), blender::threading::parallel_for(), and BVHTreeFromPointCloud::tree.
Referenced by blender::nodes::node_geo_proximity_cc::ProximityFunction::call().
|
static |
Definition at line 35 of file node_geo_proximity.cc.
References GEO_NODE_PROX_TARGET_FACES, node, and NodeGeometryProximity::target_element.
Referenced by register_node_type_geo_proximity().
|
static |
Definition at line 20 of file node_geo_proximity.cc.
References usdtokens::b(), GEO_COMPONENT_TYPE_MESH, GEO_COMPONENT_TYPE_POINT_CLOUD, and N_.
Referenced by register_node_type_geo_proximity().
|
static |
Definition at line 200 of file node_geo_proximity.cc.
References GeometrySet::ensure_owns_direct_data(), GeometrySet::has_mesh(), GeometrySet::has_pointcloud(), params, and NodeGeometryProximity::target_element.
Referenced by register_node_type_geo_proximity().
|
static |
Definition at line 30 of file node_geo_proximity.cc.
References ptr, and uiItemR().
Referenced by register_node_type_geo_proximity().