Blender V5.3
SEQ_connect.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11#include "BLI_vector_set.hh"
12#include "DNA_listBase.h"
13
14namespace blender {
15
16struct Strip;
17struct StripConnection;
18
19namespace seq {
20
21void connections_duplicate(ListBaseT<StripConnection> *connections_dst,
22 ListBaseT<StripConnection> *connections_src);
23
29bool disconnect(Strip *strip);
30bool disconnect(VectorSet<Strip *> &strip_list);
31
35void cut_one_way_connections(Strip *strip);
40void cut_outside_connections(const VectorSet<Strip *> &strip_list);
41
46void connect(Strip *strip1, Strip *strip2);
47void connect(VectorSet<Strip *> &strip_list);
48
54VectorSet<Strip *> connected_strips_get(const Strip *strip);
55
59bool is_strip_connected(const Strip *strip);
60
65bool are_strips_connected_together(VectorSet<Strip *> &strip_list);
66
67} // namespace seq
68} // namespace blender
These structs are the foundation for all linked lists in the library system.
bool disconnect(Strip *strip)
bool are_strips_connected_together(VectorSet< Strip * > &strip_list)
void connections_duplicate(ListBaseT< StripConnection > *connections_dst, ListBaseT< StripConnection > *connections_src)
void connect(Strip *strip1, Strip *strip2)
void cut_one_way_connections(Strip *strip)
bool is_strip_connected(const Strip *strip)
void cut_outside_connections(const VectorSet< Strip * > &strip_list)
VectorSet< Strip * > connected_strips_get(const Strip *strip)
BMesh Iterators.