|
Blender
V2.93
|
#include "DNA_space_types.h"Go to the source code of this file.
Classes | |
| struct | TreeSourceData |
| The data to build the tree from. More... | |
Typedefs | |
| typedef struct TreeDisplay | TreeDisplay |
| typedef struct TreeSourceData | TreeSourceData |
| The data to build the tree from. More... | |
Functions | |
| TreeDisplay * | outliner_tree_display_create (eSpaceOutliner_Mode mode, SpaceOutliner *space_outliner) |
| void | outliner_tree_display_destroy (TreeDisplay **tree_display) |
| ListBase | outliner_tree_display_build_tree (TreeDisplay *tree_display, TreeSourceData *source_data) |
| struct TreeElement * | outliner_add_element (SpaceOutliner *space_outliner, ListBase *lb, void *idv, struct TreeElement *parent, short type, short index) |
| void | outliner_make_object_parent_hierarchy (ListBase *lb) |
| bool | outliner_animdata_test (const struct AnimData *adt) |
| TreeElement * | outliner_add_collection_recursive (SpaceOutliner *space_outliner, struct Collection *collection, TreeElement *ten) |
| const char * | outliner_idcode_to_plural (short idcode) |
C-API for the Tree-Display types.
Definition in file tree_display.h.
| typedef struct TreeDisplay TreeDisplay |
C alias for an #AbstractTreeDisplay handle.
Definition at line 1 of file tree_display.h.
| typedef struct TreeSourceData TreeSourceData |
The data to build the tree from.
| TreeElement* outliner_add_collection_recursive | ( | SpaceOutliner * | space_outliner, |
| struct Collection * | collection, | ||
| TreeElement * | ten | ||
| ) |
Definition at line 1155 of file outliner_tree.c.
References Collection::children, LISTBASE_FOREACH, outliner_add_collection_init(), outliner_add_collection_objects(), outliner_add_element(), SpaceOutliner::outlinevis, SO_SCENES, TreeElement::subtree, and TSE_SOME_ID.
Referenced by blender::ed::outliner::TreeElementCollectionBase::expand(), and outliner_add_id_contents().
| struct TreeElement* outliner_add_element | ( | SpaceOutliner * | space_outliner, |
| ListBase * | lb, | ||
| void * | idv, | ||
| TreeElement * | parent, | ||
| short | type, | ||
| short | index | ||
| ) |
TODO: this function needs to be split up! It's getting a bit too large...
TSE_ type must be added to #outliner_element_needs_rebuild_on_open_change(). Definition at line 832 of file outliner_tree.c.
References Freestyle::a, BLI_addtail(), BLI_assert, BLI_STATIC_ASSERT, BLI_strcasecmp(), Freestyle::c, check_persistent(), CLAMP_MAX, PointerRNA::data, Strip::dir, TreeElement::directdata, ELEM, TreeElement::flag, TreeStoreElem::flag, GS, id, TreeElement::idcode, IFACE_, TreeElement::index, LISTBASE_FOREACH, MEM_callocN, TreeElement::name, StripElem::name, Sequence::name, ID::name, NULL, outliner_add_id_contents(), outliner_tree_element_type_create(), outliner_tree_element_type_expand(), outliner_tree_element_type_expand_poll(), outliner_tree_element_type_is_expand_valid(), outliner_tree_element_type_post_expand(), TreeElement::parent, PROP_BOOLEAN, PROP_COLLECTION, PROP_FLOAT, PROP_HIDDEN, PROP_INT, PROP_POINTER, ptr, RNA_property_array_item_char(), RNA_property_array_length(), RNA_property_collection_length(), RNA_property_collection_lookup_int(), RNA_property_flag(), RNA_property_pointer_get(), RNA_property_type(), RNA_property_ui_name(), RNA_struct_iterator_property(), RNA_struct_name_get_alloc(), RNA_struct_ui_name(), TreeElement::rnaptr, SEARCHING_OUTLINER, SEQ_TYPE_EFFECT, SEQ_TYPE_META, Sequence::seqbase, Sequence::strip, Strip::stripdata, TreeElement::subtree, TE_FREE_NAME, TE_LAZY_CLOSED, TREESTORE, TREESTORE_ID_TYPE, TSE_ANIM_DATA, TSE_CHILDSEARCH, TSE_CLOSED, TSE_DRIVER_BASE, TSE_GP_LAYER, TSE_ID_BASE, TSE_IS_REAL_ID, TSE_LAYER_COLLECTION, TSE_LIBRARY_OVERRIDE, TSE_LIBRARY_OVERRIDE_BASE, TSE_NLA, TSE_NLA_ACTION, TSE_NLA_TRACK, TSE_RNA_ARRAY_ELEM, TSE_RNA_PROPERTY, TSE_RNA_STRUCT, TSE_SCENE_COLLECTION_BASE, TSE_SEQ_STRIP, TSE_SEQUENCE, TSE_SEQUENCE_DUP, TSE_SOME_ID, TSE_VIEW_COLLECTION_BASE, TSELEM_OPEN, TreeElement::type, type, Sequence::type, PointerRNA::type, and TreeStoreElem::used.
Referenced by blender::ed::outliner::TreeDisplayViewLayer::buildTree(), blender::ed::outliner::TreeDisplaySequencer::buildTree(), blender::ed::outliner::TreeDisplayIDOrphans::buildTree(), blender::ed::outliner::TreeDisplayScenes::buildTree(), blender::ed::outliner::TreeDisplayDataAPI::buildTree(), blender::ed::outliner::TreeElementOverridesBase::expand(), blender::ed::outliner::TreeElementSceneObjectsBase::expand(), blender::ed::outliner::TreeElementViewLayerBase::expand(), blender::ed::outliner::TreeElementAnimData::expand(), blender::ed::outliner::TreeElementDriverBase::expand(), blender::ed::outliner::TreeElementNLA::expand(), blender::ed::outliner::TreeElementNLATrack::expand(), blender::ed::outliner::TreeElementID::expand_animation_data(), outliner_add_bone(), outliner_add_collection_objects(), outliner_add_collection_recursive(), outliner_add_id_contents(), outliner_add_object_contents(), and blender::ed::outliner::TreeElementID::postExpand().
| bool outliner_animdata_test | ( | const struct AnimData * | adt | ) |
| const char* outliner_idcode_to_plural | ( | short | idcode | ) |
Definition at line 33 of file common.cc.
References BKE_idtype_idcode_to_name_plural(), RNA_BlendData, RNA_property_ui_name(), and RNA_struct_type_find_property().
Referenced by blender::ed::outliner::TreeDisplayIDOrphans::buildTree().
| void outliner_make_object_parent_hierarchy | ( | ListBase * | lb | ) |
Definition at line 1179 of file outliner_tree.c.
References BLI_addtail(), BLI_remlink(), ListBase::first, Object::id, TreeStoreElem::id, ID_OB, TreeElement::idcode, if(), ID::newid, TreeElement::next, TreeElement::parent, Object::parent, TreeElement::subtree, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by blender::ed::outliner::TreeDisplayViewLayer::buildTree(), blender::ed::outliner::TreeDisplayScenes::buildTree(), and blender::ed::outliner::TreeElementSceneObjectsBase::expand().
| ListBase outliner_tree_display_build_tree | ( | TreeDisplay * | tree_display, |
| TreeSourceData * | source_data | ||
| ) |
Definition at line 65 of file tree_display.cc.
References buildTree().
Referenced by outliner_build_tree().
| TreeDisplay* outliner_tree_display_create | ( | eSpaceOutliner_Mode | mode, |
| SpaceOutliner * | space_outliner | ||
| ) |
Definition at line 27 of file tree_display.cc.
References SO_DATA_API, SO_ID_ORPHANS, SO_LIBRARIES, SO_OVERRIDES_LIBRARY, SO_SCENES, SO_SEQUENCE, and SO_VIEW_LAYER.
Referenced by outliner_build_tree().
| void outliner_tree_display_destroy | ( | TreeDisplay ** | tree_display | ) |
Definition at line 59 of file tree_display.cc.
Referenced by outliner_build_tree(), and outliner_free().