Find all key frames for baked animation export.
[blender-staging.git] / source / blender / collada / AnimationExporter.h
index 3e3150cd8ef829756f1f04e7f8be44fbf545107c..388d7dbb24d9cb7233ba85afdf2d9a82cf445a0c 100644 (file)
@@ -96,10 +96,14 @@ protected:
 
        void dae_animation(Object* ob, FCurve *fcu, char* transformName , bool is_param, Material *ma = NULL);
 
+       void bake_bone_animation(Object *ob_arm, Bone *bone);
+
        void write_bone_animation(Object *ob_arm, Bone *bone);
 
        void sample_and_write_bone_animation(Object *ob_arm, Bone *bone, int transform_type);
 
+       void sample_and_bake_bone_animation(Object *ob_arm, Bone *bone);
+
        void sample_animation(float *v, std::vector<float> &frames, int type, Bone *bone, Object *ob_arm, bPoseChannel *pChan);
 
        // dae_bone_animation -> add_bone_animation
@@ -134,6 +138,8 @@ protected:
        std::string get_transform_sid(char *rna_path, int tm_type, const char *axis_name, bool append_axis);
        
        void find_frames(Object *ob, std::vector<float> &fra, const char *prefix, const char *tm_name);
+
+       void find_all_frames(Object *ob, std::vector<float> &fra);
        
        void find_rotation_frames(Object *ob, std::vector<float> &fra, const char *prefix, int rotmode);