|
Blender V4.3
|
#include "BLI_sys_types.h"Go to the source code of this file.
Classes | |
| struct | TransformBounds |
| struct | TransformCalcParams |
Macros | |
| #define | P_MIRROR (1 << 0) |
| #define | P_MIRROR_DUMMY (P_MIRROR | (1 << 1)) |
| #define | P_PROPORTIONAL (1 << 2) |
| #define | P_ORIENT_AXIS (1 << 3) |
| #define | P_ORIENT_AXIS_ORTHO (1 << 4) |
| #define | P_ORIENT_MATRIX (1 << 5) |
| #define | P_SNAP (1 << 6) |
| #define | P_GEO_SNAP (P_SNAP | (1 << 7)) |
| #define | P_ALIGN_SNAP (P_GEO_SNAP | (1 << 8)) |
| #define | P_CONSTRAINT (1 << 9) |
| #define | P_OPTIONS (1 << 10) |
| #define | P_CORRECT_UV (1 << 11) |
| #define | P_NO_DEFAULTS (1 << 12) |
| #define | P_NO_TEXSPACE (1 << 13) |
| #define | P_CENTER (1 << 14) |
| #define | P_GPENCIL_EDIT (1 << 15) |
| #define | P_CURSOR_EDIT (1 << 16) |
| #define | P_VIEW2D_EDGE_PAN (1 << 17) |
| #define | P_POST_TRANSFORM (1 << 18) |
| #define | SNAP_INCREMENTAL_ANGLE DEG2RAD(5.0) |
Enumerations | |
| enum | eTfmMode { TFM_INIT = -1 , TFM_DUMMY , TFM_TRANSLATION , TFM_ROTATION , TFM_RESIZE , TFM_SKIN_RESIZE , TFM_TOSPHERE , TFM_SHEAR , TFM_BEND , TFM_SHRINKFATTEN , TFM_TILT , TFM_TRACKBALL , TFM_PUSHPULL , TFM_EDGE_CREASE , TFM_VERT_CREASE , TFM_MIRROR , TFM_BONESIZE , TFM_BONE_ENVELOPE , TFM_CURVE_SHRINKFATTEN , TFM_MASK_SHRINKFATTEN , TFM_GPENCIL_SHRINKFATTEN , TFM_BONE_ROLL , TFM_TIME_TRANSLATE , TFM_TIME_SLIDE , TFM_TIME_SCALE , TFM_TIME_EXTEND , TFM_BAKE_TIME = 26 , TFM_DEPRECATED , TFM_BWEIGHT , TFM_ALIGN , TFM_EDGE_SLIDE , TFM_VERT_SLIDE , TFM_SEQ_SLIDE , TFM_BONE_ENVELOPE_DIST , TFM_NORMAL_ROTATION , TFM_GPENCIL_OPACITY } |
| #define P_ALIGN_SNAP (P_GEO_SNAP | (1 << 8)) |
Definition at line 115 of file ED_transform.hh.
Referenced by TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and Transform_Properties().
| #define P_CENTER (1 << 14) |
Definition at line 121 of file ED_transform.hh.
Referenced by TRANSFORM_OT_bend(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), and Transform_Properties().
| #define P_CONSTRAINT (1 << 9) |
Definition at line 116 of file ED_transform.hh.
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_mirror(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and Transform_Properties().
| #define P_CORRECT_UV (1 << 11) |
Definition at line 118 of file ED_transform.hh.
Referenced by TRANSFORM_OT_edge_slide(), TRANSFORM_OT_vert_slide(), and Transform_Properties().
| #define P_CURSOR_EDIT (1 << 16) |
Definition at line 123 of file ED_transform.hh.
Referenced by TRANSFORM_OT_translate(), and Transform_Properties().
Definition at line 114 of file ED_transform.hh.
Referenced by TRANSFORM_OT_edge_slide(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_vert_slide(), and Transform_Properties().
| #define P_GPENCIL_EDIT (1 << 15) |
Definition at line 122 of file ED_transform.hh.
Referenced by TRANSFORM_OT_bend(), TRANSFORM_OT_mirror(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_shear(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and Transform_Properties().
| #define P_MIRROR (1 << 0) |
Definition at line 107 of file ED_transform.hh.
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_bend(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), TRANSFORM_OT_vert_slide(), and Transform_Properties().
Definition at line 108 of file ED_transform.hh.
Referenced by MESH_OT_extrude_context(), MESH_OT_extrude_edges_indiv(), MESH_OT_extrude_faces_indiv(), MESH_OT_extrude_region(), MESH_OT_extrude_verts_indiv(), MESH_OT_polybuild_delete_at_cursor(), MESH_OT_polybuild_face_at_cursor(), MESH_OT_polybuild_split_at_cursor(), MESH_OT_polybuild_transform_at_cursor(), MESH_OT_rip(), MESH_OT_rip_edge(), Transform_Properties(), and UV_OT_rip().
| #define P_NO_DEFAULTS (1 << 12) |
Definition at line 119 of file ED_transform.hh.
Referenced by MESH_OT_extrude_context(), MESH_OT_extrude_edges_indiv(), MESH_OT_extrude_faces_indiv(), MESH_OT_extrude_region(), MESH_OT_extrude_verts_indiv(), and Transform_Properties().
| #define P_NO_TEXSPACE (1 << 13) |
Definition at line 120 of file ED_transform.hh.
Referenced by TRANSFORM_OT_skin_resize(), and Transform_Properties().
| #define P_OPTIONS (1 << 10) |
Definition at line 117 of file ED_transform.hh.
Referenced by TRANSFORM_OT_resize(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and Transform_Properties().
| #define P_ORIENT_AXIS (1 << 3) |
Definition at line 110 of file ED_transform.hh.
Referenced by TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_shear(), TRANSFORM_OT_transform(), and Transform_Properties().
| #define P_ORIENT_AXIS_ORTHO (1 << 4) |
Definition at line 111 of file ED_transform.hh.
Referenced by TRANSFORM_OT_shear(), and Transform_Properties().
| #define P_ORIENT_MATRIX (1 << 5) |
Definition at line 112 of file ED_transform.hh.
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_mirror(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_shear(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and Transform_Properties().
| #define P_POST_TRANSFORM (1 << 18) |
Definition at line 126 of file ED_transform.hh.
Referenced by TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and Transform_Properties().
| #define P_PROPORTIONAL (1 << 2) |
Definition at line 109 of file ED_transform.hh.
Referenced by MESH_OT_polybuild_delete_at_cursor(), MESH_OT_polybuild_face_at_cursor(), MESH_OT_polybuild_split_at_cursor(), MESH_OT_polybuild_transform_at_cursor(), MESH_OT_rip(), MESH_OT_rip_edge(), TRANSFORM_OT_bend(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and Transform_Properties().
| #define P_SNAP (1 << 6) |
Definition at line 113 of file ED_transform.hh.
Referenced by TRANSFORM_OT_bend(), TRANSFORM_OT_edge_bevelweight(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_seq_slide(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_vert_crease(), and Transform_Properties().
| #define P_VIEW2D_EDGE_PAN (1 << 17) |
Definition at line 124 of file ED_transform.hh.
Referenced by TRANSFORM_OT_seq_slide(), TRANSFORM_OT_translate(), and Transform_Properties().
Definition at line 172 of file ED_transform.hh.
Referenced by GIZMO_GT_dial_3d().
| enum eTfmMode |
Definition at line 34 of file ED_transform.hh.
| void BIF_clearTransformOrientation | ( | bContext * | C | ) |
Definition at line 56 of file transform_orientations.cc.
References ARRAY_SIZE, BLI_freelistN(), CTX_data_scene(), TransformOrientationSlot::index_custom, TransformOrientationSlot::type, V3D_ORIENT_CUSTOM, and V3D_ORIENT_GLOBAL.
Definition at line 530 of file transform_orientations.cc.
References BLI_listbase_count(), and CTX_data_scene().
Referenced by initTransInfo().
| bool BIF_createTransformOrientation | ( | bContext * | C, |
| ReportList * | reports, | ||
| const char * | name, | ||
| bool | use_view, | ||
| bool | activate, | ||
| bool | overwrite ) |
Definition at line 435 of file transform_orientations.cc.
References activate(), BIF_selectTransformOrientation(), createBoneSpace(), createCurveSpace(), createMeshSpace(), createObjectSpace(), createViewSpace(), CTX_data_active_object(), CTX_data_edit_object(), Object::mode, OB_ARMATURE, OB_CURVES_LEGACY, OB_MESH, OB_MODE_POSE, and Object::type.
Referenced by create_orientation_exec().
| void BIF_removeTransformOrientation | ( | bContext * | C, |
| TransformOrientation * | target ) |
Definition at line 508 of file transform_orientations.cc.
References BKE_scene_transform_orientation_remove(), and CTX_data_scene().
Referenced by BIF_removeTransformOrientationIndex().
Definition at line 513 of file transform_orientations.cc.
References BIF_removeTransformOrientation(), BKE_scene_transform_orientation_find(), and CTX_data_scene().
Referenced by delete_orientation_exec().
| void BIF_selectTransformOrientation | ( | bContext * | C, |
| TransformOrientation * | target ) |
Definition at line 519 of file transform_orientations.cc.
References BKE_scene_transform_orientation_get_index(), BLI_assert, CTX_data_scene(), SCE_ORIENT_DEFAULT, and V3D_ORIENT_CUSTOM.
Referenced by BIF_createTransformOrientation().
Standalone call to get the transformation center corresponding to the current situation returns 1 if successful, 0 otherwise (usually means there's no selection) (if false is returns, cent3d is unmodified).
Definition at line 1446 of file editors/transform/transform.cc.
References TransInfo::around, C, calculateCenter(), TransInfo::center2d, TransInfo::center_global, TransInfo::context, copy_v2_v2(), copy_v3_v3(), create_trans_data(), CTX_NO_PET, TransInfo::data_len_all, initTransInfo(), MEM_callocN, MEM_freeN(), TransInfo::mode, TransInfo::options, postTrans(), special_aftertrans_update(), TransInfo::state, TFM_DUMMY, TRANS_RUNNING, and V3D_AROUND_CENTER_BOUNDS.
Referenced by edbm_bevel_invoke(), and edbm_inset_invoke().
Definition at line 654 of file transform_snap_sequencer.cc.
References drawSnapping(), TransSnap::flag, MOD_SNAP, TransInfo::mode, TransInfo::modifiers, TransInfo::region, SCE_SNAP, SNAP_SOURCE_FOUND, TransSnap::snap_target, SNAP_TARGET_FOUND, SPACE_SEQ, TransInfo::spacetype, TransSnap::status, TFM_SEQ_SLIDE, and TransInfo::tsnap.
Referenced by draw_seq_in_view().
| void ED_getTransformOrientationMatrix | ( | const Scene * | scene, |
| ViewLayer * | view_layer, | ||
| const View3D * | v3d, | ||
| Object * | ob, | ||
| Object * | obedit, | ||
| short | around, | ||
| float | r_orientation_mat[3][3] ) |
Definition at line 1445 of file transform_orientations.cc.
References BLI_assert, createSpaceNormal(), createSpaceNormalTangent(), getTransformOrientation_ex(), is_zero_v3(), ORIENTATION_EDGE, ORIENTATION_FACE, ORIENTATION_NONE, ORIENTATION_NORMAL, ORIENTATION_USE_PLANE, ORIENTATION_VERT, and unit_m3().
Referenced by ED_transform_calc_orientation_from_type_ex(), and view_axis_exec().
| void ED_keymap_transform | ( | wmKeyConfig * | keyconf | ) |
Definition at line 1488 of file transform_ops.cc.
References TransformModeItem::idname, transform_modal_keymap(), transform_modes, and WM_modalkeymap_assign().
Referenced by ED_spacetypes_keymap().
| int ED_transform_calc_gizmo_stats | ( | const bContext * | C, |
| const TransformCalcParams * | params, | ||
| TransformBounds * | tbounds, | ||
| RegionView3D * | rv3d ) |
Centroid, bound-box, of selection.
Returns total items selected.
Definition at line 916 of file transform_gizmo_3d.cc.
References TransformBounds::axis, TransformBounds::axis_max, TransformBounds::axis_min, BKE_scene_orientation_get_index(), calc_tw_center(), TransformBounds::center, copy_m3_m3(), copy_m3_m4(), copy_m4_m3(), copy_m4_m4(), copy_v3_v3(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_area(), ED_transform_calc_orientation_from_type_ex(), gizmo_3d_foreach_selected(), gizmo_3d_transform_space_object_get(), invert_m3(), invert_m4_m4(), TransformBounds::matrix_space, TransformBounds::max, TransformBounds::min, Object::mode, mul_m3_m3_pre(), mul_m4_v3(), mul_v3_fl(), normalize_m3(), OB_MODE_EDIT, OB_MODE_POSE, OB_MODE_SCULPT, OBEDIT_FROM_OBACT, params, reset_tw_center(), Object::runtime, SCE_ORIENT_DEFAULT, RegionView3D::tw_axis_matrix, RegionView3D::tw_axis_max, RegionView3D::tw_axis_min, RegionView3D::twdrawflag, RegionView3D::twmat, unit_m3(), unit_m4(), TransformBounds::use_matrix_space, V3D_AROUND_LOCAL_ORIGINS, and zero_v3().
Referenced by gizmo_3d_calc_pos(), gizmo_mesh_extrude_refresh(), gizmo_modal(), WIDGETGROUP_gizmo_refresh(), WIDGETGROUP_tool_generic_refresh(), WIDGETGROUP_xform_cage_refresh(), and WIDGETGROUP_xform_shear_refresh().
Definition at line 575 of file transform_orientations.cc.
References BKE_scene_orientation_get_index(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_edit_object(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region(), CTX_wm_view3d(), ED_transform_calc_orientation_from_type_ex(), and SCE_ORIENT_DEFAULT.
Referenced by ED_view3d_cursor3d_position_rotation(), and gizmo_mesh_spin_init_refresh().
| short ED_transform_calc_orientation_from_type_ex | ( | const Scene * | scene, |
| ViewLayer * | view_layer, | ||
| const View3D * | v3d, | ||
| const RegionView3D * | rv3d, | ||
| Object * | ob, | ||
| Object * | obedit, | ||
| short | orientation_index, | ||
| int | pivot_point, | ||
| float | r_mat[3][3] ) |
r_mat to be orthogonal should use orthogonalize_m3.A non orthogonal matrix may be returned when:
Definition at line 623 of file transform_orientations.cc.
References applyTransformOrientation(), ATTR_FALLTHROUGH, BKE_pose_channel_active_if_bonecoll_visible(), BKE_scene_transform_orientation_find(), BLI_assert, copy_m3_m3(), copy_m3_m4(), ED_getTransformOrientationMatrix(), gimbal_axis_object(), gimbal_axis_pose(), handle_armature_parent_orientation(), handle_object_parent_orientation(), Object::mode, normalize_m3(), OB_MODE_POSE, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), transform_orientations_create_from_axis(), unit_m3(), UNPACK3, V3D_ORIENT_CURSOR, V3D_ORIENT_CUSTOM, V3D_ORIENT_CUSTOM_MATRIX, V3D_ORIENT_GIMBAL, V3D_ORIENT_GLOBAL, V3D_ORIENT_LOCAL, V3D_ORIENT_NORMAL, V3D_ORIENT_PARENT, V3D_ORIENT_VIEW, and RegionView3D::viewinv.
Referenced by ED_transform_calc_gizmo_stats(), ED_transform_calc_orientation_from_type(), edbm_select_axis_exec(), knife_constrain_axis(), transform_mode_default_modal_orientation_set(), transform_orientation_matrix_get(), v3d_cursor_snap_update(), and view3d_ruler_item_mousemove().
| bool ED_transform_calc_pivot_pos | ( | const bContext * | C, |
| const short | pivot_type, | ||
| float | r_pivot_pos[3] ) |
Definition at line 2433 of file transform_gizmo_3d.cc.
References CTX_data_scene(), and gizmo_3d_calc_pos().
Referenced by view3d_orbit_calc_center().
| bool ED_transform_snap_sequencer_to_closest_strip_calc | ( | Scene * | scene, |
| ARegion * | region, | ||
| int | frame_1, | ||
| int | frame_2, | ||
| int * | r_snap_distance, | ||
| float * | r_snap_frame ) |
Iterates over all the strips and finds the closest snapping candidate of either frame_1 or frame_2. The closest snapping candidate will be the closest start or end frame of an existing strip.
Definition at line 635 of file transform_snap_sequencer.cc.
References TransInfo::data_type, TransSnap::mode, TransInfo::region, scene, TransInfo::scene, SEQ_tool_settings_snap_mode_get(), TransSnap::snap_target, TransConvertType_Sequencer, transform_snap_sequencer_to_closest_strip_ex(), TransInfo::tsnap, validSnap(), and TransInfo::values.
Referenced by update_overlay_strip_position_data().
| void ED_widgetgroup_gizmo2d_resize_callbacks_set | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 923 of file transform_gizmo_2d.cc.
References wmGizmoGroupType::draw_prepare, gizmo2d_generic_poll(), gizmo2d_resize_draw_prepare(), gizmo2d_resize_invoke_prepare(), gizmo2d_resize_message_subscribe(), gizmo2d_resize_refresh(), gizmo2d_resize_setup(), wmGizmoGroupType::invoke_prepare, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, and WM_gizmogroup_setup_keymap_generic_maybe_drag().
Referenced by IMAGE_GGT_gizmo2d_resize(), and SEQUENCER_GGT_gizmo2d_resize().
| void ED_widgetgroup_gizmo2d_rotate_callbacks_set | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 1035 of file transform_gizmo_2d.cc.
References wmGizmoGroupType::draw_prepare, gizmo2d_generic_poll(), gizmo2d_rotate_draw_prepare(), gizmo2d_rotate_message_subscribe(), gizmo2d_rotate_refresh(), gizmo2d_rotate_setup(), wmGizmoGroupType::message_subscribe, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, and WM_gizmogroup_setup_keymap_generic_maybe_drag().
Referenced by IMAGE_GGT_gizmo2d_rotate(), and SEQUENCER_GGT_gizmo2d_rotate().
| void ED_widgetgroup_gizmo2d_xform_callbacks_set | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 735 of file transform_gizmo_2d.cc.
References wmGizmoGroupType::draw_prepare, gizmo2d_generic_poll(), gizmo2d_xform_draw_prepare(), gizmo2d_xform_invoke_prepare(), gizmo2d_xform_refresh(), gizmo2d_xform_setup(), wmGizmoGroupType::invoke_prepare, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, and WM_gizmogroup_setup_keymap_generic_maybe_drag().
Referenced by ED_widgetgroup_gizmo2d_xform_no_cage_callbacks_set(), IMAGE_GGT_gizmo2d(), and SEQUENCER_GGT_gizmo2d().
| void ED_widgetgroup_gizmo2d_xform_no_cage_callbacks_set | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 762 of file transform_gizmo_2d.cc.
References ED_widgetgroup_gizmo2d_xform_callbacks_set(), gizmo2d_xform_no_cage_message_subscribe(), gizmo2d_xform_setup_no_cage(), wmGizmoGroupType::message_subscribe, and wmGizmoGroupType::setup.
Referenced by IMAGE_GGT_gizmo2d_translate(), and SEQUENCER_GGT_gizmo2d_translate().
| void transform_operatortypes | ( | ) |
Definition at line 1471 of file transform_ops.cc.
References TransformModeItem::idname, TransformModeItem::opfunc, transform_modes, TRANSFORM_OT_create_orientation(), TRANSFORM_OT_delete_orientation(), TRANSFORM_OT_from_gizmo(), TRANSFORM_OT_select_orientation(), TRANSFORM_OT_transform(), and WM_operatortype_append().
Referenced by view3d_operatortypes().
| void Transform_Properties | ( | wmOperatorType * | ot, |
| int | flags ) |
Definition at line 619 of file transform_ops.cc.
References BLT_I18NCONTEXT_ID_CURVE_LEGACY, FLT_MAX, ot, P_ALIGN_SNAP, P_CENTER, P_CONSTRAINT, P_CORRECT_UV, P_CURSOR_EDIT, P_GEO_SNAP, P_GPENCIL_EDIT, P_MIRROR, P_MIRROR_DUMMY, P_NO_DEFAULTS, P_NO_TEXSPACE, P_OPTIONS, P_ORIENT_AXIS, P_ORIENT_AXIS_ORTHO, P_ORIENT_MATRIX, P_POST_TRANSFORM, P_PROPORTIONAL, P_SNAP, P_VIEW2D_EDGE_PAN, PROP_ENUM, PROP_ENUM_FLAG, PROP_FLOAT, PROP_HIDDEN, PROP_NONE, PROP_SKIP_SAVE, PROP_XYZ, RNA_def_boolean(), RNA_def_boolean_vector(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_float(), RNA_def_float_matrix(), RNA_def_float_vector(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_enum_default(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_translation_context(), RNA_def_property_ui_text(), rna_enum_axis_xyz_items, rna_enum_proportional_falloff_items, rna_enum_snap_element_items, rna_enum_snap_source_items, rna_TransformOrientation_itemf(), SCE_SNAP_TO_INCREMENT, wmOperatorType::srna, T_PROP_SIZE_MAX, and T_PROP_SIZE_MIN.
Referenced by MESH_OT_extrude_context(), MESH_OT_extrude_edges_indiv(), MESH_OT_extrude_faces_indiv(), MESH_OT_extrude_region(), MESH_OT_extrude_verts_indiv(), MESH_OT_polybuild_delete_at_cursor(), MESH_OT_polybuild_face_at_cursor(), MESH_OT_polybuild_split_at_cursor(), MESH_OT_polybuild_transform_at_cursor(), MESH_OT_rip(), MESH_OT_rip_edge(), TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_bend(), TRANSFORM_OT_edge_bevelweight(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_seq_slide(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), TRANSFORM_OT_vert_crease(), TRANSFORM_OT_vert_slide(), and UV_OT_rip().
| void VIEW3D_GGT_xform_cage | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 208 of file transform_gizmo_3d_cage.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, WIDGETGROUP_xform_cage_draw_prepare(), WIDGETGROUP_xform_cage_message_subscribe(), WIDGETGROUP_xform_cage_poll(), WIDGETGROUP_xform_cage_refresh(), WIDGETGROUP_xform_cage_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, WM_GIZMOGROUPTYPE_DRAW_MODAL_EXCLUDE, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by gizmo_xform_message_subscribe(), view3d_widgets(), and WIDGETGROUP_xform_cage_message_subscribe().
| void VIEW3D_GGT_xform_extrude | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 489 of file transform_gizmo_extrude_3d.cc.
References wmGizmoGroupType::draw_prepare, ED_gizmo_poll_or_unlink_delayed_from_tool(), EXTRUDE_AXIS_NORMAL, EXTRUDE_AXIS_XYZ, wmGizmoGroupType::flag, gizmo_mesh_extrude_draw_prepare(), gizmo_mesh_extrude_invoke_prepare(), gizmo_mesh_extrude_message_subscribe(), gizmo_mesh_extrude_refresh(), gizmo_mesh_extrude_setup(), wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::invoke_prepare, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, RNA_def_enum(), wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, wmGizmoGroupType::srna, WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by view3d_widgets().
| void VIEW3D_GGT_xform_gizmo | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 2217 of file transform_gizmo_3d.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, g_GGT_xform_gizmo, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::invoke_prepare, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, RNA_def_enum(), wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, wmGizmoGroupType::srna, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, V3D_GIZMO_SHOW_OBJECT_TRANSLATE, WIDGETGROUP_gizmo_draw_prepare(), WIDGETGROUP_gizmo_invoke_prepare(), WIDGETGROUP_gizmo_message_subscribe(), WIDGETGROUP_gizmo_poll_tool(), WIDGETGROUP_gizmo_refresh(), WIDGETGROUP_gizmo_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by gizmo_xform_message_subscribe(), view3d_widgets(), and WIDGETGROUP_gizmo_message_subscribe().
| void VIEW3D_GGT_xform_gizmo_context | ( | wmGizmoGroupType * | gzgt | ) |
Only poll, flag & gzmap_params differ.
Definition at line 2253 of file transform_gizmo_3d.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, g_GGT_xform_gizmo_context, wmGizmoGroupType::idname, wmGizmoGroupType::invoke_prepare, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_gizmo_draw_prepare(), WIDGETGROUP_gizmo_invoke_prepare(), WIDGETGROUP_gizmo_message_subscribe(), WIDGETGROUP_gizmo_poll_context(), WIDGETGROUP_gizmo_refresh(), WIDGETGROUP_gizmo_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, WM_GIZMOGROUPTYPE_PERSISTENT, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by view3d_widgets().
| void VIEW3D_GGT_xform_shear | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 245 of file transform_gizmo_3d_shear.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, WIDGETGROUP_xform_shear_draw_prepare(), WIDGETGROUP_xform_shear_message_subscribe(), WIDGETGROUP_xform_shear_poll(), WIDGETGROUP_xform_shear_refresh(), WIDGETGROUP_xform_shear_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, WM_GIZMOGROUPTYPE_DRAW_MODAL_EXCLUDE, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by gizmo_xform_message_subscribe(), view3d_widgets(), and WIDGETGROUP_xform_shear_message_subscribe().