14 #define V3D_OP_TRACKBALLSIZE (1.1f)
145 const float ofs_old[3],
146 const float viewquat_old[4],
147 const float viewquat_new[4],
148 const float dyn_ofs[3]);
193 #ifdef WITH_INPUT_NDOF
194 struct wmNDOFMotionData;
199 void view3d_ndof_fly(
const struct wmNDOFMotionData *ndof,
204 bool *r_has_translate,
275 const char *undo_str,
struct Depsgraph Depsgraph
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
const Depsgraph * depsgraph
static void area(int d1, int d2, int e1, int e2, float weights[2])
struct Object * camera_old
struct ViewOpsData::@578 curr
struct RegionView3D * rv3d
struct ViewOpsData::@577 prev
struct Depsgraph * depsgraph
struct ViewOpsData::@576 init
@ VIEWROT_MODAL_SWITCH_ROTATE
@ VIEWROT_MODAL_AXIS_SNAP_ENABLE
@ VIEWROT_MODAL_SWITCH_MOVE
@ VIEWROT_MODAL_SWITCH_ZOOM
@ VIEWROT_MODAL_AXIS_SNAP_DISABLE
void view3d_keymap(struct wmKeyConfig *keyconf)
void viewdolly_modal_keymap(struct wmKeyConfig *keyconf)
struct ViewOpsData ViewOpsData
void VIEW3D_OT_view_orbit(struct wmOperatorType *ot)
void VIEW3D_OT_walk(struct wmOperatorType *ot)
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)
void ED_view3d_smooth_view(struct bContext *C, struct View3D *v3d, struct ARegion *region, int smooth_viewtx, const V3D_SmoothParams *sview)
@ VIEWOPS_FLAG_USE_MOUSE_INIT
@ VIEWOPS_FLAG_ORBIT_SELECT
@ VIEWOPS_FLAG_DEPTH_NAVIGATE
@ VIEWOPS_FLAG_PERSP_ENSURE
bool view3d_location_poll(struct bContext *C)
void ED_view3d_smooth_view_force_finish(struct bContext *C, struct View3D *v3d, struct ARegion *region)
void viewmove_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_OT_view_pan(struct wmOperatorType *ot)
void VIEW3D_OT_view_all(struct wmOperatorType *ot)
bool view3d_orbit_calc_center(struct bContext *C, float r_dyn_ofs[3])
void VIEW3D_OT_smoothview(struct wmOperatorType *ot)
struct V3D_SmoothParams V3D_SmoothParams
void VIEW3D_OT_zoom(struct wmOperatorType *ot)
void walk_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_OT_view_center_pick(struct wmOperatorType *ot)
enum eViewOpsFlag viewops_flag_from_prefs(void)
void viewmove_apply(ViewOpsData *vod, int x, int y)
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, int smooth_viewtx, const V3D_SmoothParams *sview)
void calctrackballvec(const struct rcti *rect, const int event_xy[2], float r_dir[3])
bool view3d_zoom_or_dolly_poll(struct bContext *C)
@ V3D_OP_PROP_USE_MOUSE_INIT
@ V3D_OP_PROP_USE_ALL_REGIONS
void VIEW3D_OT_fly(struct wmOperatorType *ot)
void view3d_operator_properties_common(struct wmOperatorType *ot, const enum eV3D_OpPropFlag flag)
void VIEW3D_OT_dolly(struct wmOperatorType *ot)
void fly_modal_keymap(struct wmKeyConfig *keyconf)
void viewrotate_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_OT_zoom_border(struct wmOperatorType *ot)
void VIEW3D_OT_view_camera(struct wmOperatorType *ot)
void ED_view3d_smooth_view_undo_end(struct bContext *C, struct ScrArea *area, const char *undo_str, bool undo_grouped)
void VIEW3D_OT_view_roll(struct wmOperatorType *ot)
void viewrotate_apply_dyn_ofs(ViewOpsData *vod, const float viewquat_new[4])
void viewops_data_free(struct bContext *C, ViewOpsData *vod)
ViewOpsData * viewops_data_create(struct bContext *C, const struct wmEvent *event, enum eViewOpsFlag viewops_flag)
void viewzoom_modal_keymap(struct wmKeyConfig *keyconf)
void VIEW3D_OT_view_axis(struct wmOperatorType *ot)
bool view3d_rotation_poll(struct bContext *C)
void ED_view3d_smooth_view_undo_begin(struct bContext *C, struct ScrArea *area)
void VIEW3D_OT_rotate(struct wmOperatorType *ot)
void VIEW3D_OT_view_selected(struct wmOperatorType *ot)
void VIEW3D_OT_move(struct wmOperatorType *ot)