|
Blender V4.3
|
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 | |
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 | ||
| int event_xy [2] | ||
| int event_xy_offset [2] | ||
| 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 401 of file view3d_navigate.cc.
|
inline |
Definition at line 409 of file view3d_navigate.cc.
References wmKeyMapItem::alt, wmKeyMapItem::ctrl, CTX_wm_manager(), ELEM, EVT_LEFTALTKEY, EVT_LEFTCTRLKEY, EVT_LEFTSHIFTKEY, EVT_OSKEY, EVT_RIGHTALTKEY, EVT_RIGHTCTRLKEY, EVT_RIGHTSHIFTKEY, ViewOpsData::init_context(), ISKEYMODIFIER, wmKeyMap::items, wmKeyMapItem::keymodifier, 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 458 of file view3d_navigate.cc.
References wmKeyMap::items, keymap_items, WM_keyconfig_update_suppress_begin(), WM_keyconfig_update_suppress_end(), and WM_keymap_clear().
| bool ViewOpsData_Utility::is_modal_event |
Definition at line 407 of file view3d_navigate.cc.
Referenced by ED_view3d_navigation_do().
| ListBase ViewOpsData_Utility::keymap_items |
Definition at line 404 of file view3d_navigate.cc.
Referenced by ED_view3d_navigation_do(), and ~ViewOpsData_Utility().