|
Blender V4.3
|
Inherits blender::bke::DynamicAttributesProvider.
Public Member Functions | |
| GAttributeReader | try_get_for_read (const void *owner, const StringRef attribute_id) const final |
| GAttributeReader | get_for_vertex_group_index (const CurvesGeometry &curves, const Span< MDeformVert > dverts, const int vertex_group_index) const |
| GAttributeWriter | try_get_for_write (void *owner, const StringRef attribute_id) const final |
| bool | try_delete (void *owner, const StringRef attribute_id) const final |
| bool | foreach_attribute (const void *owner, FunctionRef< void(const AttributeIter &)> fn) const final |
| void | foreach_domain (const FunctionRef< void(AttrDomain)> callback) const final |
Public Member Functions inherited from blender::bke::DynamicAttributesProvider | |
| virtual bool | try_create (void *owner, const StringRef attribute_id, const AttrDomain domain, const eCustomDataType data_type, const AttributeInit &initializer) const |
This provider makes vertex groups available as float attributes.
Definition at line 357 of file geometry_component_curves.cc.
|
inlinefinalvirtual |
Return false when the iteration was stopped.
Implements blender::bke::DynamicAttributesProvider.
Definition at line 435 of file geometry_component_curves.cc.
References CD_PROP_FLOAT, get_for_vertex_group_index(), LISTBASE_FOREACH_INDEX, blender::bke::AttributeIter::name, and blender::bke::Point.
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 459 of file geometry_component_curves.cc.
References callback, and blender::bke::Point.
|
inline |
Definition at line 377 of file geometry_component_curves.cc.
References BLI_assert, blender::VArray< T >::ForSingle(), blender::Span< T >::is_empty(), blender::bke::Point, and blender::bke::varray_for_deform_verts().
Referenced by foreach_attribute(), and try_get_for_read().
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 406 of file geometry_component_curves.cc.
References blender::bke::attribute_name_is_anonymous(), BKE_defgroup_listbase_name_find(), BLI_remlink(), MEM_freeN(), and blender::bke::remove_defgroup_index().
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 359 of file geometry_component_curves.cc.
References blender::bke::attribute_name_is_anonymous(), BKE_defgroup_name_index(), and get_for_vertex_group_index().
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 388 of file geometry_component_curves.cc.
References blender::bke::attribute_name_is_anonymous(), BKE_defgroup_name_index(), blender::bke::Point, and blender::bke::varray_for_mutable_deform_verts().