Blender V5.0
blender::nodes::node_geo_curve_sample_cc Namespace Reference

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 &params)
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< floatcurve_accumulated_lengths (const bke::CurvesGeometry &curves)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Function Documentation

◆ curve_accumulated_lengths()

◆ node_declare()

◆ node_gather_link_searches()

◆ node_geo_exec()

◆ node_init()

void blender::nodes::node_geo_curve_sample_cc::node_init ( bNodeTree * ,
bNode * node )
static

◆ node_layout()

void blender::nodes::node_geo_curve_sample_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
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().

◆ node_register()

◆ sample_indices_and_factors_to_compressed()

void blender::nodes::node_geo_curve_sample_cc::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

◆ sample_indices_and_lengths()

void blender::nodes::node_geo_curve_sample_cc::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