|
Blender V5.3
|
Inherits blender::bke::GeometryFieldInput.
Public Member Functions | |
| IndexOfNearestFieldInput (Field< float3 > positions_field, Field< int > group_field) | |
| GVArray | get_varray_for_context (const bke::GeometryFieldContext &context, const IndexMask &mask) const final |
| void | foreach_recursive_field (FunctionRef< void(const GField &)> fn) const override |
| void | hash_unique (UniqueHashBytes &hash, fn::FieldHashDeep &deep_hash_cache) const override |
| std::optional< AttrDomain > | preferred_domain (const GeometryComponent &component) const final |
| Public Member Functions inherited from blender::bke::GeometryFieldInput | |
| GVArray | get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override |
| virtual NativeFieldDomain | native_domain_info (const GeometryComponent &component) const |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| Public Member Functions inherited from blender::fn::FieldInput | |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| ~FieldInput () override | |
| const FieldInputsPtr & | field_inputs () const |
| uint64_t | hash () const |
| void | delete_self () override |
| StringRefNull | debug_name () const |
| virtual std::string | socket_inspection_name () const |
| const CPPType & | cpp_type () const |
| Public Member Functions inherited from blender::blender::ImplicitSharingInfo | |
| virtual | ~ImplicitSharingInfo () |
| bool | is_mutable () const |
| bool | is_expired () const |
| void | add_user () const |
| void | add_weak_user () const |
| void | tag_ensured_mutable () const |
| int64_t | version () const |
| int | strong_users () const |
| void | remove_user_and_delete_if_last () const |
| void | remove_weak_user_and_delete_if_last () const |
Additional Inherited Members | |
| Protected Attributes inherited from blender::fn::FieldInput | |
| const CPPType * | type_ |
| std::string | debug_name_ |
| CacheMutex | field_inputs_mutex_ |
| FieldInputsPtr | field_inputs_ |
Definition at line 64 of file node_geo_index_of_nearest.cc.
|
inline |
Definition at line 70 of file node_geo_index_of_nearest.cc.
|
inlineoverridevirtual |
If this FieldInput depends on other fields, this function should be overridden.
Reimplemented from blender::fn::FieldInput.
Definition at line 155 of file node_geo_index_of_nearest.cc.
|
inlinefinalvirtual |
Implements blender::bke::GeometryFieldInput.
Definition at line 77 of file node_geo_index_of_nearest.cc.
References blender::fn::FieldEvaluator::add(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::offset_indices::build_groups_from_indices(), blender::fn::FieldEvaluator::evaluate(), blender::nodes::node_geo_index_of_nearest_cc::find_neighbors(), blender::VArray< T >::from_container(), blender::array_utils::gather(), blender::fn::FieldEvaluator::get_evaluated(), blender::array_utils::group_ids_to_indices(), blender::threading::parallel_for(), blender::LinearAllocator< Allocator >::provide_buffer(), blender::result, and blender::KDTreeNew< T >::tree_indices().
|
inlineoverridevirtual |
Reimplemented from blender::fn::FieldInput.
Definition at line 161 of file node_geo_index_of_nearest.cc.
References blender::fn::FieldHashDeep::ensure(), and blender::fn::FieldInput::hash().
|
inlinefinalvirtual |
Reimplemented from blender::bke::GeometryFieldInput.
Definition at line 169 of file node_geo_index_of_nearest.cc.
References blender::bke::try_detect_field_domain().