Blender
V3.3
|
Tree-Display for the Scenes display mode. More...
#include <tree_display.hh>
Public Member Functions | |
TreeDisplayDataAPI (SpaceOutliner &space_outliner) | |
ListBase | buildTree (const TreeSourceData &source_data) override |
bool | is_lazy_built () const override |
![]() | |
AbstractTreeDisplay (SpaceOutliner &space_outliner) | |
virtual | ~AbstractTreeDisplay ()=default |
virtual bool | supportsModeColumn () const |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< AbstractTreeDisplay > | createFromDisplayMode (int mode, SpaceOutliner &space_outliner) |
![]() | |
SpaceOutliner & | space_outliner_ |
Tree-Display for the Scenes display mode.
Definition at line 241 of file tree_display.hh.
blender::ed::outliner::TreeDisplayDataAPI::TreeDisplayDataAPI | ( | SpaceOutliner & | space_outliner | ) |
Definition at line 20 of file tree_display_data.cc.
|
overridevirtual |
Build a tree for this display mode with the Blender context data given in source_data and the view settings in space_outliner.
Implements blender::ed::outliner::AbstractTreeDisplay.
Definition at line 25 of file tree_display_data.cc.
References BLI_mempool_len(), blender::ed::outliner::TreeSourceData::bmain, TreeStoreElem::flag, blender::ed::outliner::outliner_add_element(), RNA_main_pointer_create(), blender::ed::outliner::AbstractTreeDisplay::space_outliner_, tree, TREESTORE, SpaceOutliner::treestore, TSE_CLOSED, and TSE_RNA_STRUCT.
|
overridevirtual |
Some trees may want to skip building children of collapsed parents. This should be done if the tree type may become very complex, which could cause noticeable slowdowns. Problem: This doesn't address performance issues while searching, since all elements are constructed for that. Trees of this type have to be rebuilt for any change to the collapsed state of any element.
Reimplemented from blender::ed::outliner::AbstractTreeDisplay.
Definition at line 45 of file tree_display_data.cc.