|
Blender V4.3
|
Typedefs | |
| using | VisitorFn = FunctionRef<void(TreeElement *)> |
Functions | |
| void | all (const SpaceOutliner &space_outliner, const VisitorFn visitor) |
| void | all (const ListBase &subtree, const VisitorFn visitor) |
| void | all_open (const SpaceOutliner &space_outliner, const VisitorFn visitor) |
| void | all_open (const SpaceOutliner &space_outliner, const ListBase &subtree, const VisitorFn visitor) |
| using blender::ed::outliner::tree_iterator::VisitorFn = FunctionRef<void(TreeElement *)> |
Definition at line 22 of file tree_iterator.hh.
| void blender::ed::outliner::tree_iterator::all | ( | const ListBase & | subtree, |
| const VisitorFn | visitor ) |
Definition at line 24 of file tree_iterator.cc.
References all(), and LISTBASE_FOREACH_MUTABLE.
| void blender::ed::outliner::tree_iterator::all | ( | const SpaceOutliner & | space_outliner, |
| VisitorFn | visitor ) |
Preorder (meaning depth-first) traversal of all elements (regardless of collapsed state). Freeing the currently visited element in visitor is fine.
Definition at line 19 of file tree_iterator.cc.
References all_open(), and SpaceOutliner::tree.
Referenced by all(), blender::ed::outliner::do_outliner_item_activate_tree_element(), blender::ed::outliner::outliner_context_selected_ids(), blender::ed::outliner::outliner_flag_flip(), blender::ed::outliner::outliner_flag_set(), and blender::ed::outliner::outliner_set_subtree_coords().
| void blender::ed::outliner::tree_iterator::all_open | ( | const SpaceOutliner & | space_outliner, |
| const ListBase & | subtree, | ||
| const VisitorFn | visitor ) |
Definition at line 42 of file tree_iterator.cc.
References all_open(), LISTBASE_FOREACH_MUTABLE, TREESTORE, and TSELEM_OPEN.
| void blender::ed::outliner::tree_iterator::all_open | ( | const SpaceOutliner & | , |
| VisitorFn | visitor ) |
Preorder (meaning depth-first) traversal of all elements not part of a collapsed sub-tree. Freeing the currently visited element in visitor is fine (but not its tree-store element).
Definition at line 37 of file tree_iterator.cc.
References all_open(), and SpaceOutliner::tree.
Referenced by all(), all_open(), all_open(), blender::ed::outliner::do_outliner_drivers_editop(), blender::ed::outliner::do_outliner_keyingset_editop(), blender::ed::outliner::outliner_do_data_operation(), blender::ed::outliner::outliner_do_id_set_operation(), blender::ed::outliner::outliner_do_libdata_operation(), blender::ed::outliner::outliner_do_scene_operation(), blender::ed::outliner::outliner_draw_mode_column(), blender::ed::outliner::outliner_draw_rnabuts(), blender::ed::outliner::outliner_draw_userbuts(), blender::ed::outliner::outliner_draw_warning_column(), blender::ed::outliner::outliner_set_coordinates(), and blender::ed::outliner::tree_element_show_hierarchy().