Blender V5.0
tree_display.hh File Reference

Establish and manage Outliner trees for different display modes. More...

#include <cstdint>
#include <memory>

Go to the source code of this file.

Classes

struct  blender::ed::outliner::TreeSourceData
 The data to build the tree from. More...
class  blender::ed::outliner::AbstractTreeDisplay
 Base Class For Tree-Displays. More...
class  blender::ed::outliner::TreeDisplayViewLayer
 Tree-Display for the View Layer display mode. More...
class  blender::ed::outliner::TreeDisplayLibraries
 Tree-Display for the Libraries display mode. More...
class  blender::ed::outliner::TreeDisplayOverrideLibraryProperties
 Tree-Display for the Library Overrides display mode, Properties view mode. More...
class  blender::ed::outliner::TreeDisplayOverrideLibraryHierarchies
 Tree-Display for the Library Overrides display mode, Hierarchies view mode. More...
class  blender::ed::outliner::TreeDisplaySequencer
 Tree-Display for the Video Sequencer display mode. More...
class  blender::ed::outliner::TreeDisplayIDOrphans
 Tree-Display for the Orphaned Data display mode. More...
class  blender::ed::outliner::TreeDisplayScenes
 Tree-Display for the Scenes display mode. More...
class  blender::ed::outliner::TreeDisplayDataAPI
 Tree-Display for the Scenes display mode. More...

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::outliner

Enumerations

enum class  blender::ed::outliner::StripAddOp : int8_t { blender::ed::outliner::Noop = 0 , blender::ed::outliner::Add , blender::ed::outliner::None }

Detailed Description

Establish and manage Outliner trees for different display modes.

Each Outliner display mode (e.g View Layer, Scenes, Blender File) is implemented as a tree-display class with the #AbstractTreeDisplay interface.

Their main responsibility is building the Outliner tree for a display mode. For that, they implement the #build_tree() function, which based on Blender data (#TreeSourceData), builds a custom tree of whatever data it wants to visualize. Further, they can implement display mode dependent queries and general operations using the #AbstractTreeDisplay abstraction as common interface.

Outliners keep the current tree-display object alive until the next full tree rebuild to keep access to it.

Definition in file tree_display.hh.