|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "BLI_math_rotation.h"#include "WM_api.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "view3d_intern.hh"#include "view3d_navigate.hh"Go to the source code of this file.
Variables | |
| const ViewOpsType | ViewOpsType_orbit |
View Orbit Operator | |
Rotate (orbit) in incremental steps. For interactive orbit see VIEW3D_OT_rotate. | |
| enum | { V3D_VIEW_STEPLEFT = 1 , V3D_VIEW_STEPRIGHT , V3D_VIEW_STEPDOWN , V3D_VIEW_STEPUP } |
| static const EnumPropertyItem | prop_view_orbit_items [] |
| static int | vieworbit_exec (bContext *C, wmOperator *op) |
| void | VIEW3D_OT_view_orbit (wmOperatorType *ot) |
| anonymous enum |
| Enumerator | |
|---|---|
| V3D_VIEW_STEPLEFT | |
| V3D_VIEW_STEPRIGHT | |
| V3D_VIEW_STEPDOWN | |
| V3D_VIEW_STEPUP | |
Definition at line 28 of file view3d_navigate_view_orbit.cc.
| void VIEW3D_OT_view_orbit | ( | wmOperatorType * | ot | ) |
Definition at line 134 of file view3d_navigate_view_orbit.cc.
References wmOperatorType::description, ED_operator_rv3d_user_region_poll(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, ViewOpsType::idname, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, prop_view_orbit_items, RNA_def_enum(), RNA_def_float(), RNA_def_property_flag(), wmOperatorType::srna, ViewOpsType_orbit, and vieworbit_exec().
Referenced by view3d_operatortypes().
|
static |
Definition at line 43 of file view3d_navigate_view_orbit.cc.
References angle(), axis_angle_to_quat(), axis_angle_to_quat_single(), ViewOpsData::curr, DEG2RADF, V3D_SmoothParams::dyn_ofs, ViewOpsData::dyn_ofs, ED_view3d_axis_view_opposite(), ED_view3d_camera_lock_check(), ED_view3d_context_user_region(), ED_view3d_quat_from_axis_view(), ED_view3d_smooth_view(), ED_view3d_smooth_view_force_finish(), ELEM, ViewOpsData::end_navigation(), fabsf, float, ViewOpsData::init_context(), ViewOpsData::init_navigation(), V3D_SmoothParams::lens, View3D::lens, M_PI, mul_qt_qtqt(), wmOperatorType::name, normalize_qt(), OPERATOR_CANCELLED, OPERATOR_FINISHED, RegionView3D::persp, wmOperator::ptr, V3D_SmoothParams::quat, ViewOpsData::region, ARegion::regiondata, RNA_enum_get(), RNA_property_float_get(), RNA_property_is_set(), RNA_struct_find_property(), ViewOpsData::rv3d, RV3D_CAMOB, RV3D_LOCK_FLAGS, RV3D_LOCK_ROTATION, RV3D_VIEW_USER, wmOperator::type, V3D_SmoothParams::undo_grouped, V3D_SmoothParams::undo_str, ViewOpsData::use_dyn_ofs, ViewOpsData::v3d, V3D_VIEW_STEPDOWN, V3D_VIEW_STEPLEFT, V3D_VIEW_STEPRIGHT, RegionView3D::view, RegionView3D::view_axis_roll, RegionView3D::viewinv, ViewOpsType_orbit, ViewOpsData::viewquat, and WM_operator_smooth_viewtx_get().
Referenced by VIEW3D_OT_view_orbit().
|
static |
Definition at line 35 of file view3d_navigate_view_orbit.cc.
Referenced by VIEW3D_OT_view_orbit().
| const ViewOpsType ViewOpsType_orbit |
Definition at line 160 of file view3d_navigate_view_orbit.cc.
Referenced by VIEW3D_OT_view_orbit(), and vieworbit_exec().