37 {
V3D_VIEW_STEPLEFT,
"ORBITLEFT", 0,
"Orbit Left",
"Orbit the view around to the left"},
38 {
V3D_VIEW_STEPRIGHT,
"ORBITRIGHT", 0,
"Orbit Right",
"Orbit the view around to the right"},
41 {0,
nullptr, 0,
nullptr,
nullptr},
120 sview.
quat = quat_new;
142 ot->name =
"View Orbit";
143 ot->description =
"Orbit the view";
165 "VIEW3D_OT_view_orbit",
void axis_angle_to_quat(float r[4], const float axis[3], float angle)
void axis_angle_to_quat_single(float q[4], char axis, float angle)
float normalize_qt(float q[4])
void mul_qt_qtqt(float q[4], const float a[4], const float b[4])
#define RV3D_LOCK_FLAGS(rv3d)
char ED_view3d_axis_view_opposite(char view)
bool ED_view3d_context_user_region(bContext *C, View3D **r_v3d, ARegion **r_region)
bool ED_view3d_quat_from_axis_view(char view, char view_axis_roll, float r_quat[4])
bool ED_view3d_camera_lock_check(const View3D *v3d, const RegionView3D *rv3d)
bool ED_operator_rv3d_user_region_poll(bContext *C)
static double angle(const Eigen::Vector3d &v1, const Eigen::Vector3d &v2)
float RNA_property_float_get(PointerRNA *ptr, PropertyRNA *prop)
PropertyRNA * RNA_struct_find_property(PointerRNA *ptr, const char *identifier)
bool RNA_property_is_set(PointerRNA *ptr, PropertyRNA *prop)
int RNA_enum_get(PointerRNA *ptr, const char *name)
PropertyRNA * RNA_def_float(StructOrFunctionRNA *cont_, const char *identifier, const float default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, const int default_value, const char *ui_name, const char *ui_description)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void end_navigation(bContext *C)
struct ViewOpsData::@041211063176270354313167244105136234141004235041 curr
void init_navigation(bContext *C, const wmEvent *event, const ViewOpsType *nav_type, const float dyn_ofs_override[3]=nullptr, const bool use_cursor_init=false)
void init_context(bContext *C)
struct wmOperatorType * type
void ED_view3d_smooth_view(bContext *C, View3D *v3d, ARegion *region, int smooth_viewtx, const V3D_SmoothParams *sview)
const ViewOpsType ViewOpsType_orbit
@ VIEWOPS_FLAG_ORBIT_SELECT
void ED_view3d_smooth_view_force_finish(bContext *C, View3D *v3d, ARegion *region)
static wmOperatorStatus vieworbit_exec(bContext *C, wmOperator *op)
void VIEW3D_OT_view_orbit(wmOperatorType *ot)
static const EnumPropertyItem prop_view_orbit_items[]
int WM_operator_smooth_viewtx_get(const wmOperator *op)