Blender V4.3
curve_catmull_rom.cc File Reference
#include "BLI_task.hh"
#include "BKE_attribute_math.hh"
#include "BKE_curves.hh"

Go to the source code of this file.

Namespaces

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

Functions

int blender::bke::curves::catmull_rom::calculate_evaluated_num (int points_num, bool cyclic, int resolution)
 
float4 blender::bke::curves::catmull_rom::calculate_basis (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 OffsetIndices< 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 OffsetIndices< int > evaluated_offsets, GMutableSpan dst)