Blender V5.3
view3d_navigate_view_dolly.cc File Reference
#include "BKE_context.hh"
#include "BKE_report.hh"
#include "BLI_math_vector_c.hh"
#include "WM_api.hh"
#include "RNA_access.hh"
#include "ED_screen.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

View Dolly Operator

Like zoom but translates the view offset along the view direction which avoids #RegionView3D.dist approaching zero.

void blender::viewdolly_modal_keymap (wmKeyConfig *keyconf)
static bool blender::viewdolly_offset_lock_check (bContext *C, wmOperator *op)
static void blender::view_dolly_to_vector_3d (ARegion *region, const float orig_ofs[3], const float dvec[3], float dfac)
static void blender::viewdolly_apply (ViewOpsData *vod, const int xy[2], const bool zoom_invert)
static wmOperatorStatus blender::viewdolly_modal (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::viewdolly_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::viewdolly_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::VIEW3D_OT_dolly (wmOperatorType *ot)