Blender V4.3
interpolate_curves.cc File Reference

Go to the source code of this file.

Classes

struct  blender::geometry::AttributesForInterpolation
 

Namespaces

namespace  blender
 
namespace  blender::geometry
 

Functions

static bool blender::geometry::interpolate_attribute_to_curves (const StringRef attribute_id, const std::array< int, CURVE_TYPES_NUM > &type_counts)
 
static bool blender::geometry::interpolate_attribute_to_poly_curve (const StringRef attribute_id)
 
static AttributesForInterpolation blender::geometry::retrieve_attribute_spans (const Span< StringRef > ids, const CurvesGeometry &src_from_curves, const CurvesGeometry &src_to_curves, const bke::AttrDomain domain, CurvesGeometry &dst_curves)
 
static AttributesForInterpolation blender::geometry::gather_point_attributes_to_interpolate (const CurvesGeometry &from_curves, const CurvesGeometry &to_curves, CurvesGeometry &dst_curves)
 
static AttributesForInterpolation blender::geometry::gather_curve_attributes_to_interpolate (const CurvesGeometry &from_curves, const CurvesGeometry &to_curves, CurvesGeometry &dst_curves)
 
static void blender::geometry::sample_curve_attribute (const bke::CurvesGeometry &src_curves, const Span< int > src_curve_indices, const OffsetIndices< int > dst_points_by_curve, const GSpan src_data, const IndexMask &dst_curve_mask, const Span< int > dst_sample_indices, const Span< float > dst_sample_factors, GMutableSpan dst_data)
 
template<typename T >
static void blender::geometry::mix_arrays (const Span< T > from, const Span< T > to, const float mix_factor, const MutableSpan< T > dst)
 
static void blender::geometry::mix_arrays (const GSpan src_from, const GSpan src_to, const float mix_factor, const IndexMask &selection, const GMutableSpan dst)
 
static void blender::geometry::mix_arrays (const GSpan src_from, const GSpan src_to, const float mix_factor, const IndexMask &group_selection, const OffsetIndices< int > groups, const GMutableSpan dst)
 
void blender::geometry::interpolate_curves (const bke::CurvesGeometry &from_curves, const bke::CurvesGeometry &to_curves, Span< int > from_curve_indices, Span< int > to_curve_indices, const IndexMask &dst_curve_mask, Span< bool > dst_curve_flip_direction, const float mix_factor, bke::CurvesGeometry &dst_curves)