Blender  V3.3
Classes | Namespaces | Enumerations
tree_display.hh File Reference

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

#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

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

Enumerations

enum  blender::ed::outliner::SequenceAddOp { blender::ed::outliner::SEQUENCE_DUPLICATE_NOOP = 0 , blender::ed::outliner::SEQUENCE_DUPLICATE_ADD , blender::ed::outliner::SEQUENCE_DUPLICATE_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 buildTree() 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.