|
Blender V5.0
|
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 () |
Variables | |
| static EnumPropertyItem | interpolation_items [] |
|
static |
Definition at line 42 of file node_geo_raycast.cc.
References b, blender::nodes::SocketDeclaration::description, interpolation_items, blender::bke::GeometryComponent::Mesh, NODE_DEFAULT_INPUT_POSITION_FIELD, blender::nodes::SocketDeclaration::optional_label, PROP_DISTANCE, blender::nodes::SocketDeclaration::structure_type, and blender::nodes::decl::Float::subtype.
Referenced by node_register().
|
static |
Definition at line 97 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 226 of file node_geo_raycast.cc.
References blender::nodes::Error, blender::nodes::execute_multi_function_on_value_variant(), 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(), blender::math::normalize(), params, TIP_, and v.
Referenced by node_register().
Definition at line 90 of file node_geo_raycast.cc.
References CD_PROP_FLOAT, data, MEM_callocN(), and bNode::storage.
Referenced by node_register().
|
static |
Definition at line 85 of file node_geo_raycast.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 360 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::Middle, 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(), blender::bke::node_register_type(), node_rna(), blender::bke::node_type_size_preset(), blender::bke::node_type_storage(), blender::bke::bNodeType::rna_ext, ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
|
static |
Definition at line 348 of file node_geo_raycast.cc.
References blender::nodes::enums::attribute_type_type_with_socket_fn(), CD_PROP_FLOAT, NOD_storage_enum_accessors, blender::nodes::RNA_def_node_enum(), and rna_enum_attribute_type_items.
Referenced by node_register().
|
static |
Definition at line 115 of file node_geo_raycast.cc.
References BLI_bvhtree_ray_cast(), BVHTreeRayHit::co, BVHTreeRayHit::dist, i, BVHTreeRayHit::index, blender::MutableSpan< T >::is_empty(), mask(), BVHTreeRayHit::no, blender::bke::BVHTreeFromMesh::raycast_callback, and blender::bke::BVHTreeFromMesh::tree.
Referenced by blender::nodes::node_geo_raycast_cc::RaycastFunction::call().
|
static |
Definition at line 28 of file node_geo_raycast.cc.
Referenced by node_declare().