Blender  V2.93
DNA_lineart_types.h
Go to the documentation of this file.
1 /*
2  * ***** BEGIN GPL LICENSE BLOCK *****
3  *
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.
8  *
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.
13  *
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.
17  *
18  * The Original Code is Copyright (C) 2010 Blender Foundation.
19  * All rights reserved.
20  *
21  * The Original Code is: all of this file.
22  *
23  * Contributor(s): none yet.
24  *
25  * ***** END GPL LICENSE BLOCK *****
26  */
27 
28 #ifndef __DNA_LRT_TYPES_H__
29 #define __DNA_LRT_TYPES_H__
30 
35 #include "DNA_ID.h"
36 #include "DNA_listBase.h"
37 
38 /* Notice that we need to have this file although no struct defines.
39  * Edge flags and usage flags are used by with scene/object/gpencil modifier bits, and those values
40  * needs to stay consistent throughout. */
41 
42 typedef enum eLineartMainFlags {
48  LRT_REMOVE_DOUBLES = (1 << 5),
50 
51 typedef enum eLineartEdgeFlag {
64 
65 #define LRT_EDGE_FLAG_ALL_TYPE 0x3f
66 
67 #endif
ID and Library types, which are fundamental for sdna.
eLineartEdgeFlag
@ LRT_EDGE_FLAG_MATERIAL
@ LRT_EDGE_FLAG_CREASE
@ LRT_EDGE_FLAG_FLOATING
@ LRT_EDGE_FLAG_INTERSECTION
@ LRT_EDGE_FLAG_CHAIN_PICKED
@ LRT_EDGE_FLAG_CONTOUR
@ LRT_EDGE_FLAG_EDGE_MARK
@ LRT_EDGE_FLAG_CLIPPED
eLineartMainFlags
@ LRT_EVERYTHING_AS_CONTOUR
@ LRT_INTERSECTION_AS_CONTOUR
@ LRT_ALLOW_OVERLAPPING_EDGES
@ LRT_ALLOW_DUPLI_OBJECTS
@ LRT_REMOVE_DOUBLES
@ LRT_ALLOW_CLIPPING_BOUNDARIES
These structs are the foundation for all linked lists in the library system.