|
Blender V4.3
|
#include "ED_view3d.hh"Go to the source code of this file.
Macros | |
| #define | VIEW3D_CAMERA_BORDER_HACK |
Variables | |
| const char * | view3d_context_dir [] |
| uchar | view3d_camera_border_hack_col [3] |
| bool | view3d_camera_border_hack_test |
| #define VIEW3D_CAMERA_BORDER_HACK |
Definition at line 224 of file view3d_intern.hh.
| bool ED_view3d_boundbox_clip | ( | RegionView3D * | rv3d, |
| const BoundBox * | bb ) |
Definition at line 461 of file view3d_utils.cc.
References RegionView3D::persmatob, and view3d_boundbox_clip_m4().
| bool ED_view3d_boundbox_clip_ex | ( | const RegionView3D * | rv3d, |
| const BoundBox * | bb, | ||
| float | obmat[4][4] ) |
Definition at line 446 of file view3d_utils.cc.
References mul_m4_m4m4(), RegionView3D::persmat, and view3d_boundbox_clip_m4().
| View3DCameraControl * ED_view3d_cameracontrol_acquire | ( | Depsgraph * | depsgraph, |
| Scene * | scene, | ||
| View3D * | v3d, | ||
| RegionView3D * | rv3d ) |
Creates a View3DCameraControl handle and sets up the view for first-person style navigation.
Definition at line 112 of file view3d_camera_control.cc.
References BKE_object_tfm_backup(), BKE_object_where_is_calc(), CAM_PERSP, View3D::camera, copy_qt_qt(), copy_v3_v3(), View3DCameraControl::ctx_rv3d, View3DCameraControl::ctx_scene, View3DCameraControl::ctx_v3d, Object::data, depsgraph, RegionView3D::dist, View3DCameraControl::dist_backup, ED_view3d_distance_set(), ED_view3d_to_m4(), View3DCameraControl::is_ortho_cam, RegionView3D::is_persp, MEM_callocN, negate_v3_v3(), OB_TRANSFORM_ADJUST_ROOT_PARENT_FOR_VIEW_LOCK, View3DCameraControl::obtfm, RegionView3D::ofs, View3DCameraControl::ofs_backup, Object::parent, RegionView3D::persp, View3DCameraControl::persp_backup, View3DCameraControl::root_parent, View3DCameraControl::rot_backup, RV3D_CAMOB, RV3D_ORTHO, RV3D_PERSP, scene, Object::transflag, View3DCameraControl::use_parent_root, View3DCameraControl::view_mat_prev, and RegionView3D::viewquat.
Referenced by initFlyInfo(), and initWalkInfo().
| Object * ED_view3d_cameracontrol_object_get | ( | View3DCameraControl * | vctrl | ) |
Returns the object which is being manipulated or NULL.
Definition at line 101 of file view3d_camera_control.cc.
References View3DCameraControl::ctx_rv3d, RegionView3D::persp, RV3D_CAMOB, and view3d_cameracontrol_object().
Referenced by drawFlyPixel(), drawWalkPixel(), fly_modal(), initFlyInfo(), and walk_modal().
| void ED_view3d_cameracontrol_release | ( | View3DCameraControl * | vctrl, |
| bool | restore ) |
Release view control.
| restore | Sets the view state to the values that were set before #ED_view3d_control_acquire was called. |
Definition at line 305 of file view3d_camera_control.cc.
References BKE_object_tfm_restore(), CAM_ORTHO, View3D::camera, copy_qt_qt(), copy_v3_v3(), View3DCameraControl::ctx_rv3d, View3DCameraControl::ctx_v3d, Object::data, DEG_id_tag_update(), RegionView3D::dist, View3DCameraControl::dist_backup, ED_view3d_distance_set(), Object::id, ID_RECALC_TRANSFORM, View3DCameraControl::is_ortho_cam, MEM_freeN(), View3DCameraControl::obtfm, RegionView3D::ofs, View3DCameraControl::ofs_backup, RegionView3D::persp, View3DCameraControl::persp_backup, View3DCameraControl::rot_backup, RV3D_CAMOB, view3d_cameracontrol_object(), and RegionView3D::viewquat.
| void ED_view3d_cameracontrol_update | ( | View3DCameraControl * | vctrl, |
| bool | use_autokey, | ||
| bContext * | C, | ||
| bool | do_rotate, | ||
| bool | do_translate ) |
Updates cameras from the rv3d values, optionally auto-keyframing.
Definition at line 235 of file view3d_camera_control.cc.
References View3D::camera, copy_m4_m4(), copy_v3_v3(), View3DCameraControl::ctx_rv3d, View3DCameraControl::ctx_scene, View3DCameraControl::ctx_v3d, DEG_id_tag_update(), RegionView3D::dist, ED_view3d_camera_autokey(), ED_view3d_to_m4(), Object::id, ID_RECALC_TRANSFORM, invert_m4_m4(), mul_m4_m4m4(), object_apply_mat4_with_protect(), RegionView3D::ofs, Object::parent, View3DCameraControl::root_parent, Object::scale, size_to_mat4(), View3DCameraControl::view_mat_prev, and RegionView3D::viewquat.
Referenced by flyMoveCamera(), and walkMoveCamera().
Calculates the bounding box corners (min and max) for obedit. The returned values are in global space.
Definition at line 1021 of file view3d_snap.cc.
References add_v3_v3(), BKE_mball_minmax_ex(), bounds_min_max_with_transform(), copy_m3_m4(), copy_v3_v3(), Object::data, DEG_get_original_object(), ED_transverts_check_obedit(), ED_transverts_create_from_obedit(), ED_transverts_free(), TransVert::flag, Curves::geometry, TransVert::loc, TransVert::maploc, minmax_v3v3_v3(), mul_m3_v3(), OB_CURVES, OB_GREASE_PENCIL, OB_MBALL, SELECT, TM_ALL_JOINTS, TM_CALC_MAPLOC, TransVertStore::transverts, TransVertStore::transverts_tot, TX_VERT_USE_MAPLOC, and Object::type.
Referenced by viewselected_exec().
For home, center etc.
Definition at line 958 of file view3d_utils.cc.
References copy_v3_v3(), RegionView3D::dist, ED_region_tag_redraw(), LISTBASE_FOREACH, RegionView3D::ofs, RGN_TYPE_WINDOW, RV3D_BOXCLIP, RV3D_LOCK_FLAGS, and view3d_boxview_clip().
Referenced by ED_view3d_smooth_view_ex(), and view3d_smoothview_apply_from_timer().
Sync center/zoom view of region to others, for view transforms.
Definition at line 934 of file view3d_utils.cc.
References RegionView3D::dist, ED_region_tag_redraw(), LISTBASE_FOREACH, RGN_TYPE_WINDOW, RV3D_BOXCLIP, RV3D_LOCK_FLAGS, RV3D_LOCK_ROTATION, view3d_boxview_clip(), and view3d_boxview_sync_axis().
Referenced by ED_view3d_quadview_update(), ViewOpsData::state_restore(), view3d_zoom_border_exec(), view_zoom_apply_step(), viewdolly_apply(), viewdolly_exec(), viewmove_apply(), viewroll_apply(), and viewzoom_apply_3d().
| void view3d_buttons_register | ( | ARegionType * | art | ) |
Definition at line 1766 of file view3d_buttons.cc.
References BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::category, MenuType::draw, PanelType::draw, hide_collections_menu_draw(), MenuType::idname, PanelType::idname, MenuType::label, PanelType::label, MEM_callocN, N_, ARegionType::paneltypes, PanelType::poll, STRNCPY, MenuType::translation_context, PanelType::translation_context, view3d_panel_transform(), view3d_panel_transform_poll(), view3d_panel_vgroup(), view3d_panel_vgroup_poll(), and WM_menutype_add().
Referenced by ED_spacetype_view3d().
| int view3d_context | ( | const bContext * | C, |
| const char * | member, | ||
| bContextDataResult * | result ) |
Definition at line 33 of file view3d_context.cc.
References BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, BKE_view_layer_active_base_get(), BKE_view_layer_synced_ensure(), CTX_data_dir(), CTX_data_dir_set(), CTX_data_equals(), CTX_data_id_list_add(), CTX_data_id_pointer_set(), CTX_data_scene(), CTX_data_selected_objects(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_data_view_layer(), CTX_RESULT_MEMBER_NOT_FOUND, CTX_RESULT_OK, Base::flag, Object::id, Object::mode, OB_MODE_OBJECT, Base::object, PointerRNA::owner_id, ptr, and view3d_context_dir.
Referenced by ED_spacetype_view3d().
| float view3d_depth_near | ( | ViewDepths * | d | ) |
Utility function to find the closest Z value, use for auto-depth.
Definition at line 2345 of file view3d_draw.cc.
References ViewDepths::depth_range, ViewDepths::depths, float, FLT_MAX, ViewDepths::h, int, and ViewDepths::w.
Referenced by view3d_zoom_border_exec(), and view_autodist_depth_margin().
| void view3d_depths_rect_create | ( | ARegion * | region, |
| rcti * | rect, | ||
| ViewDepths * | r_d ) |
Definition at line 2280 of file view3d_draw.cc.
References BLI_rcti_isect(), BLI_rcti_size_x(), BLI_rcti_size_y(), ViewDepths::depth_range, ViewDepths::depths, ViewDepths::h, MEM_mallocN, view3d_opengl_read_Z_pixels(), ViewDepths::w, w(), WM_draw_region_get_viewport(), ViewDepths::x, x, rcti::xmin, ViewDepths::y, y, and rcti::ymin.
Referenced by view3d_zoom_border_exec(), and view_autodist_depth_margin().
Information drawn on top of the solid plates and composed data.
Definition at line 1443 of file view3d_draw.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), BLF_batch_draw_begin(), BLF_batch_draw_end(), BLF_color4fv(), BLF_default(), BLF_default_size(), BLF_disable(), BLF_enable(), BLF_set_default(), BLF_SHADOW, BLF_shadow(), BLF_shadow_offset(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), CTX_wm_view3d(), draw_grid_unit_name(), draw_selected_name(), draw_view_axis(), draw_viewport_name(), DRW_draw_region_engine_info(), ED_info_draw_stats(), ED_region_pixelspace(), ED_region_visible_rect(), ED_scene_draw_fps(), ED_screen_animation_no_scrub(), ED_view3d_text_colors_get(), View3DOverlay::flag, View3D::flag2, View3D::gizmo_flag, View3D::gridflag, View3D::localvd, NDOF_SHOW_GUIDE, Outline, View3D::overlay, RegionView3D::persp, uiFontStyle::points, RV3D_CAMOB, RV3D_LOCK_FLAGS, RV3D_LOCK_ROTATION, UI_DEFAULT_TEXT_POINTS, UI_fontstyle_set(), UI_FSTYLE_WIDGET, USER_DRAWVIEWINFO, USER_MINI_AXIS_TYPE_GIZMO, USER_MINI_AXIS_TYPE_MINIMAL, USER_MINI_AXIS_TYPE_NONE, USER_SHOW_FPS, USER_SHOW_VIEWPORTNAME, V3D_GIZMO_HIDE, V3D_GIZMO_HIDE_NAVIGATE, V3D_HIDE_OVERLAYS, V3D_OVERLAY_HIDE_TEXT, V3D_OVERLAY_STATS, V3D_SHOW_FLOOR, V3D_SHOW_X, V3D_SHOW_Y, V3D_SHOW_Z, view3d_draw_border(), view3d_draw_grease_pencil(), VIEW3D_OVERLAY_LINEHEIGHT, rcti::xmin, and rcti::ymax.
Referenced by DRW_draw_region_info().
| void VIEW3D_GGT_armature_spline | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 201 of file view3d_gizmo_armature.cc.
References wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_armature_spline_poll(), WIDGETGROUP_armature_spline_refresh(), WIDGETGROUP_armature_spline_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, and WM_GIZMOGROUPTYPE_PERSISTENT.
Referenced by view3d_widgets().
| void VIEW3D_GGT_camera | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 300 of file view3d_gizmo_camera.cc.
References wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_camera_message_subscribe(), WIDGETGROUP_camera_poll(), WIDGETGROUP_camera_refresh(), WIDGETGROUP_camera_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DEPTH_3D, and WM_GIZMOGROUPTYPE_PERSISTENT.
Referenced by view3d_widgets().
| void VIEW3D_GGT_camera_view | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 500 of file view3d_gizmo_camera.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, WIDGETGROUP_camera_view_draw_prepare(), WIDGETGROUP_camera_view_poll(), WIDGETGROUP_camera_view_refresh(), WIDGETGROUP_camera_view_setup(), WM_GIZMOGROUPTYPE_PERSISTENT, and WM_GIZMOGROUPTYPE_SCALE.
Referenced by view3d_widgets().
| void VIEW3D_GGT_empty_image | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 192 of file view3d_gizmo_empty.cc.
References wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_empty_image_poll(), WIDGETGROUP_empty_image_refresh(), WIDGETGROUP_empty_image_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DEPTH_3D, and WM_GIZMOGROUPTYPE_PERSISTENT.
Referenced by view3d_widgets().
| void VIEW3D_GGT_force_field | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 106 of file view3d_gizmo_forcefield.cc.
References wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_forcefield_poll(), WIDGETGROUP_forcefield_refresh(), WIDGETGROUP_forcefield_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DEPTH_3D, WM_GIZMOGROUPTYPE_PERSISTENT, and WM_GIZMOGROUPTYPE_SCALE.
Referenced by view3d_widgets().
| void VIEW3D_GGT_geometry_nodes | ( | struct wmGizmoGroupType * | gzgt | ) |
Definition at line 1114 of file view3d_gizmo_geometry_nodes.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, and WM_GIZMOGROUPTYPE_PERSISTENT.
Referenced by view3d_widgets().
| void VIEW3D_GGT_light_area | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 494 of file view3d_gizmo_light.cc.
References wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_light_area_poll(), WIDGETGROUP_light_area_refresh(), WIDGETGROUP_light_area_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DEPTH_3D, and WM_GIZMOGROUPTYPE_PERSISTENT.
Referenced by view3d_widgets().
| void VIEW3D_GGT_light_point | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 369 of file view3d_gizmo_light.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_light_point_draw_prepare(), WIDGETGROUP_light_point_poll(), WIDGETGROUP_light_point_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DEPTH_3D, and WM_GIZMOGROUPTYPE_PERSISTENT.
Referenced by view3d_widgets().
| void VIEW3D_GGT_light_spot | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 278 of file view3d_gizmo_light.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_light_spot_draw_prepare(), WIDGETGROUP_light_spot_poll(), WIDGETGROUP_light_spot_refresh(), WIDGETGROUP_light_spot_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DEPTH_3D, and WM_GIZMOGROUPTYPE_PERSISTENT.
Referenced by view3d_widgets().
| void VIEW3D_GGT_light_target | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 589 of file view3d_gizmo_light.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::setup, wmGizmoGroupType::setup_keymap, WIDGETGROUP_light_target_draw_prepare(), WIDGETGROUP_light_target_poll(), WIDGETGROUP_light_target_setup(), WM_gizmogroup_setup_keymap_generic_maybe_drag(), WM_GIZMOGROUPTYPE_3D, and WM_GIZMOGROUPTYPE_PERSISTENT.
Referenced by view3d_widgets().
| void VIEW3D_GGT_mesh_preselect_edgering | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 79 of file view3d_gizmo_preselect.cc.
References ED_gizmo_poll_or_unlink_delayed_from_tool(), wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, wmGizmoGroupType::setup, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, WIDGETGROUP_mesh_preselect_edgering_setup(), WM_GIZMOGROUPTYPE_3D, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by view3d_widgets().
| void VIEW3D_GGT_mesh_preselect_elem | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 42 of file view3d_gizmo_preselect.cc.
References ED_gizmo_poll_or_unlink_delayed_from_tool(), wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, wmGizmoGroupType::setup, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, WIDGETGROUP_mesh_preselect_elem_setup(), WM_GIZMOGROUPTYPE_3D, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by view3d_widgets().
| void VIEW3D_GGT_navigate | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 389 of file view3d_gizmo_navigate.cc.
References wmGizmoGroupType::draw_prepare, wmGizmoGroupType::flag, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::setup, WIDGETGROUP_navigate_draw_prepare(), WIDGETGROUP_navigate_poll(), WIDGETGROUP_navigate_setup(), WM_GIZMOGROUPTYPE_DRAW_MODAL_ALL, WM_GIZMOGROUPTYPE_PERSISTENT, and WM_GIZMOGROUPTYPE_SCALE.
Referenced by view3d_widgets().
| void VIEW3D_GGT_placement | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 1385 of file view3d_placement.cc.
References ED_gizmo_poll_or_unlink_delayed_from_tool(), wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, wmGizmoGroupType::setup, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, view3d_gzgt_placement_id, WIDGETGROUP_placement_setup(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DRAW_MODAL_ALL, and WM_GIZMOGROUPTYPE_SCALE.
Referenced by view3d_widgets().
| void VIEW3D_GGT_ruler | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 1294 of file view3d_gizmo_ruler.cc.
References ED_gizmo_poll_or_unlink_delayed_from_tool(), wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, wmGizmoGroupType::idname, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, wmGizmoGroupType::setup, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, view3d_gzgt_ruler_id, WIDGETGROUP_ruler_setup(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DRAW_MODAL_ALL, and WM_GIZMOGROUPTYPE_SCALE.
Referenced by view3d_widgets().
| void VIEW3D_GGT_tool_generic_handle_free | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 220 of file view3d_gizmo_tool_generic.cc.
References wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, handle_free_id, handle_free_radius_default, wmGizmoGroupType::idname, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, RNA_def_float(), wmGizmoGroupType::setup, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, wmGizmoGroupType::srna, WIDGETGROUP_gizmo_message_subscribe(), WIDGETGROUP_tool_generic_poll(), WIDGETGROUP_tool_generic_refresh(), WIDGETGROUP_tool_generic_setup(), WM_GIZMOGROUPTYPE_3D, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by view3d_widgets().
| void VIEW3D_GGT_tool_generic_handle_normal | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 193 of file view3d_gizmo_tool_generic.cc.
References wmGizmoGroupType::flag, wmGizmoGroupType::gzmap_params, handle_normal_id, handle_normal_radius_default, wmGizmoGroupType::idname, wmGizmoGroupType::message_subscribe, wmGizmoGroupType::name, wmGizmoGroupType::poll, wmGizmoGroupType::refresh, wmGizmoMapType_Params::regionid, RGN_TYPE_WINDOW, RNA_def_float(), wmGizmoGroupType::setup, SPACE_VIEW3D, wmGizmoMapType_Params::spaceid, wmGizmoGroupType::srna, WIDGETGROUP_gizmo_message_subscribe(), WIDGETGROUP_tool_generic_poll(), WIDGETGROUP_tool_generic_refresh(), WIDGETGROUP_tool_generic_setup(), WM_GIZMOGROUPTYPE_3D, WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK, and WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP.
Referenced by view3d_widgets().
| void VIEW3D_GT_navigate_rotate | ( | wmGizmoType * | gzt | ) |
Definition at line 360 of file view3d_gizmo_navigate_type.cc.
References wmGizmoType::cursor_get, wmGizmoType::draw, gizmo_axis_cursor_get(), gizmo_axis_draw(), gizmo_axis_screen_bounds_get(), gizmo_axis_test_select(), wmGizmoType::idname, wmGizmoType::screen_bounds_get, wmGizmoType::struct_size, and wmGizmoType::test_select.
Referenced by view3d_widgets().
| void VIEW3D_GT_ruler_item | ( | wmGizmoType * | gzt | ) |
Definition at line 1233 of file view3d_gizmo_ruler.cc.
References wmGizmoType::cursor_get, wmGizmoType::draw, wmGizmoType::exit, gizmo_ruler_cursor_get(), gizmo_ruler_draw(), gizmo_ruler_exit(), gizmo_ruler_invoke(), gizmo_ruler_modal(), gizmo_ruler_test_select(), wmGizmoType::idname, wmGizmoType::invoke, wmGizmoType::modal, wmGizmoType::struct_size, and wmGizmoType::test_select.
Referenced by view3d_widgets().
Definition at line 1591 of file view3d_draw.cc.
References BKE_image_free_old_gputextures(), CTX_data_main(), CTX_wm_view3d(), DRW_cache_free_old_batches(), View3D_Runtime::flag, GPU_DEPTH_NONE, GPU_depth_test(), GPU_pass_cache_garbage_collect(), View3D::runtime, view3d_draw_view(), and view3d_update_viewer_path().
Referenced by ED_spacetype_view3d().
| void view3d_operatortypes | ( | ) |
Definition at line 163 of file view3d_ops.cc.
References transform_operatortypes(), VIEW3D_OT_bone_select_menu(), VIEW3D_OT_camera_background_image_add(), VIEW3D_OT_camera_background_image_remove(), VIEW3D_OT_camera_to_view(), VIEW3D_OT_camera_to_view_selected(), VIEW3D_OT_clear_render_border(), VIEW3D_OT_clip_border(), VIEW3D_OT_copybuffer(), VIEW3D_OT_cursor3d(), VIEW3D_OT_dolly(), VIEW3D_OT_drop_world(), VIEW3D_OT_fly(), VIEW3D_OT_interactive_add(), VIEW3D_OT_localview(), VIEW3D_OT_localview_remove_from(), VIEW3D_OT_move(), VIEW3D_OT_navigate(), VIEW3D_OT_object_as_camera(), VIEW3D_OT_object_mode_pie_or_toggle(), VIEW3D_OT_pastebuffer(), VIEW3D_OT_render_border(), VIEW3D_OT_rotate(), VIEW3D_OT_ruler_add(), VIEW3D_OT_ruler_remove(), VIEW3D_OT_select(), VIEW3D_OT_select_box(), VIEW3D_OT_select_circle(), VIEW3D_OT_select_lasso(), VIEW3D_OT_select_menu(), VIEW3D_OT_smoothview(), VIEW3D_OT_snap_cursor_to_active(), VIEW3D_OT_snap_cursor_to_center(), VIEW3D_OT_snap_cursor_to_grid(), VIEW3D_OT_snap_cursor_to_selected(), VIEW3D_OT_snap_selected_to_active(), VIEW3D_OT_snap_selected_to_cursor(), VIEW3D_OT_snap_selected_to_grid(), VIEW3D_OT_toggle_matcap_flip(), VIEW3D_OT_toggle_shading(), VIEW3D_OT_toggle_xray(), VIEW3D_OT_view_all(), VIEW3D_OT_view_axis(), VIEW3D_OT_view_camera(), VIEW3D_OT_view_center_camera(), VIEW3D_OT_view_center_cursor(), VIEW3D_OT_view_center_lock(), VIEW3D_OT_view_center_pick(), VIEW3D_OT_view_lock_clear(), VIEW3D_OT_view_lock_to_active(), VIEW3D_OT_view_orbit(), VIEW3D_OT_view_pan(), VIEW3D_OT_view_persportho(), VIEW3D_OT_view_roll(), VIEW3D_OT_view_selected(), VIEW3D_OT_walk(), VIEW3D_OT_zoom(), VIEW3D_OT_zoom_border(), VIEW3D_OT_zoom_camera_1_to_1(), and WM_operatortype_append().
Referenced by ED_spacetype_view3d().
| void VIEW3D_OT_bone_select_menu | ( | wmOperatorType * | ot | ) |
Definition at line 1855 of file view3d_select.cc.
References bone_select_menu_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_select_menu_enum_itemf(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_camera_background_image_add | ( | wmOperatorType * | ot | ) |
Definition at line 597 of file view3d_edit.cc.
References camera_background_image_add_exec(), camera_background_image_add_poll(), wmOperatorType::description, wmOperatorType::exec, FILE_MAX, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), RNA_def_string(), wmOperatorType::srna, and WM_operator_properties_id_lookup().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_camera_background_image_remove | ( | wmOperatorType * | ot | ) |
Definition at line 663 of file view3d_edit.cc.
References camera_background_image_remove_exec(), wmOperatorType::description, ED_operator_camera_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by view3d_operatortypes().
| void VIEW3D_OT_camera_to_view | ( | wmOperatorType * | ot | ) |
Definition at line 103 of file view3d_view.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, view3d_camera_to_view_exec(), and view3d_camera_to_view_poll().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_camera_to_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 146 of file view3d_view.cc.
References wmOperatorType::description, ED_operator_scene_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and view3d_camera_to_view_selected_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_clear_render_border | ( | wmOperatorType * | ot | ) |
Definition at line 394 of file view3d_edit.cc.
References clear_render_border_exec(), wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, and wmOperatorType::poll.
Referenced by view3d_operatortypes().
| void VIEW3D_OT_clip_border | ( | wmOperatorType * | ot | ) |
Definition at line 796 of file view3d_edit.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, wmOperatorType::poll, view3d_clipping_exec(), view3d_clipping_invoke(), WM_gesture_box_cancel(), WM_gesture_box_modal(), and WM_operator_properties_border().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_cursor3d | ( | wmOperatorType * | ot | ) |
Definition at line 1084 of file view3d_edit.cc.
References wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, V3D_CURSOR_ORIENT_GEOM, V3D_CURSOR_ORIENT_NONE, V3D_CURSOR_ORIENT_VIEW, V3D_CURSOR_ORIENT_XFORM, and view3d_cursor3d_invoke().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_drop_world | ( | wmOperatorType * | ot | ) |
Definition at line 716 of file view3d_edit.cc.
References wmOperatorType::description, drop_world_exec(), drop_world_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_id_lookup().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_interactive_add | ( | wmOperatorType * | ot | ) |
Definition at line 1276 of file view3d_placement.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, PLACE_ASPECT_FIXED, PLACE_ASPECT_FREE, PLACE_ORIGIN_BASE, PLACE_ORIGIN_CENTER, PLACE_PRIMITIVE_TYPE_CONE, PLACE_PRIMITIVE_TYPE_CUBE, PLACE_PRIMITIVE_TYPE_CYLINDER, PLACE_PRIMITIVE_TYPE_SPHERE_ICO, PLACE_PRIMITIVE_TYPE_SPHERE_UV, wmOperatorType::poll, PROP_ENUM, PROP_HIDDEN, PROP_NONE, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property(), RNA_def_property_enum_default(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_ui_text(), wmOperatorType::srna, view3d_interactive_add_cancel(), view3d_interactive_add_invoke(), view3d_interactive_add_modal(), and view3d_interactive_add_poll().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_localview | ( | wmOperatorType * | ot | ) |
Definition at line 1114 of file view3d_view.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, localview_exec(), wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by view3d_operatortypes().
| void VIEW3D_OT_localview_remove_from | ( | wmOperatorType * | ot | ) |
Definition at line 1189 of file view3d_view.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, localview_remove_from_exec(), localview_remove_from_poll(), wmOperatorType::name, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by view3d_operatortypes().
| void VIEW3D_OT_navigate | ( | wmOperatorType * | ot | ) |
Definition at line 539 of file view3d_edit.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, and view3d_navigate_invoke().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_object_as_camera | ( | wmOperatorType * | ot | ) |
Definition at line 282 of file view3d_view.cc.
References wmOperatorType::description, ED_operator_rv3d_user_region_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and view3d_setobjectascamera_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_object_mode_pie_or_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1814 of file view3d_buttons.cc.
References ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and view3d_object_mode_menu_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_render_border | ( | wmOperatorType * | ot | ) |
Definition at line 331 of file view3d_edit.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, ot, wmOperatorType::poll, render_border_exec(), WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), and WM_operator_properties_border().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_ruler_add | ( | wmOperatorType * | ot | ) |
Definition at line 1382 of file view3d_gizmo_ruler.cc.
References wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_UNDO, ot, wmOperatorType::poll, view3d_ruler_add_invoke(), and view3d_ruler_poll().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_ruler_remove | ( | wmOperatorType * | ot | ) |
Definition at line 1441 of file view3d_gizmo_ruler.cc.
References wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_UNDO, ot, wmOperatorType::poll, view3d_ruler_poll(), and view3d_ruler_remove_invoke().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_select | ( | wmOperatorType * | ot | ) |
Definition at line 3501 of file view3d_select.cc.
References wmOperatorType::description, ED_operator_view3d_active(), ED_select_pick_get_name(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_name, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int_vector(), RNA_def_property_flag(), wmOperatorType::srna, view3d_select_exec(), view3d_select_invoke(), and WM_operator_properties_mouse_select().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 4466 of file view3d_select.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, view3d_box_select_exec(), view3d_selectable_data(), WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_select_circle | ( | wmOperatorType * | ot | ) |
Definition at line 5455 of file view3d_select.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_select_circle_get_name(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_name, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, view3d_circle_select_cancel(), view3d_circle_select_exec(), view3d_circle_select_modal(), view3d_selectable_data(), WM_gesture_circle_invoke(), WM_operator_properties_gesture_circle(), and WM_operator_properties_select_operation_simple().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_select_lasso | ( | wmOperatorType * | ot | ) |
Definition at line 1497 of file view3d_select.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_UNDO, ot, wmOperatorType::poll, view3d_lasso_select_exec(), view3d_selectable_data(), WM_gesture_lasso_cancel(), WM_gesture_lasso_invoke(), WM_gesture_lasso_modal(), WM_operator_properties_gesture_lasso(), and WM_operator_properties_select_operation().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_select_menu | ( | wmOperatorType * | ot | ) |
Definition at line 1641 of file view3d_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_select_menu_enum_itemf(), object_select_menu_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_snap_cursor_to_active | ( | wmOperatorType * | ot | ) |
Definition at line 944 of file view3d_snap.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and snap_curs_to_active_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_snap_cursor_to_center | ( | wmOperatorType * | ot | ) |
Definition at line 978 of file view3d_snap.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and snap_curs_to_center_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_snap_cursor_to_grid | ( | wmOperatorType * | ot | ) |
Definition at line 704 of file view3d_snap.cc.
References wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and snap_curs_to_grid_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_snap_cursor_to_selected | ( | wmOperatorType * | ot | ) |
Definition at line 895 of file view3d_snap.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and snap_curs_to_sel_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_snap_selected_to_active | ( | wmOperatorType * | ot | ) |
Definition at line 662 of file view3d_snap.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and snap_selected_to_active_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_snap_selected_to_cursor | ( | wmOperatorType * | ot | ) |
Definition at line 618 of file view3d_snap.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), snap_selected_to_cursor_exec(), and wmOperatorType::srna.
Referenced by view3d_operatortypes().
| void VIEW3D_OT_snap_selected_to_grid | ( | wmOperatorType * | ot | ) |
Definition at line 277 of file view3d_snap.cc.
References wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and snap_sel_to_grid_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_toggle_matcap_flip | ( | wmOperatorType * | ot | ) |
Definition at line 60 of file view3d_header.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and toggle_matcap_flip_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_toggle_shading | ( | wmOperatorType * | ot | ) |
Definition at line 1178 of file view3d_edit.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, prop_shading_type_items, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, and toggle_shading_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_toggle_xray | ( | wmOperatorType * | ot | ) |
Definition at line 1234 of file view3d_edit.cc.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and toggle_xray_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_view_center_camera | ( | wmOperatorType * | ot | ) |
Definition at line 204 of file view3d_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, view3d_camera_user_poll(), and view3d_center_camera_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_view_center_lock | ( | wmOperatorType * | ot | ) |
Definition at line 236 of file view3d_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, view3d_center_lock_exec(), and view3d_lock_poll().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_view_lock_clear | ( | wmOperatorType * | ot | ) |
Definition at line 94 of file view3d_edit.cc.
References wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and view_lock_clear_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_view_lock_to_active | ( | wmOperatorType * | ot | ) |
Definition at line 151 of file view3d_edit.cc.
References wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and view_lock_to_active_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_view_persportho | ( | wmOperatorType * | ot | ) |
Definition at line 499 of file view3d_edit.cc.
References wmOperatorType::description, ED_operator_rv3d_user_region_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and viewpersportho_exec().
Referenced by view3d_operatortypes().
| void VIEW3D_OT_zoom_camera_1_to_1 | ( | wmOperatorType * | ot | ) |
Definition at line 454 of file view3d_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, view3d_camera_user_poll(), and view3d_zoom_1_to_1_camera_exec().
Referenced by view3d_operatortypes().
| void view3d_viewmatrix_set | ( | const Depsgraph * | depsgraph, |
| const Scene * | scene, | ||
| const View3D * | v3d, | ||
| RegionView3D * | rv3d, | ||
| const float | rect_scale[2] ) |
Sets RegionView3D.viewmat
| depsgraph | Depsgraph. |
| scene | Scene for camera and cursor location. |
| v3d | View 3D space data. |
| rv3d | 3D region which stores the final matrices. |
| rect_scale | Optional 2D scale argument, Use when displaying a sub-region, eg: when view3d_winmatrix_set takes a 'rect' argument. |
Definition at line 380 of file view3d_view.cc.
References BKE_pose_channel_find_name(), View3D::camera, copy_v3_v3(), DEG_get_evaluated_object(), depsgraph, RegionView3D::dist, ED_view3d_lock(), invert_m4_m4(), RegionView3D::is_persp, mul_m4_m4m4(), mul_m4_v3(), mul_mat3_m4_v3(), mul_v2_v2fl(), OB_ARMATURE, View3D::ob_center, View3D::ob_center_bone, View3D::ob_center_cursor, obmat_to_viewmat(), RegionView3D::ofs, RegionView3D::ofs_lock, RegionView3D::persp, Object::pose, bPoseChannel::pose_mat, quat_to_mat4(), RV3D_CAMOB, RV3D_LOCK_FLAGS, RV3D_LOCK_ROTATION, RV3D_PERSP, translate_m4(), Object::type, RegionView3D::viewmat, RegionView3D::viewquat, and RegionView3D::winmat.
Referenced by ED_view3d_update_viewmat().
| void view3d_winmatrix_set | ( | const Depsgraph * | depsgraph, |
| ARegion * | region, | ||
| const View3D * | v3d, | ||
| const rcti * | rect ) |
| rect | optional for picking (can be NULL). |
Definition at line 303 of file view3d_view.cc.
References BLI_rctf_size_x(), BLI_rctf_size_y(), depsgraph, ED_view3d_viewplane_get(), float, GPU_matrix_frustum_set(), GPU_matrix_ortho_set(), GPU_matrix_projection_get, RegionView3D::is_persp, printf, RegionView3D::winmat, rctf::xmax, rcti::xmax, rctf::xmin, rcti::xmin, rctf::ymax, rcti::ymax, rctf::ymin, and rcti::ymin.
Referenced by ED_view3d_update_viewmat().
| void viewplace_modal_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 943 of file view3d_placement.cc.
References wmKeyMap::modal_items, PLACE_MODAL_FIXED_ASPECT_OFF, PLACE_MODAL_FIXED_ASPECT_ON, PLACE_MODAL_PIVOT_CENTER_OFF, PLACE_MODAL_PIVOT_CENTER_ON, PLACE_MODAL_SNAP_OFF, PLACE_MODAL_SNAP_ON, WM_modalkeymap_assign(), WM_modalkeymap_ensure(), and WM_modalkeymap_find().
Referenced by view3d_keymap().
|
extern |
Definition at line 14 of file drawobject.cc.
Referenced by drawviewborder().
|
extern |
Definition at line 15 of file drawobject.cc.
Referenced by drawviewborder().
| const char* view3d_context_dir[] |
Definition at line 190 of file view3d_intern.hh.