|
Blender V4.3
|
Classes | |
| class | RaycastFunction |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_init (bNodeTree *, bNode *node) |
| static void | node_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
| static void | raycast_to_mesh (const IndexMask &mask, const Mesh &mesh, const VArray< float3 > &ray_origins, const VArray< float3 > &ray_directions, const VArray< float > &ray_lengths, const MutableSpan< bool > r_hit, const MutableSpan< int > r_hit_indices, const MutableSpan< float3 > r_hit_positions, const MutableSpan< float3 > r_hit_normals, const MutableSpan< float > r_hit_distances) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
|
static |
Definition at line 27 of file node_geo_raycast.cc.
References b, blender::bke::GeometryComponent::Mesh, blender::nodes::implicit_field_inputs::position(), PROP_DISTANCE, and blender::nodes::decl::Float::subtype.
Referenced by node_register().
|
static |
Definition at line 73 of file node_geo_raycast.cc.
References CD_PROP_STRING, IFACE_, blender::nodes::NodeDeclaration::inputs, blender::nodes::NodeDeclaration::outputs, params, blender::nodes::search_link_ops_for_declarations(), and blender::bke::socket_type_to_custom_data_type().
Referenced by node_register().
|
static |
Definition at line 207 of file node_geo_raycast.cc.
References GEO_NODE_RAYCAST_INTERPOLATED, GEO_NODE_RAYCAST_NEAREST, node_geo_exec(), blender::math::normalize(), params, TIP_, and v.
Referenced by node_geo_exec(), and node_register().
Definition at line 65 of file node_geo_raycast.cc.
References CD_PROP_FLOAT, data, and GEO_NODE_RAYCAST_INTERPOLATED.
Referenced by node_register().
|
static |
Definition at line 59 of file node_geo_raycast.cc.
References ptr, UI_ITEM_NONE, and uiItemR().
Referenced by node_register().
|
static |
Definition at line 306 of file node_geo_raycast.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::gather_link_search_ops, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, NODE_CLASS_GEOMETRY, node_copy_standard_storage(), node_declare(), node_free_standard_storage(), node_gather_link_searches(), node_geo_exec(), node_init(), node_layout(), node_register(), blender::bke::node_register_type(), node_rna(), blender::bke::node_type_storage(), blender::bke::bNodeType::rna_ext, and ExtensionRNA::srna.
Referenced by node_register().
|
static |
Definition at line 273 of file node_geo_raycast.cc.
References CD_PROP_FLOAT, GEO_NODE_RAYCAST_INTERPOLATED, GEO_NODE_RAYCAST_NEAREST, NOD_storage_enum_accessors, node_rna(), blender::nodes::RNA_def_node_enum(), and rna_enum_attribute_type_items.
Referenced by node_register(), and node_rna().
|
static |
Definition at line 91 of file node_geo_raycast.cc.
References BKE_bvhtree_from_mesh_get(), BLI_assert, BLI_bvhtree_ray_cast(), BLI_SCOPED_DEFER, BVHTREE_FROM_CORNER_TRIS, BVHTreeFromMesh::cached, free_bvhtree_from_mesh(), BVHTreeRayHit::index, blender::MutableSpan< T >::is_empty(), BVHTreeFromMesh::raycast_callback, and BVHTreeFromMesh::tree.
Referenced by blender::nodes::node_geo_raycast_cc::RaycastFunction::call().