Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_armature.h
| Show All 17 Lines | |||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup editors | * \ingroup editors | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #include <stdbool.h> | |||||
| #include "BLI_listbase.h" | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct Base; | struct Base; | ||||
| struct Bone; | struct Bone; | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct EditBone; | struct EditBone; | ||||
| struct ListBase; | struct ListBase; | ||||
| struct Main; | struct Main; | ||||
| struct Mesh; | struct Mesh; | ||||
| struct MeshDeformModifierData; | struct MeshDeformModifierData; | ||||
| struct Object; | struct Object; | ||||
| struct ReportList; | struct ReportList; | ||||
| struct Scene; | struct Scene; | ||||
| struct UndoType; | struct UndoType; | ||||
| struct View3D; | struct View3D; | ||||
| struct ViewLayer; | struct ViewLayer; | ||||
| struct bAction; | |||||
| struct bArmature; | struct bArmature; | ||||
| struct bContext; | struct bContext; | ||||
| struct bPoseChannel; | struct bPoseChannel; | ||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| struct wmOperator; | struct wmOperator; | ||||
| #define BONESEL_ROOT (1u << 29) | #define BONESEL_ROOT (1u << 29) | ||||
| #define BONESEL_TIP (1u << 30) | #define BONESEL_TIP (1u << 30) | ||||
| ▲ Show 20 Lines • Show All 185 Lines • ▼ Show 20 Lines | |||||
| /* meshlaplacian.c */ | /* meshlaplacian.c */ | ||||
| void ED_mesh_deform_bind_callback(struct MeshDeformModifierData *mmd, | void ED_mesh_deform_bind_callback(struct MeshDeformModifierData *mmd, | ||||
| struct Mesh *cagemesh, | struct Mesh *cagemesh, | ||||
| float *vertexcos, | float *vertexcos, | ||||
| int totvert, | int totvert, | ||||
| float cagemat[4][4]); | float cagemat[4][4]); | ||||
| /* Pose backups, pose_backup.c */ | |||||
| struct PoseBackup; | |||||
| /* Create a backup of those bones that are animated in the given action. */ | |||||
| struct PoseBackup *ED_pose_backup_create_selected_bones( | |||||
| const struct Object *ob, const struct bAction *action) ATTR_WARN_UNUSED_RESULT; | |||||
| struct PoseBackup *ED_pose_backup_create_all_bones( | |||||
| const struct Object *ob, const struct bAction *action) ATTR_WARN_UNUSED_RESULT; | |||||
| bool ED_pose_backup_is_selection_relevant(const struct PoseBackup *pose_backup); | |||||
| void ED_pose_backup_restore(const struct PoseBackup *pbd); | |||||
| void ED_pose_backup_free(struct PoseBackup *pbd); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||