|
Blender V5.3
|
Classes | |
| class | SampleFloatSegmentsFunction |
| class | SampleCurveFunction |
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 | sample_indices_and_lengths (const Span< float > accumulated_lengths, const Span< float > sample_lengths, const GeometryNodeCurveSampleMode length_mode, const IndexMask &mask, MutableSpan< int > r_segment_indices, MutableSpan< float > r_length_in_segment) |
| static void | sample_indices_and_factors_to_compressed (const Span< float > accumulated_lengths, const Span< float > sample_lengths, const GeometryNodeCurveSampleMode length_mode, const IndexMask &mask, MutableSpan< int > r_segment_indices, MutableSpan< float > r_factor_in_segment) |
| static Array< float > | curve_accumulated_lengths (const bke::CurvesGeometry &curves) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 451 of file node_geo_curve_sample.cc.
References curve_accumulated_lengths(), and length().
Referenced by curve_accumulated_lengths(), and node_geo_exec().
|
static |
Definition at line 25 of file node_geo_curve_sample.cc.
References b, blender::bke::GeometryComponent::Curve, blender::if(), length(), node, node_declare(), blender::nodes::decl::Geometry::only_realized_data(), blender::PROP_DISTANCE, blender::PROP_FACTOR, blender::nodes::SocketDeclaration::structure_type, and blender::nodes::decl::Float::subtype.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 100 of file node_geo_curve_sample.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 464 of file node_geo_curve_sample.cc.
References curve_accumulated_lengths(), blender::nodes::Error, blender::nodes::GeoNodeExecParams::error_message_add(), blender::nodes::execute_multi_function_on_value_variant(), blender::nodes::GeoNodeExecParams::extract_input(), blender::bke::SocketValueVariant::from(), blender::GEO_NODE_CURVE_SAMPLE_FACTOR, blender::GEO_NODE_CURVE_SAMPLE_LENGTH, blender::bke::GeometrySet::get_curves(), blender::bke::GeometrySet::has_curves(), blender::nodes::GeoNodeExecParams::node(), node_geo_exec(), position, blender::nodes::GeoNodeExecParams::set_default_remaining_outputs(), blender::nodes::GeoNodeExecParams::set_output(), storage, and blender::nodes::GeoNodeExecParams::user_data().
Referenced by node_geo_exec(), and node_register().
Definition at line 91 of file node_geo_curve_sample.cc.
References blender::CD_PROP_FLOAT, blender::data, blender::GEO_NODE_CURVE_SAMPLE_FACTOR, node, and node_init().
Referenced by node_init(), and node_register().
|
static |
Definition at line 84 of file node_geo_curve_sample.cc.
References blender::ui::ITEM_R_EXPAND, node_layout(), blender::ui::Layout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 564 of file node_geo_curve_sample.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_SAMPLE_CURVE, 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(), blender::bke::node_type_storage(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 149 of file node_geo_curve_sample.cc.
References blender::GEO_NODE_CURVE_SAMPLE_FACTOR, blender::GEO_NODE_CURVE_SAMPLE_LENGTH, blender::Span< T >::last(), length(), blender::length_parameterize::sample_at_length(), and sample_indices_and_factors_to_compressed().
Referenced by blender::nodes::node_geo_curve_sample_cc::SampleCurveFunction::call(), and sample_indices_and_factors_to_compressed().
|
static |
Definition at line 119 of file node_geo_curve_sample.cc.
References blender::GEO_NODE_CURVE_SAMPLE_FACTOR, blender::Span< T >::last(), blender::length_parameterize::sample_at_length(), and sample_indices_and_lengths().
Referenced by blender::nodes::node_geo_curve_sample_cc::SampleFloatSegmentsFunction::call(), and sample_indices_and_lengths().