|
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, 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_WIRE.
Definition at line 2797 of file overlay_armature.cc.
|
inlineoverridevirtual |
Culling test.
Implements ArmatureBoneDrawStrategy.
Definition at line 2804 of file overlay_armature.cc.
References ARM_WIRE, BLI_assert, Object::data, and pchan_culling_test_simple().
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2821 of file overlay_armature.cc.
References blender::draw::overlay::LinePrimitiveBuf::append(), UnifiedBonePtr::as_editbone(), UnifiedBonePtr::as_posebone(), bPoseChannelDrawData::bbone_matrix, bPoseChannel::bone, blender::draw::overlay::Armatures::DrawContext::bone_buf, BONESEL_BONE, EditBone::disp_bbone_mat, bPoseChannel::draw_data, draw_points(), DRW_buffer_add_entry, DRW_select_load_id(), get_bone_solid_with_consts_color(), get_bone_wire_color(), UnifiedBonePtr::is_editbone(), blender::draw::overlay::Armatures::DrawContext::is_overlay_next(), UnifiedBonePtr::is_posebone(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), blender::draw::overlay::Armatures::DrawContext::ob, blender::draw::overlay::Armatures::DrawContext::ob_ref, blender::draw::overlay::Armatures::DrawContext::res, Bone::segments, EditBone::segments, blender::draw::select::SelectMap::select_id(), blender::draw::select::SelectMap::select_invalid_id(), transform_point(), blender::draw::overlay::Armatures::DrawContext::wire, and blender::MatBase< T, NumCol, NumRow, Alignment >::y_axis().
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2812 of file overlay_armature.cc.
References blender::draw::overlay::Armatures::DrawContext::const_wire, blender::draw::overlay::Armatures::DrawContext::wire, and OVERLAY_ArmatureCallBuffersInner::wire.
|
inlineoverridevirtual |
Implements ArmatureBoneDrawStrategy.
Definition at line 2799 of file overlay_armature.cc.
References draw_bone_update_disp_matrix_bbone().