libgpac
Documentation of the core library of GPAC
navigate.c File Reference
#include "nodes_stacks.h"
#include "visual_manager.h"
+ Include dependency graph for navigate.c:

Macros

#define JUMP_SCALE_FACTOR   4
 

Functions

static void camera_changed (GF_Compositor *compositor, GF_Camera *cam)
 
static void nav_set_zoom_trans_2d (GF_VisualManager *visual, Fixed zoom, Fixed dx, Fixed dy)
 
static void gf_mx_rotation_matrix (GF_Matrix *mx, SFVec3f axis_pt, SFVec3f axis, Fixed angle)
 
static void view_orbit_x (GF_Compositor *compositor, GF_Camera *cam, Fixed dx)
 
static void view_orbit_y (GF_Compositor *compositor, GF_Camera *cam, Fixed dy)
 
static void view_exam_x (GF_Compositor *compositor, GF_Camera *cam, Fixed dx)
 
static void view_exam_y (GF_Compositor *compositor, GF_Camera *cam, Fixed dy)
 
static void view_roll (GF_Compositor *compositor, GF_Camera *cam, Fixed dd)
 
static void update_pan_up (GF_Compositor *compositor, GF_Camera *cam)
 
static void view_pan_x (GF_Compositor *compositor, GF_Camera *cam, Fixed dx)
 
static void view_pan_y (GF_Compositor *compositor, GF_Camera *cam, Fixed dy)
 
static void view_translate_x (GF_Compositor *compositor, GF_Camera *cam, Fixed dx)
 
static void view_translate_y (GF_Compositor *compositor, GF_Camera *cam, Fixed dy)
 
static void view_translate_z (GF_Compositor *compositor, GF_Camera *cam, Fixed dz)
 
static void view_zoom (GF_Compositor *compositor, GF_Camera *cam, Fixed z)
 
Bool gf_sc_fit_world_to_screen (GF_Compositor *compositor)
 
static void handle_mouse_move_3d (GF_Compositor *compositor, GF_Camera *cam, u32 keys, Fixed dx, Fixed dy)
 
static Bool compositor_handle_navigation_3d (GF_Compositor *compositor, GF_Event *ev)
 
static Bool compositor_handle_navigation_2d (GF_VisualManager *visual, GF_Event *ev)
 
void compositor_handle_auto_navigation (GF_Compositor *compositor)
 
Bool compositor_handle_navigation (GF_Compositor *compositor, GF_Event *ev)
 

Macro Definition Documentation

◆ JUMP_SCALE_FACTOR

#define JUMP_SCALE_FACTOR   4

Function Documentation

◆ camera_changed()

static void camera_changed ( GF_Compositor *  compositor,
GF_Camera cam 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nav_set_zoom_trans_2d()

static void nav_set_zoom_trans_2d ( GF_VisualManager *  visual,
Fixed  zoom,
Fixed  dx,
Fixed  dy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_mx_rotation_matrix()

static void gf_mx_rotation_matrix ( GF_Matrix mx,
SFVec3f  axis_pt,
SFVec3f  axis,
Fixed  angle 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_orbit_x()

static void view_orbit_x ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_orbit_y()

static void view_orbit_y ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_exam_x()

static void view_exam_x ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_exam_y()

static void view_exam_y ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_roll()

static void view_roll ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update_pan_up()

static void update_pan_up ( GF_Compositor *  compositor,
GF_Camera cam 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_pan_x()

static void view_pan_x ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_pan_y()

static void view_pan_y ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_translate_x()

static void view_translate_x ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_translate_y()

static void view_translate_y ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_translate_z()

static void view_translate_z ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  dz 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view_zoom()

static void view_zoom ( GF_Compositor *  compositor,
GF_Camera cam,
Fixed  z 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_fit_world_to_screen()

Bool gf_sc_fit_world_to_screen ( GF_Compositor *  compositor)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handle_mouse_move_3d()

static void handle_mouse_move_3d ( GF_Compositor *  compositor,
GF_Camera cam,
u32  keys,
Fixed  dx,
Fixed  dy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_handle_navigation_3d()

static Bool compositor_handle_navigation_3d ( GF_Compositor *  compositor,
GF_Event ev 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_handle_navigation_2d()

static Bool compositor_handle_navigation_2d ( GF_VisualManager *  visual,
GF_Event ev 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_handle_auto_navigation()

void compositor_handle_auto_navigation ( GF_Compositor *  compositor)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_handle_navigation()

Bool compositor_handle_navigation ( GF_Compositor *  compositor,
GF_Event ev 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: