Blender  V3.3
view3d_navigate_rotate.c File Reference
#include "BLI_math.h"
#include "BKE_context.h"
#include "WM_api.h"
#include "RNA_access.h"
#include "ED_screen.h"
#include "view3d_intern.h"
#include "view3d_navigate.h"

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 int viewrotate_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int viewrotate_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static void viewrotate_cancel (bContext *C, wmOperator *op)
 
void VIEW3D_OT_rotate (wmOperatorType *ot)
 

Function Documentation

◆ VIEW3D_OT_rotate()

void VIEW3D_OT_rotate ( wmOperatorType *  ot)

◆ viewrotate_apply()

static void viewrotate_apply ( ViewOpsData *  vod,
const int  event_xy[2] 
)
static

◆ viewrotate_apply_snap()

static void viewrotate_apply_snap ( ViewOpsData *  vod)
static

◆ viewrotate_cancel()

static void viewrotate_cancel ( bContext *  C,
wmOperator *  op 
)
static

Definition at line 433 of file view3d_navigate_rotate.c.

References C, wmOperator::customdata, NULL, and viewops_data_free().

Referenced by VIEW3D_OT_rotate().

◆ viewrotate_invoke()

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

◆ viewrotate_modal()

static int viewrotate_modal ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ viewrotate_modal_keymap()

void viewrotate_modal_keymap ( wmKeyConfig *  keyconf)