Blender V4.5
view3d_navigate_zoom_border.cc File Reference
#include "DNA_camera_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_math_vector.h"
#include "BLI_rect.h"
#include "BKE_context.hh"
#include "BKE_report.hh"
#include "WM_api.hh"
#include "RNA_access.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"

Go to the source code of this file.

Functions

Border Zoom Operator
static wmOperatorStatus view3d_zoom_border_exec (bContext *C, wmOperator *op)
void VIEW3D_OT_zoom_border (wmOperatorType *ot)

Function Documentation

◆ VIEW3D_OT_zoom_border()

◆ view3d_zoom_border_exec()

wmOperatorStatus view3d_zoom_border_exec ( bContext * C,
wmOperator * op )
static

Definition at line 30 of file view3d_navigate_zoom_border.cc.

References add_v3_v3v3(), BKE_report(), BLI_rcti_resize_x(), BLI_rcti_resize_y(), BLI_rcti_size_x(), BLI_rcti_size_y(), C, CLAMP, copy_v3_v3(), CTX_data_ensure_evaluated_depsgraph(), CTX_wm_area(), CTX_wm_region(), CTX_wm_region_view3d(), CTX_wm_view3d(), DEFAULT_SENSOR_WIDTH, ViewDepths::depths, RegionView3D::dist, V3D_SmoothParams::dist, ED_view3d_calc_zfac(), ED_view3d_camera_lock_check(), ED_view3d_camera_lock_init(), ED_view3d_depth_override(), ED_view3d_dist_soft_range_get(), ED_view3d_persp_switch_from_camera(), ED_view3d_smooth_view(), ED_view3d_unproject_v3(), ED_view3d_win_to_delta(), FLT_MAX, RegionView3D::is_persp, len_v3(), View3D::lens, blender::Bounds< T >::max, max_ff(), MEM_SAFE_FREE, blender::Bounds< T >::min, wmOperatorType::name, negate_v3_v3(), RegionView3D::ofs, V3D_SmoothParams::ofs, OPERATOR_CANCELLED, OPERATOR_FINISHED, RegionView3D::persp, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, RV3D_BOXVIEW, RV3D_CAMOB, RV3D_LOCK_FLAGS, RV3D_PERSP, sub_v3_v3(), sub_v3_v3v3(), wmOperator::type, V3D_SmoothParams::undo_str, V3D_DEPTH_NO_GPENCIL, view3d_boxview_sync(), view3d_depth_near(), view3d_depths_rect_create(), view3d_operator_needs_gpu(), view3d_zoom_border_exec(), ARegion::winx, ARegion::winy, WM_operator_properties_border_to_rcti(), WM_operator_smooth_viewtx_get(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.

Referenced by VIEW3D_OT_zoom_border(), and view3d_zoom_border_exec().