62 #ifdef WITH_INPUT_NDOF
97 const float ofs_old[3],
98 const float viewquat_old[4],
99 const float viewquat_new[4],
100 const float dyn_ofs[3]);
102 #ifdef WITH_INPUT_NDOF
103 struct wmNDOFMotionData;
105 void view3d_ndof_fly(
const struct wmNDOFMotionData *ndof,
108 const bool use_precision,
109 const short protectflag,
110 bool *r_has_translate,
132 bool use_obedit_skip,
183 const int smooth_viewtx,
189 const int smooth_viewtx,
204 const float rect_scale[2]);
224 const bool use_autokey,
226 const bool do_rotate,
227 const bool do_translate);
277 #define VIEW3D_CAMERA_BORDER_HACK
278 #ifdef VIEW3D_CAMERA_BORDER_HACK
struct Depsgraph Depsgraph
const Depsgraph * depsgraph
static void area(int d1, int d2, int e1, int e2, float weights[2])
struct Object * camera_old
void VIEW3D_GT_ruler_item(struct wmGizmoType *gzt)
bool ED_view3d_minmax_verts(struct Object *obedit, float min[3], float max[3])
void view3d_keymap(struct wmKeyConfig *keyconf)
void ED_view3d_smooth_view(struct bContext *C, struct View3D *v3d, struct ARegion *region, const int smooth_viewtx, const V3D_SmoothParams *sview)
void viewdolly_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_OT_snap_selected_to_grid(struct wmOperatorType *ot)
void VIEW3D_OT_zoom_camera_1_to_1(struct wmOperatorType *ot)
void VIEW3D_OT_toggle_shading(struct wmOperatorType *ot)
void VIEW3D_OT_camera_to_view(struct wmOperatorType *ot)
void VIEW3D_GGT_light_area(struct wmGizmoGroupType *gzgt)
float view3d_depth_near(struct ViewDepths *d)
void VIEW3D_OT_view_orbit(struct wmOperatorType *ot)
void VIEW3D_OT_walk(struct wmOperatorType *ot)
void VIEW3D_GGT_placement(struct wmGizmoGroupType *gzgt)
void view3d_operatortypes(void)
void view3d_draw_region_info(const struct bContext *C, struct ARegion *region)
void view3d_orbit_apply_dyn_ofs(float r_ofs[3], const float ofs_old[3], const float viewquat_old[4], const float viewquat_new[4], const float dyn_ofs[3])
void VIEW3D_OT_view_center_cursor(struct wmOperatorType *ot)
struct View3DCameraControl * ED_view3d_cameracontrol_acquire(struct Depsgraph *depsgraph, Scene *scene, View3D *v3d, RegionView3D *rv3d)
void VIEW3D_OT_clip_border(struct wmOperatorType *ot)
void VIEW3D_GGT_ruler(struct wmGizmoGroupType *gzgt)
void VIEW3D_GGT_camera_view(struct wmGizmoGroupType *gzgt)
void ED_view3d_cameracontrol_update(struct View3DCameraControl *vctrl, const bool use_autokey, struct bContext *C, const bool do_rotate, const bool do_translate)
void VIEW3D_OT_select_box(struct wmOperatorType *ot)
void ED_view3d_smooth_view_force_finish(struct bContext *C, struct View3D *v3d, struct ARegion *region)
void VIEW3D_OT_toggle_xray(struct wmOperatorType *ot)
void viewmove_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_OT_view_pan(struct wmOperatorType *ot)
void VIEW3D_OT_view_all(struct wmOperatorType *ot)
void VIEW3D_OT_smoothview(struct wmOperatorType *ot)
struct V3D_SmoothParams V3D_SmoothParams
void ED_view3d_draw_select_loop(struct Depsgraph *depsgraph, ViewContext *vc, Scene *scene, struct ViewLayer *view_layer, View3D *v3d, struct ARegion *region, bool use_obedit_skip, bool use_nearest)
void VIEW3D_OT_zoom(struct wmOperatorType *ot)
void VIEW3D_OT_snap_selected_to_active(struct wmOperatorType *ot)
void walk_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_GT_navigate_rotate(struct wmGizmoType *gzt)
void VIEW3D_OT_snap_selected_to_cursor(struct wmOperatorType *ot)
void VIEW3D_OT_background_image_add(struct wmOperatorType *ot)
void VIEW3D_OT_view_center_pick(struct wmOperatorType *ot)
void VIEW3D_OT_render_border(struct wmOperatorType *ot)
void VIEW3D_OT_snap_cursor_to_selected(struct wmOperatorType *ot)
void VIEW3D_OT_background_image_remove(struct wmOperatorType *ot)
void VIEW3D_OT_view_persportho(struct wmOperatorType *ot)
void view3d_boxview_sync(struct ScrArea *area, struct ARegion *region)
uchar view3d_camera_border_hack_col[3]
void view3d_winmatrix_set(struct Depsgraph *depsgraph, struct ARegion *region, const View3D *v3d, const rcti *rect)
void VIEW3D_GGT_tool_generic_handle_normal(struct wmGizmoGroupType *gzgt)
bool view3d_camera_border_hack_test
void VIEW3D_OT_select(struct wmOperatorType *ot)
void VIEW3D_OT_bone_select_menu(struct wmOperatorType *ot)
void VIEW3D_OT_camera_to_view_selected(struct wmOperatorType *ot)
void VIEW3D_OT_view_lock_to_active(struct wmOperatorType *ot)
void VIEW3D_OT_toggle_matcap_flip(struct wmOperatorType *ot)
void VIEW3D_OT_ruler_remove(struct wmOperatorType *ot)
void VIEW3D_OT_select_menu(struct wmOperatorType *ot)
void VIEW3D_OT_cursor3d(struct wmOperatorType *ot)
void view3d_buttons_register(struct ARegionType *art)
void VIEW3D_GGT_mesh_preselect_elem(struct wmGizmoGroupType *gzgt)
void view3d_main_region_draw(const struct bContext *C, struct ARegion *region)
void VIEW3D_OT_ruler_add(struct wmOperatorType *ot)
void VIEW3D_OT_view_center_lock(struct wmOperatorType *ot)
void VIEW3D_OT_fly(struct wmOperatorType *ot)
void VIEW3D_OT_select_circle(struct wmOperatorType *ot)
const char * view3d_context_dir[]
void VIEW3D_OT_select_lasso(struct wmOperatorType *ot)
void VIEW3D_OT_dolly(struct wmOperatorType *ot)
void fly_modal_keymap(struct wmKeyConfig *keyconf)
void ED_view3d_cameracontrol_release(struct View3DCameraControl *vctrl, const bool restore)
struct Object * ED_view3d_cameracontrol_object_get(struct View3DCameraControl *vctrl)
void viewrotate_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_GGT_empty_image(struct wmGizmoGroupType *gzgt)
void VIEW3D_OT_snap_cursor_to_grid(struct wmOperatorType *ot)
void VIEW3D_OT_navigate(struct wmOperatorType *ot)
void ED_view3d_smooth_view_ex(const struct Depsgraph *depsgraph, struct wmWindowManager *wm, struct wmWindow *win, struct ScrArea *area, struct View3D *v3d, struct ARegion *region, const int smooth_viewtx, const V3D_SmoothParams *sview)
void VIEW3D_OT_zoom_border(struct wmOperatorType *ot)
void VIEW3D_GGT_light_spot(struct wmGizmoGroupType *gzgt)
void VIEW3D_OT_view_camera(struct wmOperatorType *ot)
void ED_view3d_draw_depth_loop(struct Depsgraph *depsgraph, Scene *scene, struct ARegion *region, View3D *v3d)
void VIEW3D_OT_clear_render_border(struct wmOperatorType *ot)
void VIEW3D_GGT_light_target(struct wmGizmoGroupType *gzgt)
void VIEW3D_GGT_armature_spline(struct wmGizmoGroupType *gzgt)
void VIEW3D_GGT_camera(struct wmGizmoGroupType *gzgt)
void VIEW3D_GGT_navigate(struct wmGizmoGroupType *gzgt)
void VIEW3D_OT_localview(struct wmOperatorType *ot)
bool ED_view3d_boundbox_clip(RegionView3D *rv3d, const struct BoundBox *bb)
void VIEW3D_GGT_mesh_preselect_edgering(struct wmGizmoGroupType *gzgt)
void VIEW3D_OT_view_roll(struct wmOperatorType *ot)
void VIEW3D_OT_object_mode_pie_or_toggle(struct wmOperatorType *ot)
void VIEW3D_OT_snap_cursor_to_center(struct wmOperatorType *ot)
void VIEW3D_OT_interactive_add(struct wmOperatorType *ot)
void VIEW3D_OT_object_as_camera(struct wmOperatorType *ot)
void VIEW3D_OT_localview_remove_from(struct wmOperatorType *ot)
void view3d_boxview_copy(struct ScrArea *area, struct ARegion *region)
void viewplace_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_OT_view_lock_clear(struct wmOperatorType *ot)
void view3d_viewmatrix_set(struct Depsgraph *depsgraph, const struct Scene *scene, const View3D *v3d, RegionView3D *rv3d, const float rect_scale[2])
void viewzoom_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_OT_snap_cursor_to_active(struct wmOperatorType *ot)
void view3d_update_depths_rect(struct ARegion *region, struct ViewDepths *d, struct rcti *rect)
void VIEW3D_OT_view_axis(struct wmOperatorType *ot)
bool ED_view3d_boundbox_clip_ex(const RegionView3D *rv3d, const struct BoundBox *bb, float obmat[4][4])
void VIEW3D_OT_rotate(struct wmOperatorType *ot)
void VIEW3D_OT_view_selected(struct wmOperatorType *ot)
void VIEW3D_OT_move(struct wmOperatorType *ot)
void VIEW3D_OT_view_center_camera(struct wmOperatorType *ot)
void VIEW3D_GGT_tool_generic_handle_free(struct wmGizmoGroupType *gzgt)
void VIEW3D_GGT_force_field(struct wmGizmoGroupType *gzgt)