Blender
V3.3
|
#include "DNA_scene_types.h"
Go to the source code of this file.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_ARROW_STYLE_NORMAL | |
ED_GIZMO_ARROW_STYLE_CROSS | |
ED_GIZMO_ARROW_STYLE_BOX | |
ED_GIZMO_ARROW_STYLE_CONE |
Definition at line 63 of file ED_gizmo_library.h.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_ARROW_XFORM_FLAG_INVERTED | |
ED_GIZMO_ARROW_XFORM_FLAG_CONSTRAINED |
Definition at line 71 of file ED_gizmo_library.h.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_ARROW_DRAW_FLAG_STEM |
Definition at line 79 of file ED_gizmo_library.h.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_CAGE2D_XFORM_FLAG_TRANSLATE | |
ED_GIZMO_CAGE2D_XFORM_FLAG_ROTATE | |
ED_GIZMO_CAGE2D_XFORM_FLAG_SCALE | |
ED_GIZMO_CAGE2D_XFORM_FLAG_SCALE_UNIFORM | |
ED_GIZMO_CAGE2D_XFORM_FLAG_SCALE_SIGNED |
Definition at line 100 of file ED_gizmo_library.h.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_CAGE2D_STYLE_BOX | |
ED_GIZMO_CAGE2D_STYLE_CIRCLE |
Definition at line 109 of file ED_gizmo_library.h.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_CAGE2D_DRAW_FLAG_XFORM_CENTER_HANDLE | Draw a central handle (instead of having the entire area selectable) Needed for large rectangles that we don't want to swallow all events. |
Definition at line 115 of file ED_gizmo_library.h.
anonymous enum |
Definition at line 122 of file ED_gizmo_library.h.
anonymous enum |
Definition at line 138 of file ED_gizmo_library.h.
anonymous enum |
Definition at line 177 of file ED_gizmo_library.h.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_MOVE_DRAW_FLAG_NOP | |
ED_GIZMO_MOVE_DRAW_FLAG_FILL | |
ED_GIZMO_MOVE_DRAW_FLAG_FILL_SELECT | |
ED_GIZMO_MOVE_DRAW_FLAG_ALIGN_VIEW |
Definition at line 192 of file ED_gizmo_library.h.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_MOVE_STYLE_RING_2D | |
ED_GIZMO_MOVE_STYLE_CROSS_2D |
Definition at line 200 of file ED_gizmo_library.h.
anonymous enum |
Definition at line 208 of file ED_gizmo_library.h.
anonymous enum |
Enumerator | |
---|---|
ED_GIZMO_PRIMITIVE_STYLE_PLANE |
Definition at line 221 of file ED_gizmo_library.h.
Define a custom factor for arrow min/max distance.
Definition at line 474 of file arrow3d_gizmo.c.
References BLI_assert, ArrowGizmo3D::data, GizmoCommonData::range_fac, WM_gizmo_target_property_find(), and WM_gizmo_target_property_is_valid().
Referenced by WIDGETGROUP_camera_refresh(), WIDGETGROUP_forcefield_setup(), and WIDGETGROUP_light_spot_setup().
Define a custom property UI range.
Definition at line 460 of file arrow3d_gizmo.c.
References BLI_assert, ArrowGizmo3D::data, GizmoCommonData::is_custom_range_set, GizmoCommonData::max, max, min, GizmoCommonData::min, GizmoCommonData::range, WM_gizmo_target_property_find(), and WM_gizmo_target_property_is_valid().
Referenced by WIDGETGROUP_forcefield_setup().
void ED_gizmo_draw_preset_arrow | ( | const struct wmGizmo * | gz, |
float | mat[4][4], | ||
int | axis, | ||
int | select_id | ||
) |
Definition at line 84 of file gizmo_library_presets.c.
References ed_gizmo_draw_preset_geometry(), OB_POSZ, single_axis_convert(), and wm_gizmo_geom_data_arrow.
Definition at line 79 of file gizmo_library_presets.c.
References ed_gizmo_draw_preset_geometry(), and wm_gizmo_geom_data_cube.
void ED_gizmo_draw_preset_circle | ( | const struct wmGizmo * | gz, |
float | mat[4][4], | ||
int | axis, | ||
int | select_id | ||
) |
Definition at line 91 of file gizmo_library_presets.c.
References ed_gizmo_draw_preset_geometry(), OB_POSZ, single_axis_convert(), and wm_gizmo_geom_data_dial.
void ED_gizmo_draw_preset_facemap | ( | const struct bContext * | C, |
const struct wmGizmo * | gz, | ||
struct Object * | ob, | ||
int | facemap, | ||
int | select_id | ||
) |
Definition at line 541 of file arrow3d_gizmo.c.
References GIZMO_GT_arrow_3d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 57 of file blank3d_gizmo.c.
References GIZMO_GT_blank_3d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 429 of file button2d_gizmo.c.
References GIZMO_GT_button_2d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 1230 of file cage2d_gizmo.c.
References GIZMO_GT_cage_2d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 688 of file cage3d_gizmo.c.
References GIZMO_GT_cage_3d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 722 of file dial3d_gizmo.c.
References GIZMO_GT_dial_3d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 467 of file move3d_gizmo.c.
References GIZMO_GT_move_3d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 471 of file view3d_gizmo_preselect_type.c.
References GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 165 of file primitive3d_gizmo.c.
References GIZMO_GT_primitive_3d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
Definition at line 412 of file snap3d_gizmo.c.
References GIZMO_GT_snap_3d(), and WM_gizmotype_append().
Referenced by ED_spacetypes_init().
struct SnapObjectContext* ED_gizmotypes_snap_3d_context_ensure | ( | struct Scene * | scene, |
struct wmGizmo * | gz | ||
) |
void ED_gizmotypes_snap_3d_data_get | ( | const struct bContext * | C, |
struct wmGizmo * | gz, | ||
float | r_loc[3], | ||
float | r_nor[3], | ||
int | r_elem_index[3], | ||
eSnapMode * | r_snap_elem | ||
) |
Definition at line 94 of file snap3d_gizmo.c.
References C, copy_v3_v3(), copy_v3_v3_int(), CTX_wm_manager(), CTX_wm_region(), ED_view3d_cursor_snap_data_get(), ED_view3d_cursor_snap_data_update(), V3DSnapCursorData::elem_index, wmWindow::eventstate, V3DSnapCursorData::loc, V3DSnapCursorData::nor, NULL, V3DSnapCursorData::snap_elem, SnapGizmo3D::snap_state, wmWindowManager::winactive, ARegion::winrct, x, rcti::xmin, y, and rcti::ymin.
Referenced by view3d_ruler_item_mousemove().
Definition at line 70 of file snap3d_gizmo.c.
References V3DSnapCursorState::flag.
Definition at line 64 of file snap3d_gizmo.c.
References V3DSnapCursorState::flag.
Referenced by WIDGETGROUP_ruler_setup().
Definition at line 76 of file snap3d_gizmo.c.
References V3DSnapCursorState::flag.