|
Blender V5.0
|
Classes | |
| class | SampleFloatSegmentsFunction |
| class | SampleCurveFunction |
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 | 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 453 of file node_geo_curve_sample.cc.
References curve_accumulated_lengths(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::bke::CurvesGeometry::cyclic(), blender::bke::CurvesGeometry::evaluated_length_total_for_curve(), i, 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, GEO_NODE_CURVE_SAMPLE_FACTOR, GEO_NODE_CURVE_SAMPLE_LENGTH, if(), length(), node_declare(), blender::nodes::decl::Geometry::only_realized_data(), PROP_DISTANCE, PROP_FACTOR, blender::nodes::SocketDeclaration::structure_type, and blender::nodes::decl::Float::subtype.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 91 of file node_geo_curve_sample.cc.
References CD_PROP_STRING, IFACE_, blender::nodes::NodeDeclaration::inputs, node_gather_link_searches(), blender::nodes::NodeDeclaration::outputs, params, blender::nodes::search_link_ops_for_declarations(), and blender::bke::socket_type_to_custom_data_type().
Referenced by node_gather_link_searches(), and node_register().
|
static |
Definition at line 466 of file node_geo_curve_sample.cc.
References curve_accumulated_lengths(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::ensure_evaluated_lengths(), blender::nodes::Error, blender::nodes::execute_multi_function_on_value_variant(), blender::bke::SocketValueVariant::From(), GEO_NODE_CURVE_SAMPLE_FACTOR, GEO_NODE_CURVE_SAMPLE_LENGTH, Curves::geometry, blender::bke::GeometrySet::get_curves(), blender::bke::GeometrySet::has_curves(), blender::bke::CurvesGeometry::is_empty(), blender::fn::make_constant_field(), NodeGeometryCurveSample::mode, node_geo_exec(), params, and NodeGeometryCurveSample::use_all_curves.
Referenced by node_geo_exec(), and node_register().
Definition at line 82 of file node_geo_curve_sample.cc.
References CD_PROP_FLOAT, data, GEO_NODE_CURVE_SAMPLE_FACTOR, MEM_callocN(), node_init(), and bNode::storage.
Referenced by node_init(), and node_register().
|
static |
Definition at line 75 of file node_geo_curve_sample.cc.
References node_layout(), uiLayout::prop(), ptr, UI_ITEM_NONE, and UI_ITEM_R_EXPAND.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 565 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, 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(), blender::bke::node_type_storage(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 140 of file node_geo_curve_sample.cc.
References GEO_NODE_CURVE_SAMPLE_FACTOR, GEO_NODE_CURVE_SAMPLE_LENGTH, i, blender::Span< T >::last(), length(), mask(), pos, blender::length_parameterize::sample_at_length(), and sample_indices_and_factors_to_compressed().
Referenced by sample_indices_and_factors_to_compressed().
|
static |
Definition at line 110 of file node_geo_curve_sample.cc.
References GEO_NODE_CURVE_SAMPLE_FACTOR, i, blender::Span< T >::last(), mask(), 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().