Blender V5.0
view3d_navigate_view_rotate.cc File Reference
#include "BKE_context.hh"
#include "BLI_math_matrix.h"
#include "BLI_math_rotation.h"
#include "BLI_math_vector.h"
#include "WM_api.hh"
#include "ED_screen.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"

Go to the source code of this file.

Functions

View Rotate Operator
void viewrotate_modal_keymap (wmKeyConfig *keyconf)
static void viewrotate_apply_snap (ViewOpsData *vod)
static void viewrotate_apply (ViewOpsData *vod, const int event_xy[2])
static wmOperatorStatus viewrotate_modal_impl (bContext *C, ViewOpsData *vod, const eV3D_OpEvent event_code, const int xy[2])
static wmOperatorStatus viewrotate_invoke_impl (bContext *C, ViewOpsData *vod, const wmEvent *event, PointerRNA *)
static wmOperatorStatus viewrotate_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void VIEW3D_OT_rotate (wmOperatorType *ot)

Variables

const ViewOpsType ViewOpsType_rotate

Function Documentation

◆ VIEW3D_OT_rotate()

◆ viewrotate_apply()

◆ viewrotate_apply_snap()

◆ viewrotate_invoke()

wmOperatorStatus viewrotate_invoke ( bContext * C,
wmOperator * op,
const wmEvent * event )
static

Definition at line 368 of file view3d_navigate_view_rotate.cc.

References C, view3d_navigate_invoke_impl(), and ViewOpsType_rotate.

Referenced by VIEW3D_OT_rotate().

◆ viewrotate_invoke_impl()

◆ viewrotate_modal_impl()

◆ viewrotate_modal_keymap()

Variable Documentation

◆ ViewOpsType_rotate

const ViewOpsType ViewOpsType_rotate
Initial value:
= {
"VIEW3D_OT_rotate",
}
bool view3d_rotation_poll(bContext *C)
@ VIEWOPS_FLAG_ORBIT_SELECT
@ VIEWOPS_FLAG_DEPTH_NAVIGATE
@ VIEWOPS_FLAG_PERSP_ENSURE
static wmOperatorStatus viewrotate_invoke_impl(bContext *C, ViewOpsData *vod, const wmEvent *event, PointerRNA *)
static wmOperatorStatus viewrotate_modal_impl(bContext *C, ViewOpsData *vod, const eV3D_OpEvent event_code, const int xy[2])

Definition at line 394 of file view3d_navigate_view_rotate.cc.

Referenced by view3d_navigate_event(), view3d_navigation_type_from_idname(), VIEW3D_OT_rotate(), and viewrotate_invoke().