|
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 *ctx, const OVERLAY_ArmatureCallBuffersInner *cb, const bool is_filled, const bool do_envelope_dist) 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 ARM_ENVELOPE.
Definition at line 2707 of file overlay_armature.cc.
|
inlineoverridevirtual |
Culling test.
Implements ArmatureBoneDrawStrategy.
Definition at line 2714 of file overlay_armature.cc.
References ARM_ENVELOPE, BLI_assert, bPoseChannel::bone, Object::data, bPoseChannel::disp_mat, bArmature::drawtype, DRW_culling_sphere_test(), mat4_to_size_max_axis(), max_ff(), pchan_culling_calc_bsphere(), Bone::rad_head, Bone::rad_tail, BoundSphere::radius, and UNUSED_VARS_NDEBUG.
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2739 of file overlay_armature.cc.
References UnifiedBonePtr::as_editbone(), UnifiedBonePtr::as_posebone(), bPoseChannel::bone, BONE_CONNECTED, BONE_NO_DEFORM, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, BONESEL_BONE, UnifiedBonePtr::disp_mat(), Bone::dist, EditBone::dist, distance(), draw_points(), DRW_select_load_id(), drw_shgroup_bone_envelope(), drw_shgroup_bone_envelope_distance(), get_bone_hint_color(), get_bone_solid_with_consts_color(), get_bone_wire_color(), UnifiedBonePtr::is_editbone(), bPoseChannel::parent, EditBone::parent, Bone::rad_head, EditBone::rad_head, Bone::rad_tail, and EditBone::rad_tail.
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2729 of file overlay_armature.cc.
References blender::draw::overlay::Armatures::DrawContext::envelope_distance, OVERLAY_ArmatureCallBuffersInner::envelope_distance, OVERLAY_ArmatureCallBuffersInner::envelope_fill, blender::draw::overlay::Armatures::DrawContext::envelope_outline, OVERLAY_ArmatureCallBuffersInner::envelope_outline, and blender::draw::overlay::Armatures::DrawContext::envelope_solid.
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2709 of file overlay_armature.cc.
References draw_bone_update_disp_matrix_default().