|
Blender V4.3
|
Tree-Display for the View Layer display mode. More...
#include <tree_display.hh>
Inherits blender::ed::outliner::AbstractTreeDisplay.
Tree-Display for a View Layer. | |
| TreeDisplayViewLayer (SpaceOutliner &space_outliner) | |
| ListBase | build_tree (const TreeSourceData &source_data) override |
| bool | supports_mode_column () const override |
Additional Inherited Members | |
Public Member Functions inherited from blender::ed::outliner::AbstractTreeDisplay | |
| AbstractTreeDisplay (SpaceOutliner &space_outliner) | |
| virtual | ~AbstractTreeDisplay ()=default |
| virtual bool | is_lazy_built () const |
| TreeElement * | add_element (ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true) |
Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeDisplay | |
| static std::unique_ptr< AbstractTreeDisplay > | create_from_display_mode (int mode, SpaceOutliner &space_outliner) |
| static TreeElement * | add_element (SpaceOutliner *space_outliner, ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true) |
Protected Attributes inherited from blender::ed::outliner::AbstractTreeDisplay | |
| SpaceOutliner & | space_outliner_ |
Tree-Display for the View Layer display mode.
Definition at line 146 of file tree_display.hh.
| blender::ed::outliner::TreeDisplayViewLayer::TreeDisplayViewLayer | ( | SpaceOutliner & | space_outliner | ) |
Definition at line 52 of file tree_display_view_layer.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 62 of file tree_display_view_layer.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_element(), blender::ed::outliner::TreeElement::directdata, SpaceOutliner::filter, TreeStoreElem::flag, blender::ed::outliner::TreeElement::name, scene, SO_FILTER_NO_OBJECT, SO_FILTER_NO_VIEW_LAYERS, source_data, blender::ed::outliner::AbstractTreeDisplay::space_outliner_, blender::ed::outliner::TreeElement::subtree, tree, TREESTORE, TSE_R_LAYER, and TreeStoreElem::used.
|
overridevirtual |
Define if the display mode should be allowed to show a mode column on the left. This column adds an icon to indicate which objects are in the current mode (edit mode, pose mode, etc.) and allows adding other objects to the mode by clicking the icon.
Returns false by default.
Reimplemented from blender::ed::outliner::AbstractTreeDisplay.
Definition at line 57 of file tree_display_view_layer.cc.