Blender
V3.3
|
Additional Inherited Members | |
![]() | |
int64_t | size_ |
Virtual array implementation specifically for control point positions. This is only needed for Bezier splines, where adjusting the position also requires adjusting handle positions depending on handle types. We pay a small price for this when other spline types are mixed with Bezier.
Definition at line 707 of file geometry_component_curve.cc.
|
inline |
Definition at line 713 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 718 of file geometry_component_curve.cc.
References indices, and blender::bke::lookup_point_indices().
|
inline |
Utility so we can pass positions to the materialize functions above.
Definition at line 742 of file geometry_component_curve.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), and blender::MutableSpan< T >::size().
Referenced by materialize(), and materialize_to_uninitialized().
|
inlinefinal |
Definition at line 751 of file geometry_component_curve.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), get_position_spans(), mask(), and blender::bke::point_attribute_materialize().
|
inlinefinal |
Definition at line 757 of file geometry_component_curve.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), get_position_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 724 of file geometry_component_curve.cc.
References indices, blender::bke::lookup_point_indices(), and Spline::positions().
Copy all elements from the provided span into the virtual array.
Reimplemented from blender::VMutableArrayImpl< float3 >.
Definition at line 731 of file geometry_component_curve.cc.
References blender::MutableSpan< T >::index_range(), offset, Spline::positions(), spline_index, and src.