Cleanup: remove redundant doxygen \file argument
[blender.git] / source / blender / collada / ExportSettings.h
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16
17 /** \file \ingroup collada
18  */
19
20 #ifndef __EXPORTSETTINGS_H__
21 #define __EXPORTSETTINGS_H__
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 #include "BLI_linklist.h"
28
29 typedef enum BC_export_mesh_type {
30         BC_MESH_TYPE_VIEW,
31         BC_MESH_TYPE_RENDER
32 } BC_export_mesh_type;
33
34 typedef enum BC_export_transformation_type {
35         BC_TRANSFORMATION_TYPE_MATRIX,
36         BC_TRANSFORMATION_TYPE_TRANSROTLOC
37 } BC_export_transformation_type;
38
39
40 typedef enum BC_export_animation_type {
41         BC_ANIMATION_EXPORT_SAMPLES,
42         BC_ANIMATION_EXPORT_KEYS
43 } BC_export_animation_type;
44
45 typedef enum BC_ui_export_section {
46         BC_UI_SECTION_MAIN,
47         BC_UI_SECTION_GEOMETRY,
48         BC_UI_SECTION_ARMATURE,
49         BC_UI_SECTION_ANIMATION,
50         BC_UI_SECTION_COLLADA
51 } BC_ui_export_section;
52
53 typedef struct ExportSettings {
54         bool apply_modifiers;
55         BC_export_mesh_type export_mesh_type;
56
57         bool selected;
58         bool include_children;
59         bool include_armatures;
60         bool include_shapekeys;
61         bool deform_bones_only;
62         bool include_animations;
63         bool include_all_actions;
64         int sampling_rate;
65         bool keep_smooth_curves;
66         bool keep_keyframes;
67         bool keep_flat_curves;
68
69         bool active_uv_only;
70         BC_export_animation_type export_animation_type;
71         bool use_texture_copies;
72
73         bool triangulate;
74         bool use_object_instantiation;
75         bool use_blender_profile;
76         bool sort_by_name;
77         BC_export_transformation_type export_transformation_type;
78
79         bool open_sim;
80         bool limit_precision;
81         bool keep_bind_info;
82
83         char *filepath;
84         LinkNode *export_set;
85 } ExportSettings;
86
87 #ifdef __cplusplus
88 }
89 #endif
90
91 #endif