2023-05-31 16:19:06 +02:00
|
|
|
/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2009-09-24 23:22:24 +02:00
|
|
|
|
2019-02-17 22:08:12 +01:00
|
|
|
/** \file
|
|
|
|
* \ingroup ikplugin
|
2011-02-27 21:24:49 +01:00
|
|
|
*/
|
|
|
|
|
2012-02-17 19:59:41 +01:00
|
|
|
#pragma once
|
2009-09-24 23:22:24 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-01-28 11:08:24 +01:00
|
|
|
struct Depsgraph;
|
2009-09-24 23:22:24 +02:00
|
|
|
struct Object;
|
|
|
|
struct Scene;
|
|
|
|
struct bConstraint;
|
2019-01-28 11:08:24 +01:00
|
|
|
struct bPose;
|
|
|
|
struct bPoseChannel;
|
2009-09-24 23:22:24 +02:00
|
|
|
|
2020-08-01 05:02:21 +02:00
|
|
|
void BIK_init_tree(struct Depsgraph *depsgraph,
|
2020-08-04 16:01:26 +02:00
|
|
|
struct Scene *scene,
|
|
|
|
struct Object *ob,
|
|
|
|
float ctime);
|
2018-04-06 12:07:27 +02:00
|
|
|
void BIK_execute_tree(struct Depsgraph *depsgraph,
|
|
|
|
struct Scene *scene,
|
|
|
|
struct Object *ob,
|
|
|
|
struct bPoseChannel *pchan,
|
|
|
|
float ctime);
|
2009-09-24 23:22:24 +02:00
|
|
|
void BIK_release_tree(struct Scene *scene, struct Object *ob, float ctime);
|
|
|
|
void BIK_clear_data(struct bPose *pose);
|
|
|
|
void BIK_clear_cache(struct bPose *pose);
|
|
|
|
void BIK_update_param(struct bPose *pose);
|
|
|
|
void BIK_test_constraint(struct Object *ob, struct bConstraint *cons);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|