Blender V4.3
blender::bke::mesh_surface_sample::CornerBaryWeightFromPositionFn Class Reference

#include <BKE_mesh_sample.hh>

Inherits blender::fn::multi_function::MultiFunction.

Public Member Functions

 CornerBaryWeightFromPositionFn (GeometrySet geometry)
 
void call (const IndexMask &mask, mf::Params params, mf::Context context) const
 
- 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 Signaturesignature () const
 
ExecutionHints execution_hints () const
 

Additional Inherited Members

- Protected Member Functions inherited from blender::fn::multi_function::MultiFunction
void set_signature (const Signature *signature)
 
virtual ExecutionHints get_execution_hints () const
 

Detailed Description

Calculate face corner weights from triangle indices and positions within the triangles. The weights are 1 for the nearest corner and 0 for the two others.

Definition at line 158 of file BKE_mesh_sample.hh.

Constructor & Destructor Documentation

◆ CornerBaryWeightFromPositionFn()

blender::bke::mesh_surface_sample::CornerBaryWeightFromPositionFn::CornerBaryWeightFromPositionFn ( GeometrySet geometry)

Member Function Documentation

◆ call()

void blender::bke::mesh_surface_sample::CornerBaryWeightFromPositionFn::call ( const IndexMask & mask,
mf::Params params,
mf::Context context ) const
virtual

The documentation for this class was generated from the following files: