Blender V4.3
resample_curves.cc File Reference

Go to the source code of this file.

Classes

struct  blender::geometry::AttributesForResample
 
struct  blender::geometry::EvalDataBuffer
 

Namespaces

namespace  blender
 
namespace  blender::geometry
 

Functions

static fn::Field< intblender::geometry::get_count_input_max_one (const fn::Field< int > &count_field)
 
static fn::Field< intblender::geometry::get_count_input_from_length (const fn::Field< float > &length_field)
 
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 void blender::geometry::retrieve_attribute_spans (const Span< StringRef > ids, const CurvesGeometry &src_curves, CurvesGeometry &dst_curves, Vector< GVArraySpan > &src, Vector< GMutableSpan > &dst, Vector< bke::GSpanAttributeWriter > &dst_attributes)
 
static void blender::geometry::gather_point_attributes_to_interpolate (const CurvesGeometry &src_curves, CurvesGeometry &dst_curves, AttributesForResample &result, const ResampleCurvesOutputAttributeIDs &output_ids)
 
static void blender::geometry::copy_or_defaults_for_unselected_curves (const CurvesGeometry &src_curves, const IndexMask &unselected_curves, const AttributesForResample &attributes, CurvesGeometry &dst_curves)
 
static void blender::geometry::normalize_span (MutableSpan< float3 > data)
 
static void blender::geometry::normalize_curve_point_data (const IndexMaskSegment curve_selection, const OffsetIndices< int > points_by_curve, MutableSpan< float3 > data)
 
static void blender::geometry::resample_to_uniform (const CurvesGeometry &src_curves, const IndexMask &selection, const ResampleCurvesOutputAttributeIDs &output_ids, CurvesGeometry &dst_curves)
 
static CurvesGeometry blender::geometry::resample_to_uniform (const CurvesGeometry &src_curves, const fn::FieldContext &field_context, const fn::Field< bool > &selection_field, const fn::Field< int > &count_field, const ResampleCurvesOutputAttributeIDs &output_ids)
 
CurvesGeometry blender::geometry::resample_to_count (const CurvesGeometry &src_curves, const IndexMask &selection, const VArray< int > &counts, const ResampleCurvesOutputAttributeIDs &output_ids={})
 
CurvesGeometry blender::geometry::resample_to_count (const CurvesGeometry &src_curves, const fn::FieldContext &field_context, const fn::Field< bool > &selection_field, const fn::Field< int > &count_field, const ResampleCurvesOutputAttributeIDs &output_ids={})
 
CurvesGeometry blender::geometry::resample_to_length (const CurvesGeometry &src_curves, const IndexMask &selection, const VArray< float > &sample_lengths, const ResampleCurvesOutputAttributeIDs &output_ids={})
 
CurvesGeometry blender::geometry::resample_to_length (const CurvesGeometry &src_curves, const fn::FieldContext &field_context, const fn::Field< bool > &selection_field, const fn::Field< float > &segment_length_field, const ResampleCurvesOutputAttributeIDs &output_ids={})
 
CurvesGeometry blender::geometry::resample_to_evaluated (const CurvesGeometry &src_curves, const IndexMask &selection, const ResampleCurvesOutputAttributeIDs &output_ids={})
 
CurvesGeometry blender::geometry::resample_to_evaluated (const CurvesGeometry &src_curves, const fn::FieldContext &field_context, const fn::Field< bool > &selection_field, const ResampleCurvesOutputAttributeIDs &output_ids={})