|
Blender V4.3
|
Inherits ArmatureBoneDrawStrategy.
Public Member Functions | |
| void | update_display_matrix (UnifiedBonePtr bone) const override |
| bool | culling_test (const DRWView *view, const Object *ob, const bPoseChannel *pchan) const override |
| void | draw_context_setup (Armatures::DrawContext *, const OVERLAY_ArmatureCallBuffersInner *, const bool, const bool) const override |
| void | draw_bone (const Armatures::DrawContext *ctx, const UnifiedBonePtr bone, const eBone_Flag boneflag, const int select_id) const override |
Public Member Functions inherited from ArmatureBoneDrawStrategy | |
| virtual bool | should_draw_relation_to_parent (const UnifiedBonePtr bone, const eBone_Flag boneflag) const |
Bone drawing strategy for custom bone shapes.
Definition at line 2269 of file overlay_armature.cc.
|
inlineoverridevirtual |
Culling test.
Implements ArmatureBoneDrawStrategy.
Definition at line 2303 of file overlay_armature.cc.
References pchan_culling_test_simple().
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2318 of file overlay_armature.cc.
References UnifiedBonePtr::as_posebone(), BONE_DRAW_LOCKED_WEIGHT, BONE_DRAWWIRE, BONESEL_BONE, bPoseChannel::custom, bPoseChannel::custom_shape_wire_width, UnifiedBonePtr::disp_mat(), DRW_select_load_id(), drw_shgroup_bone_custom_empty(), drw_shgroup_bone_custom_solid(), drw_shgroup_bone_custom_wire(), Object::empty_drawtype, float, get_bone_hint_color(), get_bone_solid_color(), get_bone_wire_color(), blender::draw::overlay::Armatures::DrawContext::is_overlay_next(), OB_EMPTY, OB_EMPTY_IMAGE, blender::draw::overlay::Armatures::DrawContext::ob_ref, blender::draw::overlay::Armatures::DrawContext::res, blender::draw::select::SelectMap::select_id(), blender::draw::select::SelectMap::select_invalid_id(), and Object::type.
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2311 of file overlay_armature.cc.
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2271 of file overlay_armature.cc.
References UnifiedBonePtr::as_posebone(), copy_m4_m4(), bPoseChannel::custom_rotation_euler, bPoseChannel::custom_scale_xyz, bPoseChannel::custom_translation, bPoseChannel::custom_tx, UnifiedBonePtr::disp_mat(), bPoseChannel::disp_tail_mat, eulO_to_mat3(), float, mul_m4_m4m3(), mul_v3_v3fl(), PCHAN_CUSTOM_BONE_LENGTH, bPoseChannel::pose_mat, rescale_m4(), ROT_MODE_XYZ, and translate_m4().