Blender
V3.3
|
#include <DNA_armature_types.h>
Public Attributes | |
ID | id |
struct AnimData * | adt |
ListBase | bonebase |
struct GHash * | bonehash |
void * | _pad1 |
ListBase * | edbo |
Bone * | act_bone |
struct EditBone * | act_edbone |
char | needs_flush_to_id |
char | _pad0 [3] |
int | flag |
int | drawtype |
short | deformflag |
short | pathflag |
unsigned int | layer_used |
unsigned int | layer |
unsigned int | layer_protected |
float | axes_position |
Definition at line 105 of file DNA_armature_types.h.
char bArmature::_pad0[3] |
Definition at line 131 of file DNA_armature_types.h.
void* bArmature::_pad1 |
Definition at line 113 of file DNA_armature_types.h.
Bone* bArmature::act_bone |
Active bone.
Definition at line 125 of file DNA_armature_types.h.
Referenced by add_hook_object(), animchan_sync_group(), armature_blend_read_data(), armature_copy_data(), BKE_pose_channel_active(), buttons_context_path_bone(), buttons_context_path_pose_bone(), do_pose_tag_select_op_exec(), draw_armature_pose(), draw_selected_name(), ED_armature_from_edit(), ED_armature_pose_select_pick_bone(), ED_armature_to_edit(), ED_object_jump_to_bone(), ED_pose_bone_select(), ED_vgroup_sync_from_pose(), hide_pose_bone_fn(), pose_select_hierarchy_exec(), pose_select_mirror_exec(), pose_select_parent_exec(), screen_ctx_active_bone(), tree_element_bone_activate(), ui_item_array(), and wm_context_member_from_ptr().
struct EditBone* bArmature::act_edbone |
Active edit-bone (in edit-mode).
Definition at line 127 of file DNA_armature_types.h.
Referenced by armature_blend_read_data(), armature_blend_write(), armature_calc_roll_exec(), armature_click_extrude_exec(), armature_copy_data(), armature_delete_selected_exec(), armature_duplicate_selected_exec(), armature_extrude_exec(), armature_fill_bones_exec(), armature_parent_set_invoke(), armature_select_hierarchy_exec(), armature_select_mirror_exec(), armature_shortest_path_pick_invoke(), armature_symmetrize_exec(), bone_free(), buttons_context_path_bone(), draw_armature_edit(), draw_selected_name(), ED_armature_ebone_add_primitive(), ED_armature_edit_free(), ED_armature_edit_select_pick_bone(), ED_armature_edit_validate_active(), ED_armature_from_edit(), ED_armature_to_edit(), ED_object_calc_active_center_for_editmode(), ED_object_jump_to_bone(), getTransformOrientation_ex(), screen_ctx_active_bone(), tree_element_active_ebone__sel(), ui_item_array(), undoarm_from_editarm(), undoarm_to_editarm(), v3d_editarmature_buts(), and wm_context_member_from_ptr().
struct AnimData* bArmature::adt |
Definition at line 107 of file DNA_armature_types.h.
Referenced by acf_dsarm_setting_ptr(), armature_blend_read_data(), armature_blend_write(), BKE_object_modifier_update_subframe(), ED_armature_join_objects_exec(), make_new_animlistelem(), outliner_add_id_contents(), and pose_copy_exec().
float bArmature::axes_position |
Relative position of the axes on the bone, from head (0.0f) to tail (1.0f).
Definition at line 145 of file DNA_armature_types.h.
Referenced by draw_axes().
ListBase bArmature::bonebase |
Definition at line 109 of file DNA_armature_types.h.
Referenced by ArmatureExporter::add_armature_bones(), ArmatureExporter::add_instance_controller(), ControllerExporter::add_instance_controller(), add_verts_to_dgroups(), apply_armature_pose2bones_exec(), armature_blend_read_data(), armature_blend_read_expand(), armature_blend_read_lib(), armature_blend_write(), armature_bone_from_name_map(), armature_coords_and_quats_apply_with_mat4(), armature_coords_and_quats_get(), armature_copy_data(), armature_foreach_id(), armature_free_data(), BKE_armature_copy_bone_transforms(), BKE_armature_find_bone_name(), blender::bke::BKE_armature_find_selected_bones(), BKE_armature_refresh_layer_used(), BKE_armature_transform(), BKE_armature_where_is(), BKE_pose_rebuild(), blo_do_versions_250(), blo_do_versions_pre250(), blender::deg::DepsgraphNodeBuilder::build_armature(), blender::deg::DepsgraphRelationBuilder::build_armature(), ED_armature_from_edit(), ED_armature_to_edit(), ED_object_data_xform_create_ex(), ED_object_vgroup_calc_from_armature(), AnimationExporter::exportAnimation(), getTransformOrientation_ex(), gpencil_add_verts_to_dgroups(), gpencil_object_vgroup_calc_from_armature(), ArmatureImporter::make_armatures(), outliner_add_id_contents(), pose_hide_exec(), pose_reveal_exec(), blender::bke::tests::BKE_armature_find_selected_bones_test::SetUp(), tree_element_bone_activate(), and vgroup_sort_bone_hierarchy().
struct GHash* bArmature::bonehash |
Use a hash-table for quicker lookups of bones by name.
Definition at line 112 of file DNA_armature_types.h.
Referenced by armature_blend_read_data(), armature_blend_write(), armature_copy_data(), BKE_armature_bone_hash_free(), BKE_armature_bone_hash_make(), BKE_armature_find_bone_name(), and ED_armature_bone_rename().
short bArmature::deformflag |
Definition at line 136 of file DNA_armature_types.h.
Referenced by blo_do_versions_250(), and blo_do_versions_pre250().
int bArmature::drawtype |
Definition at line 134 of file DNA_armature_types.h.
Referenced by armature_context_setup(), draw_armature_edit(), draw_armature_pose(), draw_points(), modifier_skin_armature_create(), pchan_culling_test_bbone(), pchan_culling_test_envelope(), transform_mode_really_used(), and WIDGETGROUP_armature_spline_poll().
ListBase* bArmature::edbo |
EditBone list (use an allocated pointer so the state can be checked).
Definition at line 116 of file DNA_armature_types.h.
Referenced by ArmatureExporter::add_armature_bones(), apply_armature_pose2bones_exec(), applyarmature_adjust_edit_position(), applyarmature_process_selected_recursive(), armature_align_bones_exec(), armature_autoside_names_exec(), armature_blend_read_data(), armature_blend_write(), armature_calc_roll_exec(), armature_circle_select(), armature_clear_swap_done_flags(), armature_click_extrude_exec(), armature_copy_data(), armature_deform_coords_impl(), armature_delete_ebone_cb(), armature_delete_selected_exec(), armature_dissolve_ebone_cb(), armature_dissolve_selected_exec(), armature_duplicate_selected_exec(), armature_extrude_exec(), armature_flip_names_exec(), armature_foreach_id(), armature_foreachScreenBone(), armature_free_data(), armature_hide_exec(), armature_parent_clear_exec(), armature_parent_clear_invoke(), armature_parent_set_exec(), armature_parent_set_invoke(), armature_reveal_exec(), armature_roll_clear_exec(), armature_select_hierarchy_exec(), armature_select_linked_exec(), armature_select_linked_impl(), armature_select_linked_pick_invoke(), armature_select_mirror_exec(), armature_select_mirrored_ex(), armature_select_more_less(), armature_shortest_path_pick_invoke(), armature_split_exec(), armature_switch_direction_exec(), armature_symmetrize_exec(), armature_tag_select_mirrored(), armature_tag_unselect(), armature_undosys_step_decode(), bc_get_edit_bone(), BKE_armature_refresh_layer_used(), BKE_pose_bone_done(), BKE_pose_constraints_evaluate(), BKE_pose_eval_bbone_segments(), BKE_pose_eval_bone(), BKE_pose_iktree_evaluate(), BKE_pose_splineik_evaluate(), BKE_pose_where_is(), bone_free(), bone_mouse_select_menu(), buttons_context_path_bone(), buttons_context_path_pose_bone(), createTransArmatureVerts(), do_armature_box_select(), do_lasso_select_armature(), draw_armature_edit(), draw_selected_name(), ED_armature_base_and_ebone_from_select_buffer(), ED_armature_bone_rename(), ED_armature_ebone_add(), ED_armature_ebone_remove_ex(), ED_armature_ebone_transform_mirror_update(), ED_armature_edit_deselect_all(), ED_armature_edit_deselect_all_visible(), ED_armature_edit_free(), ED_armature_edit_refresh_layer_used(), ED_armature_edit_select_op_from_tagged(), ED_armature_edit_select_pick_bone(), ED_armature_edit_transform(), ED_armature_edit_transform_mirror_update(), ED_armature_from_edit(), ED_armature_join_objects_exec(), ED_armature_object_and_ebone_from_select_buffer(), ED_armature_origin_set(), ED_armature_to_edit(), ED_armature_transform(), ED_object_data_xform_create_ex(), ED_object_editmode_load_free_ex(), ED_object_jump_to_bone(), ED_transform_calc_gizmo_stats(), ED_transverts_create_from_obedit(), ED_transverts_update_obedit(), edbo_compute_bbone_child(), edit_armature_coords_and_quats_apply_with_mat4(), edit_armature_coords_and_quats_get(), editarm_object_from_context(), get_nearest_editbonepoint(), get_symmetrized_bone(), getTransformOrientation_ex(), modifier_skin_armature_create(), namebutton_fn(), outliner_add_id_contents(), outliner_add_object_contents(), pose_channel_flush_to_orig_if_needed(), recalcData_edit_armature(), restoreBones(), restrictbutton_recursive_ebone(), screen_ctx_active_bone(), screen_ctx_selected_bones_(), screen_ctx_visible_or_editable_bones_(), select_similar_children(), select_similar_children_immediate(), select_similar_data_pchan(), select_similar_direction(), select_similar_layer(), select_similar_length(), select_similar_prefix(), select_similar_siblings(), select_similar_suffix(), separate_armature_bones(), separate_armature_exec(), snapArmature(), stats_object_edit(), ui_item_array(), undoarm_from_editarm(), undoarm_to_editarm(), and wm_context_member_from_ptr().
int bArmature::flag |
Definition at line 133 of file DNA_armature_types.h.
Referenced by acf_dsarm_setting_ptr(), armature_align_bones_exec(), armature_autoside_names_exec(), armature_calc_roll_exec(), armature_click_extrude_exec(), armature_dissolve_selected_exec(), armature_duplicate_selected_exec(), armature_extrude_exec(), armature_flip_names_exec(), armature_parent_set_exec(), armature_roll_clear_exec(), armature_select_mirrored_ex(), armature_tag_select_mirrored(), BKE_pchan_minmax(), BKE_pose_constraints_evaluate(), BKE_pose_eval_bone(), BKE_pose_eval_init_ik(), BKE_pose_iktree_evaluate(), BKE_pose_splineik_evaluate(), BKE_pose_where_is(), blo_do_versions_pre250(), createTransArmatureVerts(), createTransPose(), draw_armature_edit(), draw_armature_pose(), draw_axes(), draw_bone_name(), draw_bone_relations(), draw_points(), ED_armature_pose_select_pick_bone(), ED_pose_bone_select_tag_update(), ED_transverts_update_obedit(), get_bone_solid_color(), get_bone_solid_with_consts_color(), get_bone_wire_color(), pose_de_select_all_exec(), recalcData_edit_armature(), recalcData_pose(), restoreBones(), screen_ctx_selected_bones_(), screen_ctx_visible_or_editable_bones_(), and updateDepsgraph().
ID bArmature::id |
Definition at line 106 of file DNA_armature_types.h.
Referenced by armature_align_bones_exec(), armature_blend_write(), armature_calc_roll_exec(), armature_delete_selected_exec(), armature_dissolve_selected_exec(), armature_fill_bones_exec(), armature_hide_exec(), armature_layers_exec(), armature_reveal_exec(), armature_roll_clear_exec(), armature_select_linked_impl(), armature_split_exec(), armature_switch_direction_exec(), armature_undosys_step_decode(), BKE_armature_refresh_layer_used(), BKE_object_modifier_update_subframe(), BKE_pose_blend_read_lib(), BKE_pose_ensure(), blo_do_versions_250(), blo_do_versions_pre250(), blender::deg::DepsgraphNodeBuilder::build_armature(), blender::deg::DepsgraphRelationBuilder::build_armature(), blender::deg::DepsgraphRelationBuilder::build_rig(), buttons_context_path_bone(), blender::deg::DepsgraphBuilder::check_pchan_has_bbone(), do_pose_tag_select_op_exec(), do_pose_tag_select_op_prepare(), do_versions_after_linking_280(), ED_armature_bone_rename(), ED_armature_edit_select_pick_bone(), ED_armature_from_edit(), ED_armature_join_objects_exec(), ED_armature_pose_select_pick_bone(), ED_object_data_xform_tag_update(), ED_operator_posemode_local(), ED_pose_bone_select_tag_update(), BoneExtensionManager::getExtensionMap(), namebutton_fn(), object_origin_set_exec(), outliner_draw_restrictbuts(), outliner_select_sync_to_edit_bone(), outliner_set_properties_tab(), pose_armature_layers_showall_exec(), pose_de_select_all_exec(), pose_group_deselect_exec(), pose_group_select_exec(), pose_hide_exec(), pose_reveal_exec(), pose_select_mirror_exec(), screen_ctx_active_bone(), screen_ctx_selected_bones_(), screen_ctx_visible_or_editable_bones_(), and v3d_editarmature_buts().
unsigned int bArmature::layer |
For buttons to work, both variables in this order together.
Definition at line 142 of file DNA_armature_types.h.
Referenced by add_verts_to_dgroups(), animviz_get_object_motionpaths(), armature_bone_transflags_update_recursive(), armature_delete_ebone_cb(), armature_delete_selected_exec(), armature_dissolve_selected_exec(), armature_reveal_exec(), armature_select_mirrored_ex(), armature_tag_select_mirrored(), BKE_pose_is_layer_visible(), blo_do_versions_pre250(), delete_key_v3d_without_keying_set(), dgroup_skinnable_cb(), draw_armature_edit(), draw_armature_pose(), draw_selected_name(), ED_armature_ebone_add(), ED_object_jump_to_bone(), ED_transverts_create_from_obedit(), getTransformOrientation_ex(), hide_pose_bone_fn(), modifier_skin_armature_create(), set_pose_keys(), blender::bke::tests::BKE_armature_find_selected_bones_test::SetUp(), show_pose_bone_cb(), skip_fcurve_selected_data(), snap_curs_to_sel_ex(), snap_sel_to_grid_exec(), snapArmature(), and v3d_editarmature_buts().
unsigned int bArmature::layer_protected |
Definition at line 142 of file DNA_armature_types.h.
unsigned int bArmature::layer_used |
For UI, to show which layers are there.
Definition at line 140 of file DNA_armature_types.h.
Referenced by armature_refresh_layer_used_recursive(), BKE_armature_refresh_layer_used(), ED_armature_edit_refresh_layer_used(), and ui_item_array().
char bArmature::needs_flush_to_id |
ID data is older than edit-mode data (TODO: move to edit-mode struct).
Definition at line 130 of file DNA_armature_types.h.
Referenced by armature_blend_read_data(), armature_blend_write(), armature_undosys_step_decode(), armature_undosys_step_encode(), BKE_object_data_editmode_flush_ptr_get(), and ED_object_editmode_enter_ex().
short bArmature::pathflag |
Definition at line 137 of file DNA_armature_types.h.
Referenced by blo_do_versions_250().