diff options
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/plugins/import/imp_3dm/imp_3dm_object_types.h')
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/plugins/import/imp_3dm/imp_3dm_object_types.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_3dm/imp_3dm_object_types.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_3dm/imp_3dm_object_types.h new file mode 100644 index 0000000..d9574f3 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_3dm/imp_3dm_object_types.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /* $Id:$ */ | ||
2 | |||
3 | /* | ||
4 | libg3d - 3D object loading library | ||
5 | |||
6 | Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This library is free software; you can redistribute it and/or | ||
9 | modify it under the terms of the GNU Lesser General Public | ||
10 | License as published by the Free Software Foundation; either | ||
11 | version 2.1 of the License, or (at your option) any later version. | ||
12 | |||
13 | This library is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | #ifndef _IMP_3DM_OBJECT_TYPES_H | ||
23 | #define _IMP_3DM_OBJECT_TYPES_H | ||
24 | |||
25 | #include "imp_3dm_callbacks.h" | ||
26 | |||
27 | static TdmObjectTypeInfo tdm_object_types[] = { | ||
28 | { 0x00000000, "unknown object", NULL }, | ||
29 | { 0x00000001, "point", NULL }, | ||
30 | { 0x00000002, "point set", NULL }, | ||
31 | { 0x00000004, "curve", NULL }, | ||
32 | { 0x00000008, "surface", NULL }, | ||
33 | { 0x00000010, "brep", NULL }, | ||
34 | { 0x00000020, "mesh", tdm_cb_o_0x00000020 }, | ||
35 | { 0x00000040, "layer", NULL }, | ||
36 | { 0x00000080, "material", NULL }, | ||
37 | { 0x00000100, "light", NULL }, | ||
38 | { 0x00000200, "annotation", NULL }, | ||
39 | { 0x00000400, "user data", NULL }, | ||
40 | { 0x00000800, "instance definition", NULL }, | ||
41 | { 0x00001000, "instance reference", NULL }, | ||
42 | { 0x00002000, "text dot", NULL }, | ||
43 | { 0x00004000, "grip", NULL }, | ||
44 | { 0x00008000, "detail", NULL }, | ||
45 | { 0x00010000, "hatch", NULL }, | ||
46 | { 0x00020000, "morph control", NULL }, | ||
47 | { 0x00080000, "loop", NULL }, | ||
48 | { 0x00200000, "poly surface", NULL }, | ||
49 | { 0x00400000, "edge filter", NULL }, | ||
50 | { 0x00800000, "poly edge filter", NULL }, | ||
51 | { 0x01000000, "mesh vertex", NULL }, | ||
52 | { 0x02000000, "mesh edge", NULL }, | ||
53 | { 0x04000000, "mesh face", NULL }, | ||
54 | { 0x08000000, "cage", NULL }, | ||
55 | { 0x10000000, "phantom", NULL }, | ||
56 | { 0x20000000, "clip plane", NULL }, | ||
57 | |||
58 | { 0xFFFFFFFF, "any object", NULL } | ||
59 | }; | ||
60 | |||
61 | #endif /* _IMP_3DM_OBJECT_TYPES_H */ | ||