|
Blender V5.3
|
Classes | |
| class | RaycastFunction |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (ui::Layout &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, const MutableSpan< float3 > r_bary_weights) |
| 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 44 of file node_geo_raycast.cc.
References b, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::index, interpolation_items, blender::bke::GeometryComponent::Mesh, node, node_declare(), blender::NODE_DEFAULT_INPUT_POSITION_FIELD, blender::nodes::SocketDeclaration::optional_label, blender::PROP_DISTANCE, blender::ray_length, blender::nodes::SocketDeclaration::structure_type, and blender::nodes::decl::Float::subtype.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 112 of file node_geo_raycast.cc.
References blender::nodes::GatherLinkSearchOpParams::add_item(), blender::nodes::LinkSearchOpParams::add_node(), blender::CD_PROP_STRING, IFACE_, blender::nodes::NodeDeclaration::inputs, node, node_gather_link_searches(), blender::nodes::GatherLinkSearchOpParams::node_type(), blender::nodes::GatherLinkSearchOpParams::other_socket(), blender::nodes::NodeDeclaration::outputs, blender::nodes::search_link_ops_for_declarations(), blender::bke::socket_type_to_custom_data_type(), blender::bke::bNodeType::static_declaration, blender::bNodeSocket::type, and blender::nodes::LinkSearchOpParams::update_and_connect_available_socket().
Referenced by node_gather_link_searches(), and node_register().
|
static |
Definition at line 245 of file node_geo_raycast.cc.
References blender::bke::Corner, blender::nodes::Error, blender::nodes::GeoNodeExecParams::error_message_add(), blender::nodes::execute_multi_function_on_value_variant(), blender::nodes::GeoNodeExecParams::extract_input(), blender::Mesh::faces_num, blender::GEO_NODE_RAYCAST_INTERPOLATED, blender::GEO_NODE_RAYCAST_NEAREST, blender::nodes::GeoNodeExecParams::get_input(), blender::bke::GeometrySet::get_mesh(), blender::bke::GeometrySet::has_mesh(), blender::bke::GeometrySet::is_empty(), blender::fn::multi_function::registry::lookup(), node_geo_exec(), blender::nodes::GeoNodeExecParams::output_is_required(), position, blender::ray_length, blender::nodes::GeoNodeExecParams::set_default_remaining_outputs(), blender::nodes::GeoNodeExecParams::set_output(), TIP_, and blender::nodes::GeoNodeExecParams::user_data().
Referenced by node_geo_exec(), and node_register().
Definition at line 105 of file node_geo_raycast.cc.
References blender::CD_PROP_FLOAT, blender::data, node, and node_init().
Referenced by node_init(), and node_register().
|
static |
Definition at line 100 of file node_geo_raycast.cc.
References node_layout(), blender::ui::Layout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 387 of file node_geo_raycast.cc.
References blender::bke::NodeWidth::_160, blender::bke::bNodeType::declare, blender::bke::bNodeType::default_width, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::gather_link_search_ops, GEO_NODE_RAYCAST, blender::geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, blender::node_copy_standard_storage(), node_declare(), blender::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, blender::ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 375 of file node_geo_raycast.cc.
References blender::nodes::enums::attribute_type_type_with_socket_fn(), blender::CD_PROP_FLOAT, NOD_storage_enum_accessors, node_rna(), blender::nodes::RNA_def_node_enum(), and blender::rna_enum_attribute_type_items.
Referenced by node_register(), and node_rna().
|
static |
Definition at line 130 of file node_geo_raycast.cc.
References blender::bke::bvh::Ray::direction, blender::bke::bvh::Ray::dist_max, blender::MutableSpan< T >::is_empty(), blender::math::normalize(), blender::bke::bvh::Ray::origin, blender::bke::bvh::Tree::ray_intersect(), and raycast_to_mesh().
Referenced by blender::nodes::node_geo_raycast_cc::RaycastFunction::call(), and raycast_to_mesh().
|
static |
Definition at line 30 of file node_geo_raycast.cc.
Referenced by node_declare().