|
Blender V4.3
|
Inherits blender::fn::multi_function::MultiFunction.
Public Member Functions | |
| SampleNearestSurfaceFunction (GeometrySet geometry, const Field< int > &group_id_field) | |
| ~SampleNearestSurfaceFunction () | |
| void | call (const IndexMask &mask, mf::Params params, mf::Context) const override |
| ExecutionHints | get_execution_hints () const override |
Public Member Functions inherited from blender::fn::multi_function::MultiFunction | |
| virtual | ~MultiFunction () |
| void | call_auto (const IndexMask &mask, Params params, Context context) const |
| virtual uint64_t | hash () const |
| virtual bool | equals (const MultiFunction &) const |
| int | param_amount () const |
| IndexRange | param_indices () const |
| ParamType | param_type (int param_index) const |
| StringRefNull | param_name (int param_index) const |
| StringRefNull | name () const |
| virtual std::string | debug_name () const |
| const Signature & | signature () const |
| ExecutionHints | execution_hints () const |
Additional Inherited Members | |
Protected Member Functions inherited from blender::fn::multi_function::MultiFunction | |
| void | set_signature (const Signature *signature) |
Definition at line 79 of file node_geo_sample_nearest_surface.cc.
|
inline |
Definition at line 86 of file node_geo_sample_nearest_surface.cc.
References blender::fn::FieldEvaluator::add(), BKE_bvhtree_from_mesh_tris_init(), blender::bke::GeometrySet::ensure_owns_direct_data(), blender::bke::Face, blender::index_mask::IndexMask::from_group_ids(), blender::bke::GeometrySet::get_mesh(), blender::threading::individual_task_sizes(), mesh, blender::threading::parallel_for(), range, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::fn::multi_function::MultiFunction::set_signature(), blender::fn::multi_function::MultiFunction::signature(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
inline |
Definition at line 133 of file node_geo_sample_nearest_surface.cc.
References free_bvhtree_from_mesh(), and tree.
|
inlineoverridevirtual |
Implements blender::fn::multi_function::MultiFunction.
Definition at line 140 of file node_geo_sample_nearest_surface.cc.
References BLI_bvhtree_find_nearest(), BVHTreeNearest::dist_sq, FLT_MAX, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_try(), BVHTreeFromMesh::nearest_callback, params, and BVHTreeFromMesh::tree.
|
inlineoverridevirtual |
Reimplemented from blender::fn::multi_function::MultiFunction.
Definition at line 176 of file node_geo_sample_nearest_surface.cc.
References blender::fn::multi_function::MultiFunction::ExecutionHints::min_grain_size.