Blender V5.3
blender::ed::outliner::TreeElementAnimData Class Referencefinal

#include <tree_element_anim_data.hh>

Inherits blender::ed::outliner::AbstractTreeElement.

Public Member Functions

 TreeElementAnimData (TreeElement &legacy_te, AnimData &anim_data)
void expand (SpaceOutliner &space_outliner) const override
std::optional< BIFIconID > get_icon () const override
animrig::slot_handle_t get_slot_handle () const
Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
virtual bool expand_poll (const SpaceOutliner &) const
TreeElement & get_legacy_element ()
virtual StringRefNull get_warning () const
void print_path ()

Static Public Attributes

static constexpr eTreeStoreElemType element_type = TSE_ANIM_DATA

Additional Inherited Members

Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
static void uncollapse_by_default (TreeElement *legacy_te)
Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement
 AbstractTreeElement (TreeElement &legacy_te)
template<typename ElementType, typename... Args>
TreeElement * add_element (const TreeElementAddParams &params, Args &&...args) const
TreeElement * add_id_element (const TreeElementAddParams &params, ID *id) const
Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElement & legacy_te_
AbstractTreeDisplay * display_

Detailed Description

Definition at line 23 of file tree_element_anim_data.hh.

Constructor & Destructor Documentation

◆ TreeElementAnimData()

Member Function Documentation

◆ expand()

void blender::ed::outliner::TreeElementAnimData::expand ( SpaceOutliner & space_outliner) const
overridevirtual

Let the type add its own children.

Reimplemented from blender::ed::outliner::AbstractTreeElement.

Definition at line 34 of file tree_element_anim_data.cc.

References blender::ed::outliner::AbstractTreeElement::add_id_element().

◆ get_icon()

std::optional< BIFIconID > blender::ed::outliner::TreeElementAnimData::get_icon ( ) const
inlineoverridevirtual

Define the icon to be displayed for this element. If this returns an icon, this will be displayed. Otherwise, tree_element_get_icon() may still determine an icon. By default no value is returned (#std::nullopt).

All elements should be ported to use this over tree_element_get_icon().

Reimplemented from blender::ed::outliner::AbstractTreeElement.

Definition at line 33 of file tree_element_anim_data.hh.

◆ get_slot_handle()

animrig::slot_handle_t blender::ed::outliner::TreeElementAnimData::get_slot_handle ( ) const

Member Data Documentation

◆ element_type

eTreeStoreElemType blender::ed::outliner::TreeElementAnimData::element_type = TSE_ANIM_DATA
staticconstexpr

Definition at line 27 of file tree_element_anim_data.hh.


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