Blender  V3.3
Namespaces | Functions
BKE_curves_utils.hh File Reference

Low-level operations for curves. More...

#include "BKE_curves.hh"
#include "BLI_function_ref.hh"
#include "BLI_generic_pointer.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::bke
 
 blender::bke::curves
 

Functions

void blender::bke::curves::copy_point_data (const CurvesGeometry &src_curves, const CurvesGeometry &dst_curves, Span< IndexRange > curve_ranges, GSpan src, GMutableSpan dst)
 
void blender::bke::curves::copy_point_data (const CurvesGeometry &src_curves, const CurvesGeometry &dst_curves, IndexMask src_curve_selection, GSpan src, GMutableSpan dst)
 
template<typename T >
void blender::bke::curves::copy_point_data (const CurvesGeometry &src_curves, const CurvesGeometry &dst_curves, const IndexMask src_curve_selection, const Span< T > src, MutableSpan< T > dst)
 
void blender::bke::curves::fill_points (const CurvesGeometry &curves, IndexMask curve_selection, GPointer value, GMutableSpan dst)
 
template<typename T >
void blender::bke::curves::fill_points (const CurvesGeometry &curves, const IndexMask curve_selection, const T &value, MutableSpan< T > dst)
 
bke::CurvesGeometry blender::bke::curves::copy_only_curve_domain (const bke::CurvesGeometry &src_curves)
 
void blender::bke::curves::fill_curve_counts (const bke::CurvesGeometry &curves, Span< IndexRange > curve_ranges, MutableSpan< int > counts)
 
void blender::bke::curves::accumulate_counts_to_offsets (MutableSpan< int > counts_to_offsets, int start_offset=0)
 
IndexMask blender::bke::curves::indices_for_type (const VArray< int8_t > &types, const std::array< int, CURVE_TYPES_NUM > &type_counts, const CurveType type, const IndexMask selection, Vector< int64_t > &r_indices)
 
void blender::bke::curves::foreach_curve_by_type (const VArray< int8_t > &types, const std::array< int, CURVE_TYPES_NUM > &type_counts, IndexMask selection, FunctionRef< void(IndexMask)> catmull_rom_fn, FunctionRef< void(IndexMask)> poly_fn, FunctionRef< void(IndexMask)> bezier_fn, FunctionRef< void(IndexMask)> nurbs_fn)
 

Detailed Description

Low-level operations for curves.

Definition in file BKE_curves_utils.hh.