Blender V4.3
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"
#include "BLI_index_range.hh"

Go to the source code of this file.

Classes

struct  blender::bke::curves::CurveSegment
 
struct  blender::bke::curves::CurvePoint
 
class  blender::bke::curves::IndexRangeCyclic
 
struct  blender::bke::curves::IndexRangeCyclic::CyclicIterator
 

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::bke::curves
 
namespace  blender::bke::curves::bezier
 

Functions

Array< float3blender::bke::curves::bezier::retrieve_all_positions (const bke::CurvesGeometry &curves, const IndexMask &curves_selection)
 
void blender::bke::curves::bezier::write_all_positions (bke::CurvesGeometry &curves, const IndexMask &curves_selection, Span< float3 > all_positions)
 
Utility Functions
void blender::bke::curves::fill_points (OffsetIndices< int > points_by_curve, const IndexMask &curve_selection, GPointer value, GMutableSpan dst)
 
template<typename T >
void blender::bke::curves::fill_points (const OffsetIndices< int > points_by_curve, const IndexMask &curve_selection, const T &value, MutableSpan< T > dst)
 
bke::CurvesGeometry blender::bke::curves::copy_only_curve_domain (const bke::CurvesGeometry &src_curves)
 
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, IndexMaskMemory &memory)
 
void blender::bke::curves::foreach_curve_by_type (const VArray< int8_t > &types, const std::array< int, CURVE_TYPES_NUM > &type_counts, const 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.