2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
* Copyright 2001-2002 NaN Holding BV. All rights reserved. */
|
2009-09-24 21:22:24 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup ikplugin
|
2011-02-27 20:24:49 +00:00
|
|
|
*/
|
|
|
|
|
|
2012-02-17 18:59:41 +00:00
|
|
|
#pragma once
|
2009-09-24 21:22:24 +00:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2019-01-28 21:08:24 +11:00
|
|
|
struct Depsgraph;
|
2009-09-24 21:22:24 +00:00
|
|
|
struct Object;
|
|
|
|
|
struct Scene;
|
|
|
|
|
struct bConstraint;
|
2019-01-28 21:08:24 +11:00
|
|
|
struct bPose;
|
|
|
|
|
struct bPoseChannel;
|
2009-09-24 21:22:24 +00:00
|
|
|
|
2020-08-01 13:02:21 +10: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 21:22:24 +00: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
|