Blender
V3.3
|
#include "DNA_camera_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "BLI_rect.h"
#include "BKE_context.h"
#include "BKE_report.h"
#include "DEG_depsgraph_query.h"
#include "WM_api.h"
#include "RNA_access.h"
#include "view3d_intern.h"
#include "view3d_navigate.h"
Go to the source code of this file.
Functions | |
Border Zoom Operator | |
static int | view3d_zoom_border_exec (bContext *C, wmOperator *op) |
void | VIEW3D_OT_zoom_border (wmOperatorType *ot) |
void VIEW3D_OT_zoom_border | ( | wmOperatorType * | ot | ) |
Definition at line 190 of file view3d_navigate_zoom_border.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, wmOperatorType::poll, view3d_zoom_border_exec(), view3d_zoom_or_dolly_poll(), WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), and WM_operator_properties_gesture_box_zoom().
Referenced by view3d_operatortypes().
|
static |
Definition at line 30 of file view3d_navigate_zoom_border.c.
References add_v3_v3v3(), BKE_report(), BLI_rcti_resize_x(), BLI_rcti_resize_y(), BLI_rcti_size_x(), BLI_rcti_size_y(), C, CLAMP, View3D::clip_start, copy_v3_v3(), CTX_data_ensure_evaluated_depsgraph(), CTX_wm_area(), CTX_wm_region(), CTX_wm_region_view3d(), CTX_wm_view3d(), DEFAULT_SENSOR_WIDTH, depsgraph, ViewDepths::depths, RegionView3D::dist, ED_view3d_calc_zfac(), ED_view3d_camera_lock_check(), ED_view3d_camera_lock_init(), ED_view3d_depth_override(), ED_view3d_dist_range_get(), ED_view3d_persp_switch_from_camera(), ED_view3d_smooth_view(), ED_view3d_unproject_v3(), ED_view3d_win_to_delta(), float(), RegionView3D::is_persp, len_v3(), View3D::lens, max_ff(), MEM_SAFE_FREE, wmOperatorType::name, negate_v3_v3(), NULL, RegionView3D::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_DEPTH_NO_GPENCIL, view3d_boxview_sync(), view3d_depth_near(), view3d_depths_rect_create(), view3d_operator_needs_opengl(), 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().