Blender  V3.3
Namespaces | Functions
curve_catmull_rom.cc File Reference
#include "BKE_attribute_math.hh"
#include "BKE_curves.hh"

Go to the source code of this file.

Namespaces

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

Functions

int blender::bke::curves::catmull_rom::calculate_evaluated_num (int points_num, bool cyclic, int resolution)
 
template<typename T >
static T blender::bke::curves::catmull_rom::calculate_basis (const T &a, const T &b, const T &c, const T &d, const float parameter)
 
template<typename T >
static void blender::bke::curves::catmull_rom::evaluate_segment (const T &a, const T &b, const T &c, const T &d, MutableSpan< T > dst)
 
template<typename T , typename RangeForSegmentFn >
static void blender::bke::curves::catmull_rom::interpolate_to_evaluated (const Span< T > src, const bool cyclic, const RangeForSegmentFn &range_fn, MutableSpan< T > dst)
 
template<typename T >
static void blender::bke::curves::catmull_rom::interpolate_to_evaluated (const Span< T > src, const bool cyclic, const int resolution, MutableSpan< T > dst)
 
template<typename T >
static void blender::bke::curves::catmull_rom::interpolate_to_evaluated (const Span< T > src, const bool cyclic, const Span< int > evaluated_offsets, MutableSpan< T > dst)
 
void blender::bke::curves::catmull_rom::interpolate_to_evaluated (GSpan src, bool cyclic, int resolution, GMutableSpan dst)
 
void blender::bke::curves::catmull_rom::interpolate_to_evaluated (const GSpan src, const bool cyclic, const Span< int > evaluated_offsets, GMutableSpan dst)