Blender
V3.3
|
#include <WM_gizmo_types.h>
Definition at line 335 of file WM_gizmo_types.h.
wmGizmoFnCursorGet wmGizmoType::cursor_get |
Definition at line 384 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_button_2d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_move_3d(), VIEW3D_GT_navigate_rotate(), VIEW3D_GT_ruler_item(), WM_gizmomap_cursor_set(), and wm_gizmomap_highlight_set().
wmGizmoFnDraw wmGizmoType::draw |
Draw gizmo.
Definition at line 347 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_arrow_3d(), GIZMO_GT_blank_3d(), GIZMO_GT_button_2d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), GIZMO_GT_move_3d(), GIZMO_GT_primitive_3d(), GIZMO_GT_snap_3d(), gizmos_draw_list(), VIEW3D_GT_navigate_rotate(), and VIEW3D_GT_ruler_item().
wmGizmoFnDrawSelect wmGizmoType::draw_select |
Determines 3d intersection by rendering the gizmo in a selection routine.
Definition at line 350 of file WM_gizmo_types.h.
Referenced by gizmo_draw_select_3d_loop(), gizmo_find_intersected_3d(), GIZMO_GT_arrow_3d(), GIZMO_GT_button_2d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_move_3d(), and GIZMO_GT_primitive_3d().
wmGizmoFnExit wmGizmoType::exit |
Called when gizmo tweaking is done - used to free data and reset property when canceling.
Definition at line 382 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_arrow_3d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_move_3d(), gizmo_tweak_finish(), VIEW3D_GT_ruler_item(), and wm_gizmomaps_handled_modal_update().
wmGizmoFnFree wmGizmoType::free |
Free data (not the gizmo itself), use when the gizmo allocates its own members.
Definition at line 390 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_button_2d(), GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), GIZMO_GT_snap_3d(), and WM_gizmo_free().
const char* wmGizmoType::idname |
Definition at line 337 of file WM_gizmo_types.h.
Referenced by ED_view3d_gizmo_mesh_preselect_clear(), GIZMO_GT_arrow_3d(), GIZMO_GT_blank_3d(), GIZMO_GT_button_2d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), GIZMO_GT_move_3d(), GIZMO_GT_primitive_3d(), GIZMO_GT_snap_3d(), gizmo_properties_init(), gizmo_window_project_2d(), gizmo_window_project_3d(), py_rna_gizmo_target_id_parse(), py_rna_gizmo_target_id_parse_and_ensure_is_valid(), py_rna_gizmo_target_type_id_parse(), VIEW3D_GT_navigate_rotate(), VIEW3D_GT_ruler_item(), wm_gizmotype_append__end(), WM_gizmotype_free_ptr(), and WM_gizmotype_remove_ptr().
wmGizmoFnInvoke wmGizmoType::invoke |
Activate a gizmo state when the user clicks on it.
Definition at line 379 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_arrow_3d(), GIZMO_GT_blank_3d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), GIZMO_GT_move_3d(), GIZMO_GT_primitive_3d(), GIZMO_GT_snap_3d(), VIEW3D_GT_ruler_item(), and wm_gizmomap_modal_set().
wmGizmoFnMatrixBasisGet wmGizmoType::matrix_basis_get |
Returns the final transformation which may be different from the 'matrix', depending on the gizmo. Notes:
Definition at line 368 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_arrow_3d(), GIZMO_GT_move_3d(), WM_gizmo_calc_matrix_final_params(), and wm_gizmo_calculate_scale().
wmGizmoFnModal wmGizmoType::modal |
Handler used by the gizmo. Usually handles interaction tied to a gizmo type.
Definition at line 357 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_arrow_3d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_move_3d(), GIZMO_GT_snap_3d(), gizmo_tweak_modal(), VIEW3D_GT_ruler_item(), wm_gizmomap_modal_set(), and wm_gizmomaps_handled_modal_update().
wmGizmoFnPropertyUpdate wmGizmoType::property_update |
Gizmo-specific handler to update gizmo attributes based on the property value.
Definition at line 360 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_arrow_3d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_move_3d(), gizmo_update_prop_data(), WM_gizmo_target_property_def_func_ptr(), and WM_gizmo_target_property_def_rna_ptr().
ExtensionRNA wmGizmoType::rna_ext |
RNA integration.
Definition at line 396 of file WM_gizmo_types.h.
Referenced by gizmo_properties_init(), and WM_gizmotype_free_ptr().
wmGizmoFnScreenBoundsGet wmGizmoType::screen_bounds_get |
Returns screen-space bounding box in the window space (compatible with wmEvent.xy).
Used for tool-tip placement (otherwise the cursor location is used).
Definition at line 376 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_button_2d(), UI_tooltip_create_from_gizmo(), and VIEW3D_GT_navigate_rotate().
wmGizmoFnSelectRefresh wmGizmoType::select_refresh |
Called when gizmo selection state changes.
Definition at line 387 of file WM_gizmo_types.h.
Referenced by wm_gizmo_select_set_ex().
wmGizmoFnSetup wmGizmoType::setup |
Initialize struct (calloc'd 'struct_size' region).
Definition at line 344 of file WM_gizmo_types.h.
Referenced by GIZMO_GT_arrow_3d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), GIZMO_GT_primitive_3d(), GIZMO_GT_snap_3d(), and WM_gizmo_new_ptr().
struct StructRNA* wmGizmoType::srna |
RNA for properties.
Definition at line 393 of file WM_gizmo_types.h.
Referenced by BPY_RNA_gizmo_wrapper(), GIZMO_GT_arrow_3d(), GIZMO_GT_button_2d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), GIZMO_GT_move_3d(), GIZMO_GT_primitive_3d(), GIZMO_GT_snap_3d(), gizmo_properties_init(), wm_gizmo_create(), WM_gizmo_properties_create_ptr(), WM_gizmo_properties_reset(), wm_gizmotype_append__begin(), and wm_gizmotype_append__end().
uint wmGizmoType::struct_size |
Set to 'sizeof(wmGizmo)' or larger for instances of this type, use so we can cast to other types without the hassle of a custom-data pointer.
Definition at line 341 of file WM_gizmo_types.h.
Referenced by BPY_RNA_gizmo_wrapper(), GIZMO_GT_arrow_3d(), GIZMO_GT_blank_3d(), GIZMO_GT_button_2d(), GIZMO_GT_cage_2d(), GIZMO_GT_cage_3d(), GIZMO_GT_dial_3d(), GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), GIZMO_GT_move_3d(), GIZMO_GT_primitive_3d(), GIZMO_GT_snap_3d(), VIEW3D_GT_navigate_rotate(), VIEW3D_GT_ruler_item(), wm_gizmo_create(), wm_gizmo_target_property_array(), and wm_gizmotype_append__end().
ListBase wmGizmoType::target_property_defs |
Definition at line 398 of file WM_gizmo_types.h.
Referenced by WM_gizmo_target_property_find(), WM_gizmotype_free_ptr(), WM_gizmotype_target_property_def(), and WM_gizmotype_target_property_find().
int wmGizmoType::target_property_defs_len |
Definition at line 399 of file WM_gizmo_types.h.
Referenced by gizmo_update_prop_data(), ui_tooltip_data_from_gizmo(), wm_gizmo_create(), WM_gizmo_free(), WM_gizmo_target_property_is_valid_any(), WM_gizmo_target_property_subscribe_all(), and WM_gizmotype_target_property_def().
wmGizmoFnTestSelect wmGizmoType::test_select |
Determine if the mouse intersects with the gizmo. The calculation should be done in the callback itself, -1 for no selection.
Definition at line 354 of file WM_gizmo_types.h.
Referenced by gizmo_find_intersected_3d(), GIZMO_GT_arrow_3d(), GIZMO_GT_blank_3d(), GIZMO_GT_button_2d(), GIZMO_GT_cage_2d(), GIZMO_GT_mesh_preselect_edgering_3d(), GIZMO_GT_mesh_preselect_elem_3d(), GIZMO_GT_move_3d(), GIZMO_GT_snap_3d(), VIEW3D_GT_navigate_rotate(), and VIEW3D_GT_ruler_item().