Blender V4.3
blender::nodes::node_geo_curve_sample_cc Namespace Reference

Classes

class  SampleCurveFunction
 
class  SampleFloatSegmentsFunction
 

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()

static Array< float > blender::nodes::node_geo_curve_sample_cc::curve_accumulated_lengths ( const bke::CurvesGeometry & curves)
static

Definition at line 421 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()

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

Definition at line 77 of file node_geo_curve_sample.cc.

References CD_PROP_FLOAT, data, and GEO_NODE_CURVE_SAMPLE_FACTOR.

Referenced by node_register().

◆ node_layout()

static void blender::nodes::node_geo_curve_sample_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 70 of file node_geo_curve_sample.cc.

References ptr, UI_ITEM_NONE, UI_ITEM_R_EXPAND, and uiItemR().

Referenced by node_register().

◆ node_register()

◆ sample_indices_and_factors_to_compressed()

static 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()

static 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