Blender  V2.93
BKE_anim_visualization.h
Go to the documentation of this file.
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  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17  * All rights reserved.
18  */
19 #pragma once
20 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 struct BlendDataReader;
30 struct BlendWriter;
31 struct Object;
32 struct ReportList;
33 struct Scene;
34 struct bAnimVizSettings;
35 struct bMotionPath;
36 struct bPoseChannel;
37 
38 /* ---------------------------------------------------- */
39 /* Animation Visualization */
40 
41 void animviz_settings_init(struct bAnimVizSettings *avs);
42 
43 struct bMotionPath *animviz_copy_motionpath(const struct bMotionPath *mpath_src);
44 
45 void animviz_free_motionpath_cache(struct bMotionPath *mpath);
46 void animviz_free_motionpath(struct bMotionPath *mpath);
47 
48 struct bMotionPath *animviz_verify_motionpaths(struct ReportList *reports,
49  struct Scene *scene,
50  struct Object *ob,
51  struct bPoseChannel *pchan);
52 
53 void animviz_motionpath_blend_write(struct BlendWriter *writer, struct bMotionPath *mpath);
54 void animviz_motionpath_blend_read_data(struct BlendDataReader *reader, struct bMotionPath *mpath);
55 
56 #ifdef __cplusplus
57 }
58 #endif
void animviz_free_motionpath(struct bMotionPath *mpath)
struct bMotionPath * animviz_copy_motionpath(const struct bMotionPath *mpath_src)
void animviz_motionpath_blend_write(struct BlendWriter *writer, struct bMotionPath *mpath)
void animviz_motionpath_blend_read_data(struct BlendDataReader *reader, struct bMotionPath *mpath)
void animviz_free_motionpath_cache(struct bMotionPath *mpath)
void animviz_settings_init(struct bAnimVizSettings *avs)
struct bMotionPath * animviz_verify_motionpaths(struct ReportList *reports, struct Scene *scene, struct Object *ob, struct bPoseChannel *pchan)
Scene scene