Blender  V3.3
ikplugin_api.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
8 #pragma once
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct Depsgraph;
15 struct Object;
16 struct Scene;
17 struct bPoseChannel;
18 
19 struct IKPlugin {
21  struct Scene *scene,
22  struct Object *ob,
23  float ctime);
25  struct Scene *scene,
26  struct Object *ob,
27  struct bPoseChannel *pchan,
28  float ctime);
29  void (*release_tree_func)(struct Scene *scene, struct Object *ob, float ctime);
30  void (*remove_armature_func)(struct bPose *pose);
31  void (*clear_cache)(struct bPose *pose);
32  void (*update_param)(struct bPose *pose);
33  void (*test_constraint)(struct Object *ob, struct bConstraint *cons);
34 };
35 
36 typedef struct IKPlugin IKPlugin;
37 
38 #ifdef __cplusplus
39 }
40 #endif
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:35
Scene scene
const Depsgraph * depsgraph
SyclQueue void void size_t num_bytes void
void(* clear_cache)(struct bPose *pose)
Definition: ikplugin_api.h:31
void(* remove_armature_func)(struct bPose *pose)
Definition: ikplugin_api.h:30
void(* initialize_tree_func)(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, float ctime)
Definition: ikplugin_api.h:20
void(* release_tree_func)(struct Scene *scene, struct Object *ob, float ctime)
Definition: ikplugin_api.h:29
void(* update_param)(struct bPose *pose)
Definition: ikplugin_api.h:32
void(* execute_tree_func)(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct bPoseChannel *pchan, float ctime)
Definition: ikplugin_api.h:24
void(* test_constraint)(struct Object *ob, struct bConstraint *cons)
Definition: ikplugin_api.h:33