Blender V5.3
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 (ui::Layout &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< float > curve_accumulated_lengths (const bke::CurvesGeometry &curves)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Function Documentation

◆ curve_accumulated_lengths()

Array< float > blender::nodes::node_geo_curve_sample_cc::curve_accumulated_lengths ( const bke::CurvesGeometry & curves)
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().

◆ 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 ( ui::Layout & layout,
bContext * ,
PointerRNA * ptr )
static

◆ 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