Blender V4.3
ArmatureBoneDrawStrategy Class Referenceabstract

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
 

Detailed Description

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.

Member Function Documentation

◆ culling_test()

virtual bool ArmatureBoneDrawStrategy::culling_test ( const DRWView * view,
const Object * ob,
const bPoseChannel * pchan ) const
pure virtual

◆ draw_bone()

◆ draw_context_setup()

virtual void ArmatureBoneDrawStrategy::draw_context_setup ( Armatures::DrawContext * ctx,
const OVERLAY_ArmatureCallBuffersInner * cb,
const bool is_filled,
const bool do_envelope_dist ) const
pure virtual

◆ should_draw_relation_to_parent()

virtual bool ArmatureBoneDrawStrategy::should_draw_relation_to_parent ( const UnifiedBonePtr bone,
const eBone_Flag boneflag ) const
inlinevirtual

◆ update_display_matrix()


The documentation for this class was generated from the following file: