|
Blender V5.0
|
Inherits ViewOpsData.
Public Member Functions | |
| ViewOpsData_Utility (bContext *C, const wmKeyMapItem *kmi_merge=nullptr) | |
| ~ViewOpsData_Utility () | |
| Public Member Functions inherited from ViewOpsData | |
| void | init_context (bContext *C) |
| void | state_backup () |
| void | state_restore () |
| void | init_navigation (bContext *C, const wmEvent *event, const ViewOpsType *nav_type, const float dyn_ofs_override[3]=nullptr, const bool use_cursor_init=false) |
| void | end_navigation (bContext *C) |
Public Attributes | |
| ListBase | keymap_items |
| bool | is_modal_event = false |
| Public Attributes inherited from ViewOpsData | |
| Scene * | scene |
| ScrArea * | area |
| ARegion * | region |
| View3D * | v3d |
| RegionView3D * | rv3d |
| Depsgraph * | depsgraph |
| wmTimer * | timer |
| struct { | |
| float ofs [3] | |
| float ofs_lock [2] | |
| float camdx | |
| float camdy | |
| float camzoom | |
| float dist | |
| float quat [4] | |
| char persp | |
| char view | |
| char view_axis_roll | |
| char persp_with_auto_persp_applied | |
| blender::int2 event_xy | |
| blender::int2 event_xy_offset | |
| int event_type | |
| float zfac | |
| float trackvec [3] | |
| float mousevec [3] | |
| Dial * dial | |
| } | init |
| struct { | |
| int event_xy [2] | |
| double time | |
| } | prev |
| struct { | |
| float viewquat [4] | |
| } | curr |
| const ViewOpsType * | nav_type |
| eViewOpsFlag | viewops_flag |
| float | reverse |
| bool | axis_snap |
| float | dyn_ofs [3] |
| bool | use_dyn_ofs |
| bool | use_dyn_ofs_ortho_correction |
Definition at line 416 of file view3d_navigate.cc.
|
inline |
Definition at line 424 of file view3d_navigate.cc.
References wmKeyMapItem::alt, C, wmKeyMapItem::ctrl, CTX_wm_manager(), ELEM, EVT_HYPER, EVT_LEFTALTKEY, EVT_LEFTCTRLKEY, EVT_LEFTSHIFTKEY, EVT_OSKEY, EVT_RIGHTALTKEY, EVT_RIGHTCTRLKEY, EVT_RIGHTSHIFTKEY, wmKeyMapItem::hyper, ViewOpsData::init_context(), ISKEYMODIFIER, wmKeyMap::items, keymap_items, wmKeyMapItem::keymodifier, KM_MOD_HELD, KMI_INACTIVE, LISTBASE_FOREACH, wmKeyMapItem::oskey, RGN_TYPE_WINDOW, wmKeyMapItem::shift, SPACE_VIEW3D, STRPREFIX, view3d_navigation_type_from_idname(), WM_keyconfig_update_suppress_begin(), WM_keyconfig_update_suppress_end(), WM_keymap_add_item_copy(), and WM_keymap_find_all().
|
inline |
Definition at line 482 of file view3d_navigate.cc.
References wmKeyMap::items, WM_keyconfig_update_suppress_begin(), WM_keyconfig_update_suppress_end(), and WM_keymap_clear().
| bool ViewOpsData_Utility::is_modal_event = false |
Definition at line 422 of file view3d_navigate.cc.
Referenced by ED_view3d_navigation_do().
| ListBase ViewOpsData_Utility::keymap_items |
Definition at line 419 of file view3d_navigate.cc.
Referenced by ED_view3d_navigation_do(), and ViewOpsData_Utility().