Blender
V3.3
|
Static Public Member Functions | |
static Array< Span< float3 > > | get_handle_spans (Span< SplinePtr > splines, const bool is_right) |
Additional Inherited Members | |
![]() | |
int64_t | size_ |
Definition at line 764 of file geometry_component_curve.cc.
|
inline |
Definition at line 771 of file geometry_component_curve.cc.
|
inlinefinalvirtual |
Get the element at #index. This does not return a reference, because the value may be computed on the fly.
Implements blender::VArrayImpl< T >.
Definition at line 781 of file geometry_component_curve.cc.
References CURVE_TYPE_BEZIER, BezierSpline::handle_positions_left(), BezierSpline::handle_positions_right(), indices, blender::bke::lookup_point_indices(), and Spline::type().
|
inlinestatic |
Utility so we can pass handle positions to the materialize functions above.
Definition at line 850 of file geometry_component_curve.cc.
References CURVE_TYPE_BEZIER, BezierSpline::handle_positions_left(), BezierSpline::handle_positions_right(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), splines, and type.
Referenced by materialize(), and materialize_to_uninitialized().
|
inlinefinal |
Definition at line 832 of file geometry_component_curve.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), get_handle_spans(), mask(), and blender::bke::point_attribute_materialize().
|
inlinefinal |
Definition at line 838 of file geometry_component_curve.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), get_handle_spans(), mask(), and blender::bke::point_attribute_materialize_to_uninitialized().
|
inlinefinalvirtual |
Assign the provided #value to the #index.
Implements blender::VMutableArrayImpl< float3 >.
Definition at line 793 of file geometry_component_curve.cc.
References CURVE_TYPE_BEZIER, BezierSpline::handle_positions_left(), BezierSpline::handle_positions_right(), indices, blender::bke::lookup_point_indices(), BezierSpline::mark_cache_invalid(), and Spline::type().
Copy all elements from the provided span into the virtual array.
Reimplemented from blender::VMutableArrayImpl< float3 >.
Definition at line 809 of file geometry_component_curve.cc.
References CURVE_TYPE_BEZIER, BezierSpline::handle_positions_left(), BezierSpline::handle_positions_right(), blender::MutableSpan< T >::index_range(), BezierSpline::mark_cache_invalid(), offset, BezierSpline::size(), spline_index, src, and Spline::type().