|
Blender V4.3
|
Inherited by ArmatureBoneDrawStrategyBBone, ArmatureBoneDrawStrategyCustomShape, ArmatureBoneDrawStrategyEmpty, ArmatureBoneDrawStrategyEnvelope, ArmatureBoneDrawStrategyLine, ArmatureBoneDrawStrategyOcta, and ArmatureBoneDrawStrategyWire.
Public Member Functions | |
| virtual void | update_display_matrix (UnifiedBonePtr bone) const =0 |
| virtual bool | culling_test (const DRWView *view, const Object *ob, const bPoseChannel *pchan) const =0 |
| virtual void | draw_context_setup (Armatures::DrawContext *ctx, const OVERLAY_ArmatureCallBuffersInner *cb, const bool is_filled, const bool do_envelope_dist) const =0 |
| virtual void | draw_bone (const Armatures::DrawContext *ctx, const UnifiedBonePtr bone, const eBone_Flag boneflag, const int select_id) const =0 |
| virtual bool | should_draw_relation_to_parent (const UnifiedBonePtr bone, const eBone_Flag boneflag) const |
Bone drawing strategy class.
Depending on the armature display mode, a different subclass is used to manage drawing. These subclasses are defined further down in the file. This abstract class needs to be defined before any function that uses it, though.
Definition at line 200 of file overlay_armature.cc.
|
pure virtual |
Culling test.
Implemented in ArmatureBoneDrawStrategyBBone, ArmatureBoneDrawStrategyCustomShape, ArmatureBoneDrawStrategyEmpty, ArmatureBoneDrawStrategyEnvelope, ArmatureBoneDrawStrategyLine, ArmatureBoneDrawStrategyOcta, and ArmatureBoneDrawStrategyWire.
Referenced by blender::draw::overlay::Armatures::draw_armature_pose().
|
pure virtual |
Implemented in ArmatureBoneDrawStrategyBBone, ArmatureBoneDrawStrategyCustomShape, ArmatureBoneDrawStrategyEmpty, ArmatureBoneDrawStrategyEnvelope, ArmatureBoneDrawStrategyLine, ArmatureBoneDrawStrategyOcta, and ArmatureBoneDrawStrategyWire.
Referenced by blender::draw::overlay::Armatures::draw_armature_edit(), and blender::draw::overlay::Armatures::draw_armature_pose().
|
pure virtual |
|
inlinevirtual |
Should the relationship line between this bone and its parent be drawn?
Definition at line 223 of file overlay_armature.cc.
References UnifiedBonePtr::as_posebone(), bPoseChannel::bone, BONE_CONNECTED, BONE_SELECTED, Bone::flag, UnifiedBonePtr::has_parent(), UnifiedBonePtr::is_editbone(), UnifiedBonePtr::is_posebone(), and bPoseChannel::parent.
Referenced by draw_bone_relations().
|
pure virtual |
Implemented in ArmatureBoneDrawStrategyBBone, ArmatureBoneDrawStrategyCustomShape, ArmatureBoneDrawStrategyEmpty, ArmatureBoneDrawStrategyEnvelope, ArmatureBoneDrawStrategyLine, ArmatureBoneDrawStrategyOcta, and ArmatureBoneDrawStrategyWire.
Referenced by blender::draw::overlay::Armatures::draw_armature_edit(), and blender::draw::overlay::Armatures::draw_armature_pose().