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 * Original author: Benoit Bolsee 19 */ 20 21 /** \file 22 * \ingroup ikplugin 23 */ 24 25 #pragma once 26 27 #ifdef __cplusplus 28 extern "C" { 29 #endif 30 31 struct Depsgraph; 32 struct Object; 33 struct Scene; 34 struct bConstraint; 35 struct bPose; 36 struct bPoseChannel; 37 38 void BIK_init_tree(struct Depsgraph *depsgraph, 39 struct Scene *scene, 40 struct Object *ob, 41 float ctime); 42 void BIK_execute_tree(struct Depsgraph *depsgraph, 43 struct Scene *scene, 44 struct Object *ob, 45 struct bPoseChannel *pchan, 46 float ctime); 47 void BIK_release_tree(struct Scene *scene, struct Object *ob, float ctime); 48 void BIK_clear_data(struct bPose *pose); 49 void BIK_clear_cache(struct bPose *pose); 50 void BIK_update_param(struct bPose *pose); 51 void BIK_test_constraint(struct Object *ob, struct bConstraint *cons); 52 53 #ifdef __cplusplus 54 } 55 #endif 56