Blender V4.3
blender::bke::compare_meshes::IndexMapping Class Reference

Public Member Functions

 IndexMapping (const int64_t domain_size)
 
void recalculate_inverse_maps ()
 

Public Attributes

Array< intfrom_sorted1
 
Array< intfrom_sorted2
 
Array< intto_sorted1
 
Array< intto_sorted2
 
Array< intset_ids
 
Array< intset_sizes
 

Detailed Description

Definition at line 69 of file mesh_compare.cc.

Constructor & Destructor Documentation

◆ IndexMapping()

Member Function Documentation

◆ recalculate_inverse_maps()

void blender::bke::compare_meshes::IndexMapping::recalculate_inverse_maps ( )
inline

Update the "to_sorted" maps by inverting the "from_sorted" maps.

Definition at line 105 of file mesh_compare.cc.

References from_sorted1, from_sorted2, to_sorted1, and to_sorted2.

Member Data Documentation

◆ from_sorted1

Array<int> blender::bke::compare_meshes::IndexMapping::from_sorted1

Definition at line 79 of file mesh_compare.cc.

Referenced by IndexMapping(), and recalculate_inverse_maps().

◆ from_sorted2

Array<int> blender::bke::compare_meshes::IndexMapping::from_sorted2

Definition at line 80 of file mesh_compare.cc.

Referenced by IndexMapping(), and recalculate_inverse_maps().

◆ set_ids

Array<int> blender::bke::compare_meshes::IndexMapping::set_ids

Definition at line 83 of file mesh_compare.cc.

Referenced by IndexMapping().

◆ set_sizes

Array<int> blender::bke::compare_meshes::IndexMapping::set_sizes

Definition at line 84 of file mesh_compare.cc.

Referenced by IndexMapping().

◆ to_sorted1

Array<int> blender::bke::compare_meshes::IndexMapping::to_sorted1

Definition at line 81 of file mesh_compare.cc.

Referenced by IndexMapping(), and recalculate_inverse_maps().

◆ to_sorted2

Array<int> blender::bke::compare_meshes::IndexMapping::to_sorted2

Definition at line 82 of file mesh_compare.cc.

Referenced by IndexMapping(), and recalculate_inverse_maps().


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