Blender
V3.3
|
#include <deg_builder_pchanmap.h>
Public Member Functions | |
void | print_debug () |
void | add_bone (const char *bone, const char *root) |
bool | has_common_root (const char *bone1, const char *bone2) const |
Protected Attributes | |
Map< StringRefNull, Set< StringRefNull > > | map_ |
Definition at line 14 of file deg_builder_pchanmap.h.
void blender::deg::RootPChanMap::add_bone | ( | const char * | bone, |
const char * | root | ||
) |
Add a mapping.
Definition at line 28 of file deg_builder_pchanmap.cc.
References map_.
Referenced by blender::deg::DepsgraphRelationBuilder::build_ik_pose(), and blender::deg::DepsgraphRelationBuilder::build_splineik_pose().
bool blender::deg::RootPChanMap::has_common_root | ( | const char * | bone1, |
const char * | bone2 | ||
) | const |
Check if there's a common root bone between two bones.
Definition at line 33 of file deg_builder_pchanmap.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::Intersects(), and map_.
Referenced by blender::deg::DepsgraphRelationBuilder::build_inter_ik_chains(), and blender::deg::DepsgraphRelationBuilder::build_rig().
void blender::deg::RootPChanMap::print_debug | ( | ) |
Debug contents of map.
Definition at line 17 of file deg_builder_pchanmap.cc.
References blender::StringRefBase::data(), and map_.
|
protected |
The strings are only referenced by this map. Users of RootPChanMap have to make sure that the life-time of the strings is long enough.
Definition at line 29 of file deg_builder_pchanmap.h.
Referenced by add_bone(), has_common_root(), and print_debug().