|
Blender V5.3
|
#include <tree_element_collection.hh>
Inherits blender::ed::outliner::AbstractTreeElement.
Public Member Functions | |
| TreeElementCollectionBase (TreeElement &legacy_te, Scene &scene) | |
| void | expand (SpaceOutliner &) const override |
| 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 |
| virtual std::optional< BIFIconID > | get_icon () const |
| void | print_path () |
Static Public Member Functions | |
| static ID * | owner_id (Scene &scene) |
| Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| static void | uncollapse_by_default (TreeElement *legacy_te) |
Static Public Attributes | |
| static constexpr eTreeStoreElemType | element_type = TSE_SCENE_COLLECTION_BASE |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| AbstractTreeElement (TreeElement &legacy_te) | |
| template<typename ElementType, typename... Args> | |
| TreeElement * | add_element (const TreeElementAddParams ¶ms, Args &&...args) const |
| TreeElement * | add_id_element (const TreeElementAddParams ¶ms, ID *id) const |
| Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement | |
| TreeElement & | legacy_te_ |
| AbstractTreeDisplay * | display_ |
Definition at line 21 of file tree_element_collection.hh.
| blender::ed::outliner::TreeElementCollectionBase::TreeElementCollectionBase | ( | TreeElement & | legacy_te, |
| Scene & | scene ) |
Definition at line 20 of file tree_element_collection.cc.
References blender::ed::outliner::AbstractTreeElement::AbstractTreeElement(), blender::BLI_assert(), IFACE_, blender::ed::outliner::TreeElement::name, blender::ed::outliner::TreeElement::store_elem, blender::TSE_SCENE_COLLECTION_BASE, and blender::TreeStoreElem::type.
|
overridevirtual |
Let the type add its own children.
Reimplemented from blender::ed::outliner::AbstractTreeElement.
Definition at line 32 of file tree_element_collection.cc.
References blender::ed::outliner::AbstractTreeElement::display_, blender::ed::outliner::AbstractTreeElement::legacy_te_, and blender::ed::outliner::outliner_add_collection_recursive().
The ID identifying this element in the tree-store, see #AbstractTreeDisplay::add_element().
Definition at line 27 of file tree_element_collection.cc.
References blender::Scene::id.
|
staticconstexpr |
Definition at line 25 of file tree_element_collection.hh.