Blender
V3.3
|
#include <mutex>
#include "DNA_curves_types.h"
#include "BLI_float4x4.hh"
#include "BLI_generic_virtual_array.hh"
#include "BLI_math_vec_types.hh"
#include "BLI_vector.hh"
#include "BKE_attribute.hh"
#include "BKE_attribute_math.hh"
Go to the source code of this file.
Classes | |
class | Spline |
struct | Spline::LookupResult |
class | BezierSpline |
struct | BezierSpline::InterpolationData |
struct | BezierSpline::InsertResult |
class | NURBSpline |
struct | NURBSpline::BasisCache |
class | PolySpline |
struct | CurveEval |
Typedefs | |
using | SplinePtr = std::unique_ptr< Spline > |
Functions | |
std::unique_ptr< CurveEval > | curve_eval_from_dna_curve (const Curve &curve, const ListBase &nurbs_list) |
std::unique_ptr< CurveEval > | curve_eval_from_dna_curve (const Curve &dna_curve) |
std::unique_ptr< CurveEval > | curves_to_curve_eval (const Curves &curves) |
Curves * | curve_eval_to_curves (const CurveEval &curve_eval) |
Definition at line 26 of file BKE_spline.hh.
std::unique_ptr<CurveEval> curve_eval_from_dna_curve | ( | const Curve & | curve, |
const ListBase & | nurbs_list | ||
) |
Definition at line 303 of file curve_eval.cc.
References curve, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::threading::parallel_for(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and splines.
Referenced by curve_eval_from_dna_curve().
Definition at line 341 of file curve_eval.cc.
References BKE_curve_nurbs_get_for_read(), and curve_eval_from_dna_curve().
Definition at line 463 of file curve_eval.cc.
References ATTR_DOMAIN_CURVE, ATTR_DOMAIN_POINT, CurveComponentLegacy::attributes(), CurveComponent::attributes_for_write(), BLI_assert_unreachable, CurveEval::control_point_offsets(), copy_attributes_between_components(), CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, CURVE_TYPE_NURBS, CURVE_TYPE_POLY, curves, blender::bke::curves_new_nomain(), Editable, blender::bke::SpanAttributeWriter< T >::finish(), Curves::geometry, CurveEval::has_spline_with_type(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), ReadOnly, CurveComponentLegacy::replace(), CurveComponent::replace(), blender::bke::SpanAttributeWriter< T >::span, CurveEval::splines(), src, CurveEval::total_control_point_num(), Spline::type(), and blender::bke::CurvesGeometry::wrap().
Definition at line 373 of file curve_eval.cc.
References ATTR_DOMAIN_CURVE, ATTR_DOMAIN_POINT, CurveComponentLegacy::attributes_for_write(), BLI_assert_unreachable, copy_attributes_between_components(), CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, CURVE_TYPE_NURBS, CURVE_TYPE_POLY, curves, Editable, Curves::geometry, blender::VArrayCommon< T >::index_range(), blender::bke::AttributeAccessor::lookup_or_default(), ReadOnly, CurveComponentLegacy::replace(), CurveComponent::replace(), blender::IndexRange::size(), and blender::bke::CurvesGeometry::wrap().
Referenced by blender::nodes::node_geo_curve_trim_cc::geometry_set_curve_trim(), and blender::nodes::node_geo_curve_to_points_cc::node_geo_exec().