Blender V5.3
tree_element_anim_data.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "DNA_outliner_types.h"
12
13#include "tree_element.hh"
14
15#include "BKE_action.hh"
16
17namespace blender {
18
19struct AnimData;
20
21namespace ed::outliner {
22
24 AnimData &anim_data_;
25
26 public:
28
29 TreeElementAnimData(TreeElement &legacy_te, AnimData &anim_data);
30
31 void expand(SpaceOutliner &space_outliner) const override;
32
33 std::optional<BIFIconID> get_icon() const override
34 {
35 return ICON_ANIM_DATA;
36 }
37
39
40 private:
41 void expand_drivers() const;
42 void expand_NLA_tracks() const;
43};
44
45} // namespace ed::outliner
46} // namespace blender
Blender kernel action and pose functionality.
#define final(a, b, c)
Definition BLI_hash_c.hh:21
void expand(SpaceOutliner &space_outliner) const override
TreeElementAnimData(TreeElement &legacy_te, AnimData &anim_data)
std::optional< BIFIconID > get_icon() const override
static constexpr eTreeStoreElemType element_type
decltype(blender::ActionSlot::handle) slot_handle_t
BMesh Iterators.