|
Blender V4.5
|
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 28 of file node_geo_raycast.cc.
References b, blender::bke::GeometryComponent::Mesh, node, NODE_DEFAULT_INPUT_POSITION_FIELD, PROP_DISTANCE, and blender::nodes::decl::Float::subtype.
Referenced by node_register().
|
static |
Definition at line 74 of file node_geo_raycast.cc.
References CD_PROP_STRING, IFACE_, blender::nodes::NodeDeclaration::inputs, node, 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 203 of file node_geo_raycast.cc.
References Mesh::faces_num, GEO_NODE_RAYCAST_INTERPOLATED, GEO_NODE_RAYCAST_NEAREST, blender::bke::GeometrySet::get_mesh(), blender::bke::GeometrySet::has_mesh(), blender::bke::GeometrySet::is_empty(), node_geo_exec(), blender::math::normalize(), params, TIP_, and v.
Referenced by node_geo_exec(), and node_register().
Definition at line 66 of file node_geo_raycast.cc.
References CD_PROP_FLOAT, data, GEO_NODE_RAYCAST_INTERPOLATED, MEM_callocN(), and node.
Referenced by node_register().
|
static |
Definition at line 60 of file node_geo_raycast.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 302 of file node_geo_raycast.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::gather_link_search_ops, GEO_NODE_RAYCAST, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, 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, ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 269 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 92 of file node_geo_raycast.cc.
References BLI_bvhtree_ray_cast(), BVHTreeRayHit::dist, if(), BVHTreeRayHit::index, blender::MutableSpan< T >::is_empty(), mask(), mesh, blender::bke::BVHTreeFromMesh::raycast_callback, and blender::bke::BVHTreeFromMesh::tree.
Referenced by blender::nodes::node_geo_raycast_cc::RaycastFunction::call().