|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "BLI_math_rotation.h"#include "BLT_translation.hh"#include "BKE_context.hh"#include "ED_transform.hh"#include "WM_api.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "UI_resources.hh"#include "view3d_intern.hh"#include "view3d_navigate.hh"Go to the source code of this file.
View Axis Operator | |
| static const EnumPropertyItem | prop_view_items [] |
| static int | view_axis_exec (bContext *C, wmOperator *op) |
| void | VIEW3D_OT_view_axis (wmOperatorType *ot) |
| void VIEW3D_OT_view_axis | ( | wmOperatorType * | ot | ) |
Definition at line 157 of file view3d_navigate_view_axis.cc.
References BLT_I18NCONTEXT_EDITOR_VIEW3D, wmOperatorType::description, ED_operator_rv3d_user_region_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, prop_view_items, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), RNA_def_property_translation_context(), wmOperatorType::srna, and view_axis_exec().
Referenced by view3d_operatortypes().
|
static |
Definition at line 44 of file view3d_navigate_view_axis.cc.
References angle_signed_qtqt(), axis_angle_to_quat(), axis_set_view(), BLI_assert, CTX_data_active_object(), CTX_data_edit_object(), CTX_data_scene(), CTX_data_view_layer(), ED_getTransformOrientationMatrix(), ED_view3d_context_user_region(), ED_view3d_quat_from_axis_view(), ED_view3d_smooth_view_force_finish(), ELEM, fabsf, FLT_MAX, invert_qt_normalized(), RegionView3D::lpersp, M_PI, M_PI_2, mat3_to_quat(), mul_qt_qtqt(), OPERATOR_FINISHED, RegionView3D::persp, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RV3D_CAMOB, RV3D_PERSP, RV3D_VIEW_AXIS_ROLL_0, RV3D_VIEW_AXIS_ROLL_270, RV3D_VIEW_BACK, RV3D_VIEW_BOTTOM, RV3D_VIEW_FRONT, RV3D_VIEW_LEFT, RV3D_VIEW_RIGHT, RV3D_VIEW_TOP, unit_qt(), USER_TRACKBALL, V3D_AROUND_ACTIVE, RegionView3D::viewinv, RegionView3D::viewquat, and WM_operator_smooth_viewtx_get().
Referenced by VIEW3D_OT_view_axis().
|
static |
Definition at line 34 of file view3d_navigate_view_axis.cc.
Referenced by VIEW3D_OT_view_axis().