|
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) 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_B_BONE.
Definition at line 2593 of file overlay_armature.cc.
|
inlineoverridevirtual |
Culling test.
Implements ArmatureBoneDrawStrategy.
Definition at line 2600 of file overlay_armature.cc.
References ARM_B_BONE, bPoseChannelDrawData::bbone_matrix, BLI_assert, bPoseChannel::bone, BoundSphere::center, Object::data, bPoseChannel::draw_data, bArmature::drawtype, DRW_culling_sphere_test(), len_v3(), Mat4::mat, mat4_to_size(), mat4_to_size_max_axis(), mul_v3_m4v3(), BoundSphere::radius, Bone::segments, and UNUSED_VARS_NDEBUG.
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2631 of file overlay_armature.cc.
References blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::append(), blender::draw::overlay::ARM_DRAW_MODE_EDIT, UnifiedBonePtr::as_editbone(), UnifiedBonePtr::as_posebone(), bPoseChannelDrawData::bbone_matrix, BLI_assert, bPoseChannel::bone, blender::draw::overlay::Armatures::DrawContext::bone_buf, BONESEL_BONE, EditBone::disp_bbone_mat, bPoseChannel::draw_data, blender::draw::overlay::Armatures::DrawContext::draw_mode, draw_points(), DRW_select_load_id(), drw_shgroup_bone_box(), get_bone_hint_color(), get_bone_solid_with_consts_color(), get_bone_wire_color(), UnifiedBonePtr::is_editbone(), blender::draw::overlay::Armatures::DrawContext::is_filled, blender::draw::overlay::Armatures::DrawContext::is_overlay_next(), UnifiedBonePtr::is_posebone(), Mat4::mat, blender::draw::overlay::Armatures::DrawContext::ob, blender::draw::overlay::Armatures::DrawContext::ob_ref, blender::draw::overlay::Armatures::DrawContext::res, Bone::segments, EditBone::segments, and blender::draw::select::SelectMap::select_id().
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2622 of file overlay_armature.cc.
References OVERLAY_ArmatureCallBuffersInner::box_fill, OVERLAY_ArmatureCallBuffersInner::box_outline, blender::draw::overlay::Armatures::DrawContext::outline, and blender::draw::overlay::Armatures::DrawContext::solid.
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2595 of file overlay_armature.cc.
References draw_bone_update_disp_matrix_bbone().