2
* ***** BEGIN GPL LICENSE BLOCK *****
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License
6
* as published by the Free Software Foundation; either version 2
7
* of the License, or (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
* Contributor(s): Joseph Eagar, Geoffrey Bantle.
20
* ***** END GPL LICENSE BLOCK *****
23
#ifndef __BMESH_WALKERS_PRIVATE_H__
24
#define __BMESH_WALKERS_PRIVATE_H__
26
/** \file blender/bmesh/intern/bmesh_walkers_private.h
32
extern BMWalker *bm_walker_types[];
33
extern const int bm_totwalkers;
37
typedef struct BMwGenericWalker {
43
typedef struct BMwShellWalker {
44
BMwGenericWalker header;
48
typedef struct BMwIslandboundWalker {
49
BMwGenericWalker header;
53
} BMwIslandboundWalker;
55
typedef struct BMwIslandWalker {
56
BMwGenericWalker header;
60
typedef struct BMwLoopWalker {
61
BMwGenericWalker header;
63
BMVert *lastv, *startv;
65
short is_boundary; /* boundary looping changes behavior */
66
short is_single; /* single means the edge verts are only connected to 1 face */
69
typedef struct BMwFaceLoopWalker {
70
BMwGenericWalker header;
75
typedef struct BMwEdgeringWalker {
76
BMwGenericWalker header;
81
typedef struct BMwUVEdgeWalker {
82
BMwGenericWalker header;
86
typedef struct BMwConnectedVertexWalker {
87
BMwGenericWalker header;
89
} BMwConnectedVertexWalker;
91
#endif /* __BMESH_WALKERS_PRIVATE_H__ */