Blender
V3.3
|
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "DNA_armature_types.h"
#include "DNA_curve_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_lattice_types.h"
#include "DNA_meta_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_view3d_types.h"
#include "BLI_array_utils.h"
#include "BLI_listbase.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BKE_action.h"
#include "BKE_armature.h"
#include "BKE_context.h"
#include "BKE_curve.h"
#include "BKE_editmesh.h"
#include "BKE_global.h"
#include "BKE_gpencil.h"
#include "BKE_layer.h"
#include "BKE_object.h"
#include "BKE_paint.h"
#include "BKE_pointcache.h"
#include "BKE_scene.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_types.h"
#include "ED_armature.h"
#include "ED_gizmo_library.h"
#include "ED_gizmo_utils.h"
#include "ED_gpencil.h"
#include "ED_object.h"
#include "ED_particle.h"
#include "ED_screen.h"
#include "ED_view3d.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "transform.h"
#include "transform_convert.h"
#include "transform_snap.h"
#include "MEM_guardedalloc.h"
#include "GPU_state.h"
Go to the source code of this file.
Classes | |
struct | GizmoGroup |
struct | XFormCageWidgetGroup |
struct | XFormShearWidgetGroup |
Macros | |
#define | MAN_AXIS_RANGE_TRANS_START MAN_AXIS_TRANS_X |
#define | MAN_AXIS_RANGE_TRANS_END (MAN_AXIS_TRANS_ZX + 1) |
#define | MAN_AXIS_RANGE_ROT_START MAN_AXIS_ROT_X |
#define | MAN_AXIS_RANGE_ROT_END (MAN_AXIS_ROT_T + 1) |
#define | MAN_AXIS_RANGE_SCALE_START MAN_AXIS_SCALE_X |
#define | MAN_AXIS_RANGE_SCALE_END (MAN_AXIS_SCALE_ZX + 1) |
#define | FOREACH_EDIT_OBJECT_BEGIN(ob_iter, use_mat_local) |
#define | FOREACH_EDIT_OBJECT_END() |
#define | GIZMO_NEW_ARROW(v, draw_style) |
#define | GIZMO_NEW_DIAL(v, draw_options) |
#define | GIZMO_NEW_PRIM(v, draw_style) |
Utilities | |
#define | MAN_ITER_AXES_BEGIN(axis, axis_idx) |
#define | MAN_ITER_AXES_END |
static wmGizmo * | gizmo_get_axis_from_index (const GizmoGroup *ggd, const short axis_idx) |
static short | gizmo_get_axis_type (const int axis_idx) |
static uint | gizmo_orientation_axis (const int axis_idx, bool *r_is_plane) |
static bool | gizmo_is_axis_visible (const RegionView3D *rv3d, const int twtype, const float idot[3], const int axis_type, const int axis_idx) |
static void | gizmo_get_axis_color (const int axis_idx, const float idot[3], float r_col[4], float r_col_hi[4]) |
static void | gizmo_get_axis_constraint (const int axis_idx, bool r_axis[3]) |
static void | reset_tw_center (struct TransformBounds *tbounds) |
static void | calc_tw_center (struct TransformBounds *tbounds, const float co[3]) |
static void | calc_tw_center_with_matrix (struct TransformBounds *tbounds, const float co[3], const bool use_matrix, const float matrix[4][4]) |
static void | protectflag_to_drawflags (short protectflag, short *drawflags) |
static void | protectflag_to_drawflags_pchan (RegionView3D *rv3d, const bPoseChannel *pchan, short orientation_index) |
static void | protectflag_to_drawflags_ebone (RegionView3D *rv3d, const EditBone *ebo) |
static void | axis_angle_to_gimbal_axis (float gmat[3][3], const float axis[3], const float angle) |
static bool | test_rotmode_euler (short rotmode) |
bool | gimbal_axis_pose (Object *ob, const bPoseChannel *pchan, float gmat[3][3]) |
bool | gimbal_axis_object (Object *ob, float gmat[3][3]) |
int | ED_transform_calc_gizmo_stats (const bContext *C, const struct TransformCalcParams *params, struct TransformBounds *tbounds) |
static void | gizmo_get_idot (RegionView3D *rv3d, float r_idot[3]) |
static void | gizmo_prepare_mat (const bContext *C, RegionView3D *rv3d, const struct TransformBounds *tbounds) |
static void | gizmo_line_range (const int twtype, const short axis_type, float *r_start, float *r_len) |
static void | gizmo_xform_message_subscribe (wmGizmoGroup *gzgroup, struct wmMsgBus *mbus, Scene *scene, bScreen *screen, ScrArea *area, ARegion *region, const void *type_fn) |
static void | gizmo_3d_dial_matrixbasis_calc (const ARegion *region, float axis[3], float center_global[3], float mval_init[2], float r_mat_basis[4][4]) |
#define FOREACH_EDIT_OBJECT_BEGIN | ( | ob_iter, | |
use_mat_local | |||
) |
#define MAN_AXIS_RANGE_ROT_END (MAN_AXIS_ROT_T + 1) |
Definition at line 124 of file transform_gizmo_3d.c.
#define MAN_AXIS_RANGE_ROT_START MAN_AXIS_ROT_X |
Definition at line 123 of file transform_gizmo_3d.c.
#define MAN_AXIS_RANGE_SCALE_END (MAN_AXIS_SCALE_ZX + 1) |
Definition at line 134 of file transform_gizmo_3d.c.
#define MAN_AXIS_RANGE_SCALE_START MAN_AXIS_SCALE_X |
Definition at line 133 of file transform_gizmo_3d.c.
#define MAN_AXIS_RANGE_TRANS_END (MAN_AXIS_TRANS_ZX + 1) |
Definition at line 116 of file transform_gizmo_3d.c.
#define MAN_AXIS_RANGE_TRANS_START MAN_AXIS_TRANS_X |
Definition at line 115 of file transform_gizmo_3d.c.
#define MAN_AXIS_SCALE_PLANE_OFFSET 7.0f |
Offset of the two-axis planes, depends on the gizmos scale. Define to avoid repeating.
Definition at line 1314 of file transform_gizmo_3d.c.
#define MAN_AXIS_SCALE_PLANE_SCALE 0.07f |
Scale of the two-axis planes.
Definition at line 1312 of file transform_gizmo_3d.c.
#define MAN_ITER_AXES_BEGIN | ( | axis, | |
axis_idx | |||
) |
Definition at line 172 of file transform_gizmo_3d.c.
#define MAN_ITER_AXES_END |
Definition at line 179 of file transform_gizmo_3d.c.
Definition at line 87 of file transform_gizmo_3d.c.
#define MAN_ROT_X (1 << 3) |
Definition at line 84 of file transform_gizmo_3d.c.
#define MAN_ROT_Y (1 << 4) |
Definition at line 85 of file transform_gizmo_3d.c.
#define MAN_ROT_Z (1 << 5) |
Definition at line 86 of file transform_gizmo_3d.c.
#define MAN_SCALE_C (MAN_SCALE_X | MAN_SCALE_Y | MAN_SCALE_Z) |
Definition at line 92 of file transform_gizmo_3d.c.
#define MAN_SCALE_X (1 << 8) |
Definition at line 89 of file transform_gizmo_3d.c.
#define MAN_SCALE_Y (1 << 9) |
Definition at line 90 of file transform_gizmo_3d.c.
#define MAN_SCALE_Z (1 << 10) |
Definition at line 91 of file transform_gizmo_3d.c.
#define MAN_TRANS_C (MAN_TRANS_X | MAN_TRANS_Y | MAN_TRANS_Z) |
Definition at line 82 of file transform_gizmo_3d.c.
#define MAN_TRANS_X (1 << 0) |
Definition at line 79 of file transform_gizmo_3d.c.
#define MAN_TRANS_Y (1 << 1) |
Definition at line 80 of file transform_gizmo_3d.c.
#define MAN_TRANS_Z (1 << 2) |
Definition at line 81 of file transform_gizmo_3d.c.
typedef struct GizmoGroup GizmoGroup |
anonymous enum |
Definition at line 106 of file transform_gizmo_3d.c.
anonymous enum |
Enumerator | |
---|---|
MAN_AXES_ALL | |
MAN_AXES_TRANSLATE | |
MAN_AXES_ROTATE | |
MAN_AXES_SCALE |
Definition at line 140 of file transform_gizmo_3d.c.
|
static |
Definition at line 524 of file transform_gizmo_3d.c.
References angle(), axis_angle_to_quat(), copy_v3_v3(), cross_v3_v3v3(), M_PI_2, mul_qt_v3(), normalize_m3(), and normalize_v3().
Referenced by gimbal_axis_object(), and gimbal_axis_pose().
|
static |
Definition at line 445 of file transform_gizmo_3d.c.
References add_v3_v3(), TransformBounds::axis, TransformBounds::axis_max, TransformBounds::axis_min, TransformBounds::center, dot_v3v3(), TransformBounds::max, max_ff(), TransformBounds::min, min_ff(), and minmax_v3v3_v3().
Referenced by calc_tw_center_with_matrix(), and ED_transform_calc_gizmo_stats().
|
static |
Definition at line 457 of file transform_gizmo_3d.c.
References calc_tw_center(), and mul_v3_m4v3().
Referenced by ED_transform_calc_gizmo_stats().
int ED_transform_calc_gizmo_stats | ( | const bContext * | C, |
const struct TransformCalcParams * | params, | ||
struct TransformBounds * | tbounds | ||
) |
Definition at line 618 of file transform_gizmo_3d.c.
References Freestyle::a, blender::compositor::area(), TransformBounds::axis, TransformBounds::axis_max, TransformBounds::axis_min, BASACT, BASE_SELECTED, BASE_SELECTED_EDITABLE, Nurb::bezt, bGPDcurve_point::bezt, BEZT_ISSEL_IDX, BKE_curve_editNurbs_get(), BKE_editmesh_from_object(), BKE_gpencil_layer_is_editable(), BKE_gpencil_layer_transform_matrix_get(), BKE_object_boundbox_get(), BKE_object_pose_armature_get(), BKE_object_pose_array_get(), BKE_scene_orientation_get_index(), BMEditMesh::bm, bm, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, BONE_CONNECTED, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, BONE_TRANSFORM, Nurb::bp, C, calc_tw_center(), calc_tw_center_with_matrix(), TransformBounds::center, bPose::chanbase, PTCacheEditKey::co, BMVert::co, copy_m3_m3(), copy_m3_m4(), copy_m4_m3(), copy_m4_m4(), copy_v3_v3(), CTX_data_expect_evaluated_depsgraph(), CTX_data_gpencil_data(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_area(), CTX_wm_region(), CU_BEZIER, CURVE_HANDLE_NONE, bGPDcurve::curve_points, Lattice::def, depsgraph, EBONE_VISIBLE, ED_gpencil_stroke_can_use(), ED_transform_calc_orientation_from_type_ex(), bArmature::edbo, MetaBall::editelems, Lattice::editlatt, ELEM, BezTriple::f1, BPoint::f1, BezTriple::f2, BezTriple::f3, ListBase::first, PTCacheEditKey::flag, bGPDspoint::flag, bGPDcurve_point::flag, bGPDcurve::flag, Base::flag, FOREACH_EDIT_OBJECT_BEGIN, FOREACH_EDIT_OBJECT_END, GP_CURVE_POINT_SELECT, GP_CURVE_SELECT, GP_SPOINT_SELECT, GP_STROKE_SELECT, GPENCIL_ANY_MODE, GPENCIL_CURVE_EDIT_SESSIONS_ON, View3DOverlay::handle_display, if(), Object::imat, invert_m3(), invert_m4_m4(), EditLatt::latt, bGPdata::layers, LISTBASE_FOREACH, TransformBounds::matrix_space, TransformBounds::max, MEM_freeN, TransformBounds::min, Object::mode, mul_m3_m3_pre(), mul_m4_m4m4(), mul_m4_v3(), mul_v3_fl(), mul_v3_m4v3(), Nurb::next, Base::next, normalize_m3(), NULL, OB_ARMATURE, OB_CURVES_LEGACY, OB_LATTICE, OB_LOCK_LOC, OB_MBALL, OB_MESH, OB_MODE_ALL_PAINT, OB_MODE_EDIT, OB_MODE_PARTICLE_EDIT, OB_MODE_POSE, OB_MODE_SCULPT, OB_MODE_WEIGHT_PAINT, OB_SURF, OBACT, OBEDIT_FROM_OBACT, Base::object, ViewLayer::object_bases, Object::obmat, View3D::overlay, params, PE_get_current(), PEK_SELECT, PEK_USE_WCO, PEP_HIDE, SculptSession::pivot_pos, Nurb::pntsu, Lattice::pntsu, Nurb::pntsv, Lattice::pntsv, Lattice::pntsw, point, PTCacheEdit::points, Object::pose, Object::protectflag, protectflag_to_drawflags(), protectflag_to_drawflags_ebone(), protectflag_to_drawflags_pchan(), ARegion::regiondata, reset_tw_center(), SCE_ORIENT_DEFAULT, scene, Object::sculpt, SELECT, TFM_ROTATION, Scene::toolsettings, bGPDcurve::tot_curve_points, PTCacheEdit::totpoint, BMesh::totvertsel, transform_convert_pose_transflags_update(), ToolSettings::transform_pivot_point, RegionView3D::tw_axis_matrix, RegionView3D::tw_axis_max, RegionView3D::tw_axis_min, RegionView3D::twdrawflag, RegionView3D::twmat, Nurb::type, Object::type, unit_m3(), unit_m4(), TransformBounds::use_matrix_space, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_LOCAL_ORIGINS, V3D_ORIENT_GIMBAL, V3D_ORIENT_GLOBAL, V3D_ORIENT_LOCAL, BezTriple::vec, BPoint::vec, BoundBox::vec, PTCacheEditKey::world_co, bGPDspoint::x, and zero_v3().
Referenced by gizmo_modal(), WIDGETGROUP_gizmo_refresh(), WIDGETGROUP_xform_cage_refresh(), and WIDGETGROUP_xform_shear_refresh().
Definition at line 597 of file transform_gizmo_3d.c.
References axis_angle_to_gimbal_axis(), copy_m3_m4(), eulO_to_gimbal_axis(), mul_m3_m3m3(), normalize_m3(), Object::obmat, Object::parent, Object::rot, ROT_MODE_AXISANGLE, Object::rotAngle, Object::rotAxis, Object::rotmode, and test_rotmode_euler().
Referenced by ED_transform_calc_orientation_from_type_ex(), and ObjectToTransData().
bool gimbal_axis_pose | ( | Object * | ob, |
const bPoseChannel * | pchan, | ||
float | gmat[3][3] | ||
) |
Definition at line 559 of file transform_gizmo_3d.c.
References Bone::arm_mat, axis_angle_to_gimbal_axis(), bPoseChannel::bone, BONE_HINGE, Bone::bone_mat, copy_m3_m4(), bPoseChannel::eul, eulO_to_gimbal_axis(), Bone::flag, mul_m3_m3m3(), normalize_m3(), Object::obmat, bPoseChannel::parent, bPoseChannel::pose_mat, ROT_MODE_AXISANGLE, bPoseChannel::rotAngle, bPoseChannel::rotAxis, bPoseChannel::rotmode, and test_rotmode_euler().
|
static |
Definition at line 1278 of file transform_gizmo_3d.c.
References copy_v3_v3(), cross_v3_v3v3(), dot_v3v3(), ED_view3d_win_to_3d_on_plane(), normalize_v3(), ortho_basis_v3v3_v3(), and sub_v3_v3().
Referenced by WIDGETGROUP_gizmo_invoke_prepare().
|
static |
Definition at line 322 of file transform_gizmo_3d.c.
References copy_v4_v4(), g_tw_axis_range, gizmo_orientation_axis(), MAN_AXIS_RANGE_ROT_END, MAN_AXIS_RANGE_ROT_START, MAN_AXIS_ROT_C, MAN_AXIS_ROT_T, MAN_AXIS_ROT_X, MAN_AXIS_ROT_Y, MAN_AXIS_ROT_Z, MAN_AXIS_SCALE_C, MAN_AXIS_SCALE_X, MAN_AXIS_SCALE_XY, MAN_AXIS_SCALE_Y, MAN_AXIS_SCALE_YZ, MAN_AXIS_SCALE_Z, MAN_AXIS_SCALE_ZX, MAN_AXIS_TRANS_C, MAN_AXIS_TRANS_X, MAN_AXIS_TRANS_XY, MAN_AXIS_TRANS_Y, MAN_AXIS_TRANS_YZ, MAN_AXIS_TRANS_Z, MAN_AXIS_TRANS_ZX, TH_AXIS_X, TH_AXIS_Y, TH_AXIS_Z, TH_GIZMO_VIEW_ALIGN, and UI_GetThemeColor4fv().
Referenced by WIDGETGROUP_gizmo_draw_prepare().
Definition at line 394 of file transform_gizmo_3d.c.
References ARRAY_SET_ITEMS, MAN_AXIS_ROT_X, MAN_AXIS_ROT_Y, MAN_AXIS_ROT_Z, MAN_AXIS_SCALE_X, MAN_AXIS_SCALE_XY, MAN_AXIS_SCALE_Y, MAN_AXIS_SCALE_YZ, MAN_AXIS_SCALE_Z, MAN_AXIS_SCALE_ZX, MAN_AXIS_TRANS_X, MAN_AXIS_TRANS_XY, MAN_AXIS_TRANS_Y, MAN_AXIS_TRANS_YZ, MAN_AXIS_TRANS_Z, and MAN_AXIS_TRANS_ZX.
Referenced by gizmogroup_init_properties_from_twtype().
|
static |
Definition at line 184 of file transform_gizmo_3d.c.
References BLI_assert, GizmoGroup::gizmos, IN_RANGE_INCL, MAN_AXIS_LAST, and MAN_AXIS_TRANS_X.
|
static |
Definition at line 190 of file transform_gizmo_3d.c.
References BLI_assert, MAN_AXES_ROTATE, MAN_AXES_SCALE, MAN_AXES_TRANSLATE, MAN_AXIS_RANGE_ROT_END, MAN_AXIS_RANGE_ROT_START, MAN_AXIS_RANGE_SCALE_END, MAN_AXIS_RANGE_SCALE_START, MAN_AXIS_RANGE_TRANS_END, and MAN_AXIS_RANGE_TRANS_START.
Referenced by gizmo_modal(), gizmo_refresh_from_matrix(), gizmogroup_init_properties_from_twtype(), WIDGETGROUP_gizmo_draw_prepare(), and WIDGETGROUP_gizmo_invoke_prepare().
|
static |
Definition at line 1078 of file transform_gizmo_3d.c.
References dot_v3v3(), ED_view3d_global_to_vector(), fabsf, normalize_v3_v3(), and RegionView3D::twmat.
Referenced by WIDGETGROUP_gizmo_draw_prepare().
|
static |
Definition at line 244 of file transform_gizmo_3d.c.
References g_tw_axis_range, gizmo_orientation_axis(), MAN_AXES_ROTATE, MAN_AXES_SCALE, MAN_AXES_TRANSLATE, MAN_AXIS_RANGE_ROT_END, MAN_AXIS_RANGE_ROT_START, MAN_AXIS_ROT_C, MAN_AXIS_ROT_T, MAN_AXIS_ROT_X, MAN_AXIS_ROT_Y, MAN_AXIS_ROT_Z, MAN_AXIS_SCALE_C, MAN_AXIS_SCALE_X, MAN_AXIS_SCALE_XY, MAN_AXIS_SCALE_Y, MAN_AXIS_SCALE_YZ, MAN_AXIS_SCALE_Z, MAN_AXIS_SCALE_ZX, MAN_AXIS_TRANS_C, MAN_AXIS_TRANS_X, MAN_AXIS_TRANS_XY, MAN_AXIS_TRANS_Y, MAN_AXIS_TRANS_YZ, MAN_AXIS_TRANS_Z, MAN_AXIS_TRANS_ZX, MAN_ROT_C, MAN_ROT_X, MAN_ROT_Y, MAN_ROT_Z, MAN_SCALE_C, MAN_SCALE_X, MAN_SCALE_Y, MAN_SCALE_Z, MAN_TRANS_C, MAN_TRANS_X, MAN_TRANS_Y, MAN_TRANS_Z, min, RegionView3D::twdrawflag, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, and V3D_GIZMO_SHOW_OBJECT_TRANSLATE.
Referenced by WIDGETGROUP_gizmo_draw_prepare().
|
static |
Sets up r_start and r_len to define arrow line range. Needed to adjust line drawing for combined gizmo axis types.
Definition at line 1134 of file transform_gizmo_3d.c.
References MAN_AXES_SCALE, MAN_AXES_TRANSLATE, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, and V3D_GIZMO_SHOW_OBJECT_TRANSLATE.
Referenced by gizmo_refresh_from_matrix().
|
static |
Custom handler for gizmo widgets
Definition at line 1407 of file transform_gizmo_3d.c.
References TransformBounds::axis, C, copy_m4_m4(), CTX_wm_region(), CTX_wm_window(), wmOperator::customdata, wmGizmoGroup::customdata, ED_region_tag_redraw_editor_overlays(), ED_transform_calc_gizmo_stats(), ELEM, ListBase::first, gizmo_get_axis_type(), gizmo_orientation_axis(), gizmo_prepare_mat(), gizmo_refresh_from_matrix(), GizmoGroup::gizmos, wmGizmoGroup::gizmos, INBETWEEN_MOUSEMOVE, MAN_AXES_ROTATE, MAN_AXES_SCALE, MAN_AXIS_ROT_C, MAN_ITER_AXES_BEGIN, MAN_ITER_AXES_END, NULL, wmGizmo::op_data_len, OPERATOR_RUNNING_MODAL, wmGizmo::parent_gzgroup, wmGizmo::ptr, ARegion::regiondata, RNA_float_set(), GizmoGroup::rotation, TIMER, transform_apply_matrix(), transform_final_value_get(), transform_snap_increment_get(), RegionView3D::twmat, wmGizmoOpElem::type, wmEvent::type, update(), WM_GIZMO_HIDDEN, WM_gizmo_operator_get(), WM_gizmo_set_flag(), WM_gizmo_set_matrix_location(), and WM_operator_find_modal_by_type().
Referenced by gizmogroup_init_properties_from_twtype().
Definition at line 205 of file transform_gizmo_3d.c.
References ATTR_FALLTHROUGH, MAN_AXIS_ROT_X, MAN_AXIS_ROT_Y, MAN_AXIS_ROT_Z, MAN_AXIS_SCALE_X, MAN_AXIS_SCALE_XY, MAN_AXIS_SCALE_Y, MAN_AXIS_SCALE_YZ, MAN_AXIS_SCALE_Z, MAN_AXIS_SCALE_ZX, MAN_AXIS_TRANS_X, MAN_AXIS_TRANS_XY, MAN_AXIS_TRANS_Y, MAN_AXIS_TRANS_YZ, MAN_AXIS_TRANS_Z, and MAN_AXIS_TRANS_ZX.
Referenced by gizmo_get_axis_color(), gizmo_is_axis_visible(), gizmo_modal(), and gizmo_refresh_from_matrix().
|
static |
Definition at line 1088 of file transform_gizmo_3d.c.
References C, TransformBounds::center, copy_v3_v3(), CTX_data_gpencil_data(), CTX_data_scene(), CTX_data_view_layer(), Scene::cursor, ED_object_calc_active_center(), bGPdata::flag, GP_DATA_STROKE_EDITMODE, View3DCursor::location, TransformBounds::max, mid_v3_v3v3(), TransformBounds::min, Object::mode, NULL, OB_MODE_ALL_SCULPT, OBACT, SculptSession::pivot_pos, scene, Object::sculpt, Scene::toolsettings, ToolSettings::transform_pivot_point, RegionView3D::twmat, V3D_AROUND_ACTIVE, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, V3D_AROUND_CURSOR, and V3D_AROUND_LOCAL_ORIGINS.
Referenced by gizmo_modal(), WIDGETGROUP_gizmo_refresh(), WIDGETGROUP_xform_cage_refresh(), and WIDGETGROUP_xform_shear_refresh().
|
static |
Set properties for axes.
twmat | The transform matrix (typically RegionView3D.twmat). |
scale | Optional scale, to show scale while modally dragging the scale handles. |
Definition at line 1687 of file transform_gizmo_3d.c.
References wmGizmoGroup::customdata, ED_GIZMO_DIAL_DRAW_FLAG_ANGLE_VALUE, gizmo_get_axis_type(), gizmo_line_range(), gizmo_orientation_axis(), GizmoGroup::gizmos, len, MAN_AXES_SCALE, MAN_AXIS_RANGE_ROT_END, MAN_AXIS_RANGE_ROT_START, MAN_AXIS_RANGE_TRANS_END, MAN_AXIS_RANGE_TRANS_START, MAN_AXIS_ROT_C, MAN_AXIS_ROT_X, MAN_AXIS_ROT_Y, MAN_AXIS_ROT_Z, MAN_AXIS_SCALE_PLANE_OFFSET, MAN_AXIS_SCALE_X, MAN_AXIS_SCALE_XY, MAN_AXIS_SCALE_Y, MAN_AXIS_SCALE_YZ, MAN_AXIS_SCALE_Z, MAN_AXIS_SCALE_ZX, MAN_AXIS_TRANS_X, MAN_AXIS_TRANS_XY, MAN_AXIS_TRANS_Y, MAN_AXIS_TRANS_YZ, MAN_AXIS_TRANS_Z, MAN_AXIS_TRANS_ZX, MAN_ITER_AXES_BEGIN, MAN_ITER_AXES_END, NULL, RNA_float_set(), RNA_property_enum_get(), RNA_property_enum_set(), RNA_struct_find_property(), wmGizmo::select_bias, GizmoGroup::twtype, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, WM_GIZMO_DRAW_OFFSET_SCALE, WM_gizmo_set_flag(), WM_gizmo_set_matrix_location(), WM_gizmo_set_matrix_offset_location(), WM_gizmo_set_matrix_rotation_from_yz_axis(), and WM_gizmo_set_matrix_rotation_from_z_axis().
Referenced by gizmo_modal(), and WIDGETGROUP_gizmo_refresh().
|
static |
Definition at line 1160 of file transform_gizmo_3d.c.
References blender::compositor::area(), ARRAY_SIZE, BKE_scene_orientation_slot_get_from_flag(), BLI_assert, Scene::cursor, wmGizmoGroup::customdata, ELEM, Scene::id, bScreen::id, lock, NULL, wmMsgSubscribeValue::owner, wmGizmoGroup::parent_gzmap, RNA_id_pointer_create(), RNA_pointer_create(), scene, Scene::toolsettings, ToolSettings::transform_pivot_point, GizmoGroup::twtype_init, TransformOrientationSlot::type, GizmoGroup::use_twtype_refresh, V3D_AROUND_CURSOR, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, V3D_ORIENT_CURSOR, VIEW3D_GGT_xform_cage(), VIEW3D_GGT_xform_gizmo(), VIEW3D_GGT_xform_shear(), WM_gizmo_do_msg_notify_tag_refresh(), WM_msg_subscribe_rna(), and WM_msg_subscribe_rna_anon_prop.
Referenced by WIDGETGROUP_gizmo_message_subscribe(), WIDGETGROUP_xform_cage_message_subscribe(), and WIDGETGROUP_xform_shear_message_subscribe().
|
static |
Definition at line 1328 of file transform_gizmo_3d.c.
References ED_GIZMO_ARROW_STYLE_BOX, ED_GIZMO_ARROW_STYLE_NORMAL, ED_GIZMO_DIAL_DRAW_FLAG_CLIP, ED_GIZMO_DIAL_DRAW_FLAG_FILL, ED_GIZMO_DIAL_DRAW_FLAG_FILL_SELECT, ED_GIZMO_DIAL_DRAW_FLAG_NOP, ED_GIZMO_PRIMITIVE_STYLE_PLANE, wmGizmo::flag, GIZMO_NEW_ARROW, GIZMO_NEW_DIAL, GIZMO_NEW_PRIM, GizmoGroup::gizmos, MAN_AXIS_ROT_C, MAN_AXIS_ROT_T, MAN_AXIS_ROT_X, MAN_AXIS_ROT_Y, MAN_AXIS_ROT_Z, MAN_AXIS_SCALE_C, MAN_AXIS_SCALE_X, MAN_AXIS_SCALE_XY, MAN_AXIS_SCALE_Y, MAN_AXIS_SCALE_YZ, MAN_AXIS_SCALE_Z, MAN_AXIS_SCALE_ZX, MAN_AXIS_TRANS_C, MAN_AXIS_TRANS_X, MAN_AXIS_TRANS_XY, MAN_AXIS_TRANS_Y, MAN_AXIS_TRANS_YZ, MAN_AXIS_TRANS_Z, MAN_AXIS_TRANS_ZX, MEM_callocN, params, wmGizmo::ptr, RNA_float_set(), rotation_get_fn(), rotation_set_fn(), wmGizmo::select_bias, WM_GIZMO_SELECT_BACKGROUND, and WM_gizmotype_find().
Referenced by WIDGETGROUP_gizmo_setup().
|
static |
Definition at line 1521 of file transform_gizmo_3d.c.
References wmGizmoGroup::customdata, ED_GIZMO_ARROW_DRAW_FLAG_STEM, ELEM, GIZMO_AXIS_LINE_WIDTH, gizmo_get_axis_constraint(), gizmo_get_axis_type(), gizmo_modal(), MAN_AXES_ROTATE, MAN_AXES_SCALE, MAN_AXES_TRANSLATE, MAN_AXIS_RANGE_TRANS_END, MAN_AXIS_RANGE_TRANS_START, MAN_AXIS_ROT_C, MAN_AXIS_ROT_T, MAN_AXIS_ROT_X, MAN_AXIS_ROT_Y, MAN_AXIS_ROT_Z, MAN_AXIS_SCALE_C, MAN_AXIS_SCALE_PLANE_OFFSET, MAN_AXIS_SCALE_PLANE_SCALE, MAN_AXIS_SCALE_X, MAN_AXIS_SCALE_XY, MAN_AXIS_SCALE_Y, MAN_AXIS_SCALE_YZ, MAN_AXIS_SCALE_Z, MAN_AXIS_SCALE_ZX, MAN_AXIS_TRANS_C, MAN_AXIS_TRANS_X, MAN_AXIS_TRANS_XY, MAN_AXIS_TRANS_Y, MAN_AXIS_TRANS_YZ, MAN_AXIS_TRANS_Z, MAN_AXIS_TRANS_ZX, MAN_ITER_AXES_BEGIN, MAN_ITER_AXES_END, NULL, ptr, RNA_boolean_set(), RNA_enum_set(), RNA_property_boolean_set_array(), RNA_struct_find_property(), rotate(), GizmoGroup::twtype, UNPACK3, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, WM_GIZMO_DRAW_HOVER, WM_GIZMO_DRAW_OFFSET_SCALE, WM_GIZMO_DRAW_VALUE, WM_gizmo_operator_set(), WM_gizmo_set_flag(), WM_gizmo_set_fn_custom_modal(), WM_gizmo_set_line_width(), WM_gizmo_set_matrix_offset_location(), WM_gizmo_set_scale(), and WM_operatortype_find().
Referenced by WIDGETGROUP_gizmo_refresh(), and WIDGETGROUP_gizmo_setup().
|
static |
Definition at line 470 of file transform_gizmo_3d.c.
References MAN_ROT_X, MAN_ROT_Y, MAN_ROT_Z, MAN_SCALE_X, MAN_SCALE_Y, MAN_SCALE_Z, MAN_TRANS_X, MAN_TRANS_Y, MAN_TRANS_Z, OB_LOCK_LOCX, OB_LOCK_LOCY, OB_LOCK_LOCZ, OB_LOCK_ROTX, OB_LOCK_ROTY, OB_LOCK_ROTZ, OB_LOCK_SCALEX, OB_LOCK_SCALEY, and OB_LOCK_SCALEZ.
Referenced by ED_transform_calc_gizmo_stats(), protectflag_to_drawflags_ebone(), and protectflag_to_drawflags_pchan().
|
static |
Definition at line 516 of file transform_gizmo_3d.c.
References BONE_EDITMODE_LOCKED, EditBone::flag, OB_LOCK_LOC, OB_LOCK_ROT, OB_LOCK_SCALE, protectflag_to_drawflags(), and RegionView3D::twdrawflag.
Referenced by ED_transform_calc_gizmo_stats().
|
static |
Definition at line 504 of file transform_gizmo_3d.c.
References ELEM, bPoseChannel::protectflag, protectflag_to_drawflags(), RegionView3D::twdrawflag, V3D_ORIENT_GIMBAL, and V3D_ORIENT_LOCAL.
Referenced by ED_transform_calc_gizmo_stats().
|
static |
Definition at line 433 of file transform_gizmo_3d.c.
References TransformBounds::axis_max, TransformBounds::axis_min, TransformBounds::center, INIT_MINMAX, TransformBounds::max, TransformBounds::min, and zero_v3().
Referenced by ED_transform_calc_gizmo_stats().
|
static |
Definition at line 1316 of file transform_gizmo_3d.c.
References wmGizmoProperty::custom_func, GizmoGroup::rotation, and wmGizmoProperty::user_data.
Referenced by gizmogroup_init().
|
static |
Definition at line 1322 of file transform_gizmo_3d.c.
References wmGizmoProperty::custom_func, GizmoGroup::rotation, and wmGizmoProperty::user_data.
Referenced by gizmogroup_init().
|
static |
Definition at line 554 of file transform_gizmo_3d.c.
References ELEM, ROT_MODE_AXISANGLE, and ROT_MODE_QUAT.
Referenced by gimbal_axis_object(), and gimbal_axis_pose().
void VIEW3D_GGT_xform_cage | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 2302 of file transform_gizmo_3d.c.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, WIDGETGROUP_xform_cage_draw_prepare(), WIDGETGROUP_xform_cage_message_subscribe(), WIDGETGROUP_xform_cage_poll(), WIDGETGROUP_xform_cage_refresh(), WIDGETGROUP_xform_cage_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, WM_GIZMOGROUPTYPE_DRAW_MODAL_EXCLUDE, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by gizmo_xform_message_subscribe(), view3d_widgets(), and WIDGETGROUP_xform_cage_message_subscribe().
void VIEW3D_GGT_xform_gizmo | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 2070 of file transform_gizmo_3d.c.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::invoke_prepare, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, NULL, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, RNA_def_enum(), wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, wmGizmoGroupType::srna, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, V3D_GIZMO_SHOW_OBJECT_TRANSLATE, WIDGETGROUP_gizmo_draw_prepare(), WIDGETGROUP_gizmo_invoke_prepare(), WIDGETGROUP_gizmo_message_subscribe(), WIDGETGROUP_gizmo_poll_tool(), WIDGETGROUP_gizmo_refresh(), WIDGETGROUP_gizmo_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by gizmo_xform_message_subscribe(), view3d_widgets(), and WIDGETGROUP_gizmo_message_subscribe().
void VIEW3D_GGT_xform_gizmo_context | ( | struct wmGizmoGroupType * | gzgt | ) |
Only poll, flag & gzmap_params differ.
Definition at line 2104 of file transform_gizmo_3d.c.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::invoke_prepare, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_gizmo_draw_prepare(), WIDGETGROUP_gizmo_invoke_prepare(), WIDGETGROUP_gizmo_message_subscribe(), WIDGETGROUP_gizmo_poll_context(), WIDGETGROUP_gizmo_refresh(), WIDGETGROUP_gizmo_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, WM_GIZMOGROUPTYPE_PERSISTENT, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by view3d_widgets().
void VIEW3D_GGT_xform_shear | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 2538 of file transform_gizmo_3d.c.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, WIDGETGROUP_xform_shear_draw_prepare(), WIDGETGROUP_xform_shear_message_subscribe(), WIDGETGROUP_xform_shear_poll(), WIDGETGROUP_xform_shear_refresh(), WIDGETGROUP_xform_shear_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, WM_GIZMOGROUPTYPE_DRAW_MODAL_EXCLUDE, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by gizmo_xform_message_subscribe(), view3d_widgets(), and WIDGETGROUP_xform_shear_message_subscribe().
|
static |
Definition at line 1849 of file transform_gizmo_3d.c.
References GizmoGroup::all_hidden, TransformBounds::axis, BKE_scene_orientation_slot_get_from_flag(), C, color, copy_m3_m4(), CTX_data_scene(), CTX_wm_region(), wmGizmoGroup::customdata, ED_view3d_pixel_size(), equals_m3m3(), fabsf, gizmo_get_axis_color(), gizmo_get_axis_type(), gizmo_get_idot(), gizmo_is_axis_visible(), ARegion::gizmo_map, MAN_AXIS_ROT_C, MAN_AXIS_ROT_T, MAN_AXIS_SCALE_C, MAN_AXIS_TRANS_C, MAN_ITER_AXES_BEGIN, MAN_ITER_AXES_END, wmGizmo::parent_gzgroup, GizmoGroup::prev, ARegion::regiondata, scene, RegionView3D::twmat, GizmoGroup::twtype, GizmoGroup::twtype_init, TransformOrientationSlot::type, V3D_ORIENT_VIEW, RegionView3D::viewinv, GizmoGroup::viewinv_m3, WIDGETGROUP_gizmo_refresh(), WM_GIZMO_HIDDEN, WM_gizmo_set_color(), WM_gizmo_set_color_highlight(), WM_gizmo_set_flag(), WM_gizmo_set_matrix_rotation_from_z_axis(), and WM_gizmomap_get_modal().
Referenced by VIEW3D_GGT_xform_gizmo(), and VIEW3D_GGT_xform_gizmo_context().
|
static |
Definition at line 1933 of file transform_gizmo_3d.c.
References ARRAY_SIZE, TransformBounds::axis, BKE_scene_orientation_slot_get_from_flag(), BKE_scene_orientation_slot_get_index(), BLI_array_findindex, BLI_assert, C, CTX_data_scene(), CTX_wm_region(), wmGizmoGroup::customdata, ED_GIZMO_DIAL_DRAW_FLAG_ANGLE_VALUE, ELEM, gizmo_3d_dial_matrixbasis_calc(), gizmo_get_axis_type(), GizmoGroup::gizmos, KM_SHIFT, MAN_AXES_ROTATE, MAN_AXIS_ROT_C, MAN_AXIS_ROT_T, MAN_AXIS_ROT_X, MAN_AXIS_ROT_Y, MAN_AXIS_ROT_Z, MAN_AXIS_SCALE_X, MAN_AXIS_SCALE_Y, MAN_AXIS_SCALE_Z, MAN_AXIS_TRANS_X, MAN_AXIS_TRANS_Y, MAN_AXIS_TRANS_Z, wmGizmo::matrix_basis, Scene::orientation_slots, wmGizmoOpElem::ptr, wmGizmo::ptr, ptr, RNA_float_set(), RNA_property_boolean_set_array(), RNA_property_enum_get(), RNA_property_enum_set(), RNA_property_unset(), RNA_struct_find_property(), SCE_ORIENT_DEFAULT, scene, GizmoGroup::twtype_init, and WM_gizmo_operator_get().
Referenced by VIEW3D_GGT_xform_gizmo(), and VIEW3D_GGT_xform_gizmo_context().
|
static |
Definition at line 1837 of file transform_gizmo_3d.c.
References blender::compositor::area(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), CTX_wm_screen(), gizmo_xform_message_subscribe(), scene, and VIEW3D_GGT_xform_gizmo().
Referenced by VIEW3D_GGT_xform_gizmo(), and VIEW3D_GGT_xform_gizmo_context().
|
static |
Definition at line 2023 of file transform_gizmo_3d.c.
References blender::compositor::area(), C, CTX_wm_area(), View3D::gizmo_flag, bToolRef_Runtime::gizmo_group, View3D::gizmo_show_object, bToolRef::runtime, V3D_GIZMO_HIDE_CONTEXT, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, V3D_GIZMO_SHOW_OBJECT_TRANSLATE, and WIDGETGROUP_gizmo_poll_generic().
Referenced by VIEW3D_GGT_xform_gizmo_context().
Definition at line 2012 of file transform_gizmo_3d.c.
References G, G_TRANSFORM_EDIT, G_TRANSFORM_OBJ, View3D::gizmo_flag, and V3D_GIZMO_HIDE.
Referenced by WIDGETGROUP_gizmo_poll_context(), and WIDGETGROUP_gizmo_poll_tool().
|
static |
Definition at line 2048 of file transform_gizmo_3d.c.
References blender::compositor::area(), C, CTX_wm_area(), ED_gizmo_poll_or_unlink_delayed_from_tool(), View3D::gizmo_flag, V3D_GIZMO_HIDE_TOOL, and WIDGETGROUP_gizmo_poll_generic().
Referenced by VIEW3D_GGT_xform_gizmo().
|
static |
Definition at line 1794 of file transform_gizmo_3d.c.
References GizmoGroup::all_hidden, blender::compositor::area(), BKE_scene_orientation_get_index_from_flag(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), wmGizmoGroup::customdata, ED_transform_calc_gizmo_stats(), ARegion::gizmo_map, gizmo_prepare_mat(), gizmo_refresh_from_matrix(), View3D::gizmo_show_object, gizmogroup_init_properties_from_twtype(), NULL, wmGizmo::parent_gzgroup, ARegion::regiondata, scene, RegionView3D::twmat, GizmoGroup::twtype, GizmoGroup::twtype_init, GizmoGroup::twtype_prev, GizmoGroup::use_twtype_refresh, and WM_gizmomap_get_modal().
Referenced by VIEW3D_GGT_xform_gizmo(), VIEW3D_GGT_xform_gizmo_context(), and WIDGETGROUP_gizmo_draw_prepare().
|
static |
Definition at line 1642 of file transform_gizmo_3d.c.
References blender::compositor::area(), BLI_assert, C, CTX_wm_area(), wmGizmoGroup::customdata, gizmogroup_init(), gizmogroup_init_properties_from_twtype(), bToolRef::idname, STREQ, GizmoGroup::twtype, GizmoGroup::twtype_init, GizmoGroup::use_twtype_refresh, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, and V3D_GIZMO_SHOW_OBJECT_TRANSLATE.
Referenced by VIEW3D_GGT_xform_gizmo(), and VIEW3D_GGT_xform_gizmo_context().
|
static |
Definition at line 2278 of file transform_gizmo_3d.c.
References BKE_scene_orientation_slot_get(), C, copy_m3_m4(), CTX_data_scene(), CTX_wm_region_view3d(), wmGizmoGroup::customdata, equals_m3m3(), XFormCageWidgetGroup::prev, SCE_ORIENT_SCALE, scene, TransformOrientationSlot::type, V3D_ORIENT_VIEW, RegionView3D::viewinv, XFormCageWidgetGroup::viewinv_m3, and WIDGETGROUP_xform_cage_refresh().
Referenced by VIEW3D_GGT_xform_cage().
|
static |
Definition at line 2267 of file transform_gizmo_3d.c.
References blender::compositor::area(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), CTX_wm_screen(), gizmo_xform_message_subscribe(), scene, and VIEW3D_GGT_xform_cage().
Referenced by VIEW3D_GGT_xform_cage().
|
static |
Definition at line 2135 of file transform_gizmo_3d.c.
References C, CTX_wm_view3d(), ED_gizmo_poll_or_unlink_delayed_from_tool(), G, G_TRANSFORM_EDIT, G_TRANSFORM_OBJ, View3D::gizmo_flag, V3D_GIZMO_HIDE, and V3D_GIZMO_HIDE_TOOL.
Referenced by VIEW3D_GGT_xform_cage().
|
static |
Definition at line 2194 of file transform_gizmo_3d.c.
References BKE_scene_orientation_get_index_from_flag(), C, center, copy_m3_m4(), copy_m4_m3(), copy_m4_m4(), CTX_data_scene(), CTX_wm_region(), wmGizmoGroup::customdata, ED_GIZMO_CAGE3D_PART_SCALE_MIN_X_MIN_Y_MIN_Z, ED_transform_calc_gizmo_stats(), equals_v3v3(), float(), XFormCageWidgetGroup::gizmo, gizmo_prepare_mat(), wmGizmo::matrix_offset, TransformBounds::matrix_space, wmGizmo::matrix_space, mid_v3_v3v3(), mul_m3_v3(), mul_m4_m4m4(), mul_v3_fl(), mul_v3_m4v3(), NULL, XFormCageWidgetGroup::prev, wmGizmoOpElem::ptr, wmGizmo::ptr, ARegion::regiondata, RNA_float_set_array(), RNA_property_float_set_array(), RNA_struct_find_property(), SCE_ORIENT_SCALE, scene, sub_v3_v3v3(), RegionView3D::tw_axis_matrix, RegionView3D::tw_axis_max, RegionView3D::tw_axis_min, unit_m4(), TransformBounds::use_matrix_space, RegionView3D::viewinv, XFormCageWidgetGroup::viewinv_m3, WM_GIZMO_HIDDEN, WM_GIZMO_MOVE_CURSOR, WM_gizmo_operator_get(), WM_gizmo_set_flag(), x, y, and z.
Referenced by VIEW3D_GGT_xform_cage(), and WIDGETGROUP_xform_cage_draw_prepare().
|
static |
Definition at line 2150 of file transform_gizmo_3d.c.
References wmGizmo::color, wmGizmo::color_hi, wmGizmoGroup::customdata, ED_GIZMO_CAGE2D_XFORM_FLAG_SCALE, ED_GIZMO_CAGE2D_XFORM_FLAG_TRANSLATE, ED_GIZMO_CAGE3D_PART_SCALE_MIN_X_MIN_Y_MIN_Z, XFormCageWidgetGroup::gizmo, MEM_mallocN, NULL, wmGizmo::ptr, ptr, RNA_enum_set(), RNA_property_boolean_set(), RNA_property_boolean_set_array(), RNA_struct_find_property(), WM_gizmo_new_ptr(), WM_gizmo_operator_set(), WM_gizmotype_find(), WM_operatortype_find(), x, y, and z.
Referenced by VIEW3D_GGT_xform_cage().
|
static |
Definition at line 2476 of file transform_gizmo_3d.c.
References BKE_scene_orientation_slot_get(), BLI_listbase_sort(), C, copy_m3_m4(), copy_v3_v3(), CTX_data_scene(), CTX_wm_region_view3d(), wmGizmoGroup::customdata, dot_v3v3(), equals_m3m3(), XFormShearWidgetGroup::gizmo_view, wmGizmoGroup::gizmos, LISTBASE_FOREACH, madd_v3_v3fl(), wmGizmo::matrix_basis, wmGizmo::matrix_offset, mul_v3_fl(), negate_v3(), XFormShearWidgetGroup::prev, SCE_ORIENT_ROTATE, scene, RegionView3D::twmat, TransformOrientationSlot::type, V3D_ORIENT_VIEW, RegionView3D::viewinv, XFormShearWidgetGroup::viewinv_m3, WIDGETGROUP_xform_shear_refresh(), WM_gizmo_cmp_temp_fl_reverse(), WM_gizmo_set_matrix_location(), and WM_gizmo_set_matrix_rotation_from_yz_axis().
Referenced by VIEW3D_GGT_xform_shear().
|
static |
Definition at line 2464 of file transform_gizmo_3d.c.
References blender::compositor::area(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), CTX_wm_screen(), gizmo_xform_message_subscribe(), scene, and VIEW3D_GGT_xform_shear().
Referenced by VIEW3D_GGT_xform_shear().
|
static |
Definition at line 2338 of file transform_gizmo_3d.c.
References C, CTX_wm_view3d(), ED_gizmo_poll_or_unlink_delayed_from_tool(), View3D::gizmo_flag, V3D_GIZMO_HIDE, and V3D_GIZMO_HIDE_TOOL.
Referenced by VIEW3D_GGT_xform_shear().
|
static |
Definition at line 2398 of file transform_gizmo_3d.c.
References TransformBounds::axis, BKE_scene_orientation_slot_get_from_flag(), BKE_scene_orientation_slot_get_index(), C, copy_m3_m4(), CTX_data_scene(), CTX_wm_region(), wmGizmoGroup::customdata, ED_transform_calc_gizmo_stats(), XFormShearWidgetGroup::gizmo, gizmo_prepare_mat(), XFormShearWidgetGroup::gizmo_view, wmGizmo::matrix_basis, mul_v3_fl(), XFormShearWidgetGroup::prev, wmGizmoOpElem::ptr, ARegion::regiondata, RNA_enum_set(), RNA_float_set_array(), SCE_ORIENT_ROTATE, scene, RegionView3D::twmat, TransformOrientationSlot::type, RegionView3D::viewinv, XFormShearWidgetGroup::viewinv_m3, WM_GIZMO_HIDDEN, WM_GIZMO_MOVE_CURSOR, WM_gizmo_operator_get(), WM_gizmo_set_flag(), WM_gizmo_set_matrix_location(), and WM_gizmo_set_matrix_rotation_from_yz_axis().
Referenced by VIEW3D_GGT_xform_shear(), and WIDGETGROUP_xform_shear_draw_prepare().
|
static |
Definition at line 2350 of file transform_gizmo_3d.c.
References wmGizmo::color, copy_v3_fl(), wmGizmoGroup::customdata, ED_GIZMO_ARROW_STYLE_BOX, XFormShearWidgetGroup::gizmo, XFormShearWidgetGroup::gizmo_view, interp_v3_v3v3(), MEM_mallocN, NULL, wmGizmoOpElem::ptr, wmGizmo::ptr, ptr, RNA_boolean_set(), RNA_enum_set(), TH_AXIS_X, UI_GetThemeColor3fv(), V3D_ORIENT_VIEW, WM_GIZMO_DRAW_OFFSET_SCALE, WM_gizmo_new_ptr(), WM_gizmo_operator_get(), WM_gizmo_operator_set(), WM_gizmo_set_flag(), WM_gizmotype_find(), and WM_operatortype_find().
Referenced by VIEW3D_GGT_xform_shear().
struct { ... } g_tw_axis_range[2] |
Referenced by gizmo_get_axis_color(), and gizmo_is_axis_visible().
Definition at line 96 of file transform_gizmo_3d.c.
Referenced by blender::nodes::node_geo_duplicate_elements_cc::accumulate_counts_to_offsets(), actkeys_previewrange_exec(), actkeys_viewall(), btAxisSweep3Internal< BP_FP_INT_TYPE >::addHandle(), Freestyle::AppView::AddModel(), GHOST_WindowWin32::adjustWindowRectForClosestMonitor(), AdaptiveSampling::align_samples(), PathTraceWorkGPU::alloc_integrator_soa(), PathTraceWorkGPU::alloc_integrator_sorting(), FallbackTransform::applyRGB(), Freestyle::AppView::AppView(), arg_handle_python_exit_code_set(), arg_handle_threads_set(), arrayModifier_doArray(), Freestyle::OccluderSource::averageOccluderArea(), bake_clamp_mirror_repeat(), bake_offset_towards_center(), bevelinside(), BKE_boundbox_init_from_minmax(), BKE_curve_boundbox_get(), BKE_curve_center_bounds(), BKE_curve_minmax(), BKE_curve_texspace_calc(), BKE_curves_boundbox_get(), BKE_displist_minmax(), BKE_editmesh_cache_calc_minmax(), BKE_editmesh_cage_boundbox_get(), BKE_fcurve_calc_range(), BKE_gpencil_centroid_3d(), BKE_lattice_center_bounds(), BKE_lattice_minmax(), BKE_lattice_minmax_dl(), BKE_mask_spline_feather_collapse_inner_loops(), BKE_mball_center_bounds(), BKE_mball_minmax(), BKE_mball_minmax_ex(), BKE_mball_texspace_calc(), BKE_mesh_boundbox_get(), BKE_mesh_center_bounds(), BKE_mesh_minmax(), BKE_mesh_texspace_calc(), BKE_mesh_wrapper_minmax(), BKE_nlastrip_within_bounds(), BKE_nurb_minmax(), BKE_object_boundbox_calc_from_evaluated_geometry(), BKE_object_boundbox_calc_from_mesh(), BKE_object_minmax_empty_drawtype(), BKE_pbvh_bounding_box(), BKE_pchan_minmax(), BKE_pointcloud_boundbox_get(), BKE_tracking_marker_pattern_minmax(), BKE_volume_boundbox_get(), blender_camera_from_object(), Freestyle::BlenderStrokeRenderer::BlenderStrokeRenderer(), blf_charcode_to_unicode_block(), BLI_convexhull_aabb_fit_hull_2d(), BLI_uuid_generate_random(), bm_corners_to_loops_ex(), BM_face_calc_bounds_expand(), BM_face_calc_center_bounds(), BM_face_calc_center_bounds_vcos(), BM_face_uv_minmax(), bm_vert_pair_best_face_get(), bm_vert_pair_share_best_splittable_face_cb(), bmo_average_vert_facedata_exec(), bmo_collapsecon_do_layer(), boundbox_armature(), boundbox_gpencil(), boundbox_lattice(), Hair::Curve::bounds_grow(), Spline::bounds_min_max(), CurveEval::bounds_min_max(), blender::bke::CurvesGeometry::bounds_min_max(), box_minmax_bounds_m4(), BPy_BMElem_PySeq_As_Array(), BPy_BMElem_PySeq_As_Array_FAST(), BPy_FloatProperty(), BPy_FloatVectorProperty(), BPy_IntProperty(), BPy_IntVectorProperty(), brush_edit_init(), bsdf_microfacet_multi_ggx_glass_fresnel_setup(), bsdf_microfacet_multi_ggx_glass_sample(), bsdf_microfacet_multi_ggx_glass_setup(), bsdf_oren_nayar_get_intensity(), bsdf_principled_hair_sample(), blender::ui::GridViewLayoutBuilder::build_from_view(), blender::deg::DepsgraphNodeBuilder::build_object(), blender::compositor::KeyingScreenOperation::build_voronoi_triangulation(), bundle_midpoint(), BVH(), bvh_aligned_node_intersect(), bvh_unaligned_node_intersect_child(), calc_action_range(), Subpatch::calc_num_inner_verts(), Subpatch::calc_num_triangles(), calc_ortho_extent(), calculate_basis_for_point(), blender::bke::curves::nurbs::calculate_basis_for_point(), calculate_collision_balls(), blender::bke::curves::catmull_rom::calculate_evaluated_num(), calculate_mappings_linear_resolution(), RenderScheduler::calculate_num_samples_per_update(), calculate_resolution_divider_for_resolution(), blender::nodes::node_geo_curve_to_points_cc::calculate_spline_point_offsets(), calculateCenterBound(), Freestyle::GridDensityProvider::calculateQuickProscenium(), blender::nodes::node_shader_tex_gradient_cc::GradientFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiMinowskiFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiMetricFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiEdgeFunction::call(), Hair::Curve::cardinal_keys_for_step(), Clamp(), clamp_axis_max_v3(), clamp_f(), clamp_float_to_int(), clamp_i(), blender::nodes::node_shader_map_range_cc::clamp_range(), clamp_v2(), clamp_v2_v2v2(), clamp_v3(), clamp_v3_v3v3(), clamp_v4(), clamp_v4_v4v4(), clamp_z(), clampis_uint(), clip_uv_transform_resize(), clip_uv_transform_translation(), clip_view_calculate_view_selection(), SVMCompiler::CompilerState::CompilerState(), btConvexHullInternal::compute(), GeometrySet::compute_boundbox_without_instances(), blender::fn::compute_grain_size(), BVHUnaligned::compute_node_transform(), blender::LoadFactor::compute_total_and_usable_slots(), BlackbodyNode::constant_fold(), ClampNode::constant_fold(), constants_calc_size(), BVHBuild::create_leaf_node(), BVHBuild::create_object_leaf_nodes(), blender::nodes::node_geo_curve_primitive_spiral_cc::create_spiral_curve(), create_subd_mesh(), GeometryManager::create_volume_mesh(), Freestyle::crossesProscenium(), CubeTriangleIsect::CubeTriangleIsect(), cuboid_do(), curvebounds(), curvemap_minmax_curve(), curvemapping_float_to_array(), CustomData_data_dominmax(), CustomData_data_initminmax(), D_ggx(), D_ggx_aniso(), Freestyle::AppView::DetachModel(), blender::compositor::PlaneDistortWarpImageOperation::determine_depending_area_of_interest(), device_only_memory< T >::device_only_memory(), LightManager::device_update_background(), LightManager::device_update_points(), diagonalize(), QuadDice::dice(), direction_to_mirrorball(), dirty_mask_apply_task_cb(), dist_to_rect(), distribute_grid(), do_2d_mapping(), blender::io::usd::USDVolumeWriter::do_write(), draw_distortion(), draw_spline_points(), DRW_culling_min_max_test(), DRW_debug_m4_as_bbox(), drw_sculpt_generate_calls(), blender::nodes::node_geo_duplicate_elements_cc::duplicate_curves(), blender::nodes::node_geo_duplicate_elements_cc::duplicate_faces(), dynamic_paint_create_uv_surface_direct_cb(), dynamicPaint_createUVSurface(), ED_armature_origin_set(), ED_gizmo_arrow3d_set_ui_range(), ED_gpencil_layer_frames_select_box(), ED_markers_get_minmax(), ED_mask_selected_minmax(), ED_masklayer_frames_select_box(), ED_uvedit_center_multi(), ED_view3d_clipping_clamp_minmax(), edbm_point_normals_modal(), edge_pan_speed(), eevee_lightprobes_culling_test(), EEVEE_shadows_caster_register(), MEM_CacheLimiter< T >::enforce_limits(), PathTraceWorkGPU::enqueue_work_tiles(), libmv::euclidean_resection::EuclideanResectionEPnP(), libmv::euclidean_resection::EuclideanResectionPPnP(), BezierSpline::evaluated_positions(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::io::alembic::export_startjob(), blender::io::usd::export_startjob(), fcm_envelope_evaluate(), blender::geometry::find_curve_neighbors(), float4_to_half4_display(), blender::bke::float_to_int8(), float_uint(), libmv::FloatArrayToScaledByteArray(), blender::nodes::node_fn_value_to_string_cc::fn_node_value_to_string_build_multi_function(), foreach_sliced_buffer_params(), blender::ed::space_node::frame_node_prepare_for_draw(), fresnel_dielectric(), libmv::FundamentalToEssential(), generate_bounding_box_mesh(), VolumeMeshBuilder::generate_vertices_and_quads(), Integrator::get_adaptive_sampling(), blender::compositor::PlaneDistortWarpImageOperation::get_area_of_interest(), BlenderSync::get_buffer_params(), blender::geometry::get_count_input_from_length(), blender::geometry::get_count_input_max_one(), Session::get_estimated_remaining_time(), blender::string_search::get_fuzzy_match_errors(), get_index_column_width(), get_keyframe_extents(), Scene::get_max_closure_count(), blender::io::alembic::get_min_max_time(), blender::io::alembic::get_min_max_time_ex(), Device::get_multi_device(), get_nlastrip_extents(), RenderScheduler::get_num_samples_to_path_trace(), blender::nodes::node_geo_string_to_curves_cc::get_pivot_point(), RenderScheduler::get_render_work(), BlenderSync::get_session_params(), blender::nodes::node_geo_string_to_curves_cc::get_text_layout(), TileManager::get_tile_for_index(), blender::nodes::node_geo_input_mesh_face_is_planar_cc::PlanarFieldInput::get_varray_for_context(), Subpatch::get_vert_along_grid_edge(), blender::io::alembic::get_weight_and_index(), GHOST_SystemWayland::getAllDisplayDimensions(), Freestyle::Geometry::Polygon< Point >::getBBox(), Freestyle::AppView::GetFocalLength(), BVHNode::getSubtreeSize(), CBlendThumb::GetThumbnail(), gizmo2d_xform_invoke_prepare(), gizmo_value_from_offset(), gpencil_find_end_of_stroke_idx(), GPENCIL_OT_vertex_color_brightness_contrast(), gpencil_snap_cursor_to_sel(), blender::nodes::node_shader_math_cc::gpu_shader_math(), blender::nodes::node_shader_mix_rgb_cc::gpu_shader_mix_rgb(), graphkeys_previewrange_exec(), grid_axis_start_and_count(), BoundBox::grow(), BoundBox::grow_safe(), RenderScheduler::guess_display_update_interval_in_seconds_for_num_samples(), idprop_ui_data_update_float(), idprop_ui_data_update_int(), image_view_selected_exec(), IMB_colormanagement_blackbody_temperature_to_rgb_table(), IMB_exr_add_channel(), IMB_exr_channel_rect(), import_startjob(), Freestyle::GeomUtils::include2dSeg2dArea(), iTaSC::WSDLSSolver::init(), iTaSC::WDLSSolver::init(), initTimeSlide(), InnerNode::InnerNode(), Freestyle::Grid::insertOccluder(), blender::bke::int_to_int8(), integrate_shadow_max_transparent_hits(), intersect(), BoundBox::intersect(), Freestyle::GeomUtils::intersect2dSeg2dArea(), invert_m4_m4_fallback(), libmv::InvertNukeDistortionModel(), isect_aabb_v3(), isect_tri_tri_v3_ex(), kdtree2d_isect_tri(), kdtree2d_isect_tri_recursive(), kernel_embree_filter_occluded_func(), kernel_ies_interp(), Hair::Curve::keys_for_step(), layerDoMinMax_mloop_origspace(), layerDoMinMax_mloopcol(), layerDoMinMax_mloopuv(), layerDoMinMax_propcol(), layerInitMinMax_mloop_origspace(), layerInitMinMax_mloopcol(), layerInitMinMax_mloopuv(), layerInitMinMax_propcol(), light_spread_attenuation(), light_spread_clamp_area_light(), linear_solver_ensure_matrix_construct(), OIIOImageLoader::load_metadata(), markers_selectkeys_between(), mask_filter_task_cb(), match_texture_space_exec(), math_trimatrix_cholesky(), math_vector_max(), mathutils_rna_vector_set(), mv::Tracks::MaxClip(), mv::Tracks::MaxFrame(), libmv::Tracks::MaxImage(), mv::Tracks::MaxTrack(), libmv::Tracks::MaxTrack(), merge(), mesh_init_origspace(), mf_eval_phase_glass(), mf_eval_phase_glossy(), mf_ggx_aniso_pdf(), mf_ggx_pdf(), mf_glass_pdf(), mf_lambda(), mf_sampleP22_11(), libmv::Dogleg< Function, Jacobian, Solver >::minimize(), libmv::LevenbergMarquardt< Function, Jacobian, Solver >::minimize(), minmax_v2v2_v2(), minmax_v3_v3v3(), minmax_v3v3_v3(), minmax_v4v4_v4(), blender::gpu::MTLTexture::mip_range_set(), blender::gpu::GLTexture::mip_range_set(), mirrorball_to_direction(), blender::color::mix_colorburn(), blender::color::mix_linearburn(), blender::color::mix_linearlight(), blender::color::mix_pinlight(), blender::color::mix_screen(), blender::color::mix_vividlight(), modifyMesh(), mouse_on_rect(), nlaedit_previewrange_exec(), NODE_DEFINE(), blender::nodes::node_geo_attribute_statistic_cc::node_geo_exec(), blender::nodes::node_geo_bounding_box_cc::node_geo_exec(), blender::nodes::node_geo_curve_primitive_arc_cc::node_geo_exec(), blender::nodes::node_geo_curve_primitive_bezier_segment_cc::node_geo_exec(), blender::nodes::node_geo_curve_primitive_circle_cc::node_geo_exec(), blender::nodes::node_geo_curve_primitive_quadratic_bezier_cc::node_geo_exec(), blender::nodes::node_geo_curve_primitive_quadrilateral_cc::node_geo_exec(), blender::nodes::node_geo_curve_primitive_spiral_cc::node_geo_exec(), blender::nodes::node_geo_curve_primitive_star_cc::node_geo_exec(), blender::nodes::node_geo_mesh_primitive_line_cc::node_geo_exec(), blender::nodes::node_geo_mesh_to_points_cc::node_geo_exec(), blender::nodes::node_geo_triangulate_cc::node_geo_exec(), blender::ed::space_node::node_get_selected_minmax(), blender::ed::space_node::node_group_make_from_selected(), blender::ed::space_node::node_group_make_insert_selected(), blender::ed::space_node::node_link_dim_factor(), node_shader_gpu_tex_mapping(), blender::dot::NodeWithSocketsRef::NodeWithSocketsRef(), object_motion_steps(), object_origin_set_exec(), object_warp_transverts(), object_warp_transverts_minmax_x(), object_warp_verts_exec(), Freestyle::BoxGrid::OccluderData::OccluderData(), blender::draw::overhang_remap(), Freestyle::GeomUtils::overlapTriangleBox(), OVERLAY_bounds(), PAINT_OT_vertex_color_brightness_contrast(), paint_stroke_integrate_overlap(), parse_int_clamp(), parse_int_range_relative_clamp(), parse_int_range_relative_clamp_n(), parse_int_relative_clamp(), parse_int_strict_range(), particle_intersect_mesh(), particle_system_minmax(), particles_fluid_step(), pchan_culling_calc_bsphere(), PE_minmax(), point_density_texture_space(), pose_brush_grow_factor_task_cb_ex(), DiagSplit::post_split(), mv::PredictMarkerPosition(), project_paint_bucket_bounds(), project_paint_delayed_face_init(), prop_subscript_ass_array_slice__float_recursive(), prop_subscript_ass_array_slice__int_recursive(), radial_control_invoke(), BVHBuild::range_within_max_leaf_size(), ratiod(), ratiof(), ray_triangle_intersect(), ray_triangle_intersect_self(), RB_shape_trimesh_update(), RE_point_density_sample(), rect_clip(), rect_light_sample(), btAxisSweep3Internal< BP_FP_INT_TYPE >::removeHandle(), RenderScheduler::render_work_reschedule_on_idle(), blender::bke::calc_edges::reserve_hash_maps(), DualConInputReader::reset(), rgb_to_hsl(), rgb_to_hsv(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_property_float_clamp(), RNA_property_int_clamp(), Session::run_update_for_next_iteration(), blender::geometry::ReverseUVSampler::sample(), sample_cos_hemisphere(), blender::nodes::node_geo_distribute_points_on_faces_cc::sample_mesh_surface(), sample_uniform_hemisphere(), scale_buffer_params(), QuadDice::scale_factor(), scopes_update_cb(), scopes_update_reduce(), screen_geom_area_map_find_active_scredge(), screen_geom_vertices_scale_pass(), select_cache_populate(), selected_boundbox(), blender::io::gpencil::GpencilIO::selected_objects_boundbox_calc(), selected_tracking_boundbox(), libmv::SelectKeyframesBasedOnGRICAndVariance(), SEQ_time_update_meta_strip_range(), seq_view_collection_rect_preview(), session_print(), blender::bke::set_spline_resolution(), HdCyclesDelegate::SetRenderSetting(), blender::nodes::node_shader_clamp_cc::sh_node_clamp_build_multi_function(), shader_bsdf_alpha(), shader_prepare_surface_closures(), shader_setup_from_curve(), shadow_ray_smooth_surface_offset(), shift_cos_in(), blender::nodes::node_geo_input_shortest_edge_paths_cc::shortest_paths(), smoothmin(), snap_bound_box_check_dist(), snap_curs_to_sel_ex(), soft_range_round_down(), soft_range_round_up(), spline_under_mouse_get(), SVMCompiler::stack_find_offset(), blender::draw::statvis_calc_distort(), blender::draw::statvis_calc_overhang(), blender::draw::statvis_calc_sharp(), blender::draw::statvis_calc_thickness(), EdgeDice::stitch_triangles(), subsurface_random_walk(), svm_brightness_contrast(), svm_mix_light(), svm_node_blackbody(), svm_node_clamp(), svm_node_curve(), svm_node_hsv(), svm_node_min_max(), svm_node_normal_map(), svm_node_principled_volume(), svm_node_set_bump(), svm_node_wavelength(), svm_vector_math(), Mesh::tessellate(), TEST(), blender::bke::tests::TEST(), blender::tests::TEST(), blender::io::serialize::json::testing::TEST(), text_cursor_set_to_pos_wrapped(), text_get_cursor_rel(), blender::draw::thickness_remap(), tile_calculate_best_size(), transform_decompose(), triangle_light_pdf(), triangle_light_sample(), blender::nodes::try_dispatch_float_math_fl3_fl3_to_fl3(), blender::nodes::try_dispatch_float_math_fl_fl_to_fl(), txt_wrap_move_bol(), txt_wrap_move_eol(), ui_def_but(), ui_def_but_rna(), ui_def_but_rna_propname(), ui_draw_but_HSV_v(), ui_handle_list_event(), ui_numedit_but_HSVCUBE(), ui_selectcontext_apply(), uiDefBut(), uiDefButBit(), uiDefButBitC(), uiDefButBitI(), uiDefButBitS(), uiDefButC(), uiDefButF(), uiDefButI(), uiDefButR(), uiDefButR_prop(), uiDefButS(), uiDefIconBut(), uiDefIconButBit(), uiDefIconButBitC(), uiDefIconButBitI(), uiDefIconButBitS(), uiDefIconButI(), uiDefIconButR(), uiDefIconButR_prop(), uiDefIconButS(), uiDefIconTextBut(), uiDefIconTextButF(), uiDefIconTextButI(), uiDefIconTextButR(), uiDefIconTextButR_prop(), blender::nodes::node_geo_distribute_points_on_faces_cc::update_elimination_mask_based_on_density_factors(), RenderScheduler::update_start_resolution_divider(), BVHNode::update_time(), btAxisSweep3Internal< BP_FP_INT_TYPE >::updateHandle(), iTaSC::Armature::updateJoint(), util_hash_to_float(), util_image_resize_pixels(), uv_map_clip_correct_multi(), uv_weld_align(), version_idproperty_move_data_float(), version_idproperty_move_data_int(), view3d_all_exec(), view3d_boundbox_clip_m4(), view3d_from_minmax(), view3d_from_minmax_multi(), view3d_localview_init(), view3d_object_calc_minmax(), viewselected_exec(), blender::noise::voronoi_distance(), voronoi_distance_2d(), voronoi_distance_3d(), voronoi_distance_4d(), WIDGETGROUP_camera_refresh(), wm_software_cursor_draw(), RenderScheduler::work_adaptive_threshold(), Camera::world_to_raster_size(), wrap(), wrapf(), xml_read_mesh(), xyz_to_rgb_clamped(), Freestyle::AppView::zfar(), and Freestyle::AppView::znear().
Definition at line 96 of file transform_gizmo_3d.c.
Referenced by gizmo_is_axis_visible().