GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
mpeg4_sensors.c File Reference
+ Include dependency graph for mpeg4_sensors.c:

Data Structures

struct  AnchorStack
 
struct  DiscSensorStack
 
struct  PS2DStack
 
struct  Prox2DStack
 
struct  TouchSensorStack
 
struct  PSStack
 
struct  CylinderSensorStack
 
struct  SphereSensorStack
 

Functions

static void mpeg4_sensor_deleted (GF_Node *node, GF_SensorHandler *hdl)
 
static void mpeg4_sensor_created (GF_Compositor *compositor, GF_Node *node)
 
static void TraverseAnchor (GF_Node *node, void *rs, Bool is_destroy)
 
static void anchor_activation (GF_Node *node, AnchorStack *st, GF_Compositor *compositor)
 
static Bool OnAnchor (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static Bool anchor_is_enabled (GF_Node *node)
 
static void on_activate_anchor (GF_Node *node, GF_Route *route)
 
GF_SensorHandlergf_sc_anchor_get_handler (GF_Node *n)
 
void compositor_init_anchor (GF_Compositor *compositor, GF_Node *node)
 
static void DestroyDiscSensor (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool ds_is_enabled (GF_Node *n)
 
static Bool OnDiscSensor (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static GF_SensorHandlerdisc_sensor_get_handler (GF_Node *n)
 
void compositor_init_disc_sensor (GF_Compositor *compositor, GF_Node *node)
 
static void DestroyPlaneSensor2D (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool ps2D_is_enabled (GF_Node *n)
 
static Bool OnPlaneSensor2D (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static GF_SensorHandlerplane_sensor2d_get_handler (GF_Node *n)
 
void compositor_init_plane_sensor2d (GF_Compositor *compositor, GF_Node *node)
 
static void DestroyProximitySensor2D (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool prox2D_is_enabled (GF_Node *n)
 
static Bool prox2D_is_in_sensor (Prox2DStack *st, M_ProximitySensor2D *ps, Fixed X, Fixed Y)
 
static Bool OnProximitySensor2D (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static GF_SensorHandlerproximity_sensor2d_get_handler (GF_Node *n)
 
void compositor_init_proximity_sensor2d (GF_Compositor *compositor, GF_Node *node)
 
static void DestroyTouchSensor (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool ts_is_enabled (GF_Node *n)
 
static Bool OnTouchSensor (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static GF_SensorHandlertouch_sensor_get_handler (GF_Node *n)
 
void compositor_init_touch_sensor (GF_Compositor *compositor, GF_Node *node)
 
void TraverseProximitySensor (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_proximity_sensor (GF_Compositor *compositor, GF_Node *node)
 
static void DestroyPlaneSensor (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool ps_is_enabled (GF_Node *n)
 
static Bool OnPlaneSensor (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static GF_SensorHandlerplane_sensor_get_handler (GF_Node *n)
 
void compositor_init_plane_sensor (GF_Compositor *compositor, GF_Node *node)
 
static void DestroyCylinderSensor (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool cs_is_enabled (GF_Node *n)
 
static Bool OnCylinderSensor (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static GF_SensorHandlercylinder_sensor_get_handler (GF_Node *n)
 
void compositor_init_cylinder_sensor (GF_Compositor *compositor, GF_Node *node)
 
static void DestroySphereSensor (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool sphere_is_enabled (GF_Node *n)
 
static Bool OnSphereSensor (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static GF_SensorHandlersphere_get_handler (GF_Node *n)
 
void compositor_init_sphere_sensor (GF_Compositor *compositor, GF_Node *node)
 
void TraverseVisibilitySensor (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_visibility_sensor (GF_Compositor *compositor, GF_Node *node)
 
GF_SensorHandlercompositor_mpeg4_get_sensor_handler (GF_Node *n)
 
Bool compositor_mpeg4_is_sensor_node (GF_Node *node)
 
static void traverse_envtest (GF_Node *node, void *rs, Bool is_destroy)
 
void envtest_evaluate (GF_Node *node, GF_Route *_route)
 
void compositor_evaluate_envtests (GF_Compositor *compositor, u32 param_type)
 
void compositor_init_envtest (GF_Compositor *compositor, GF_Node *node)
 
void compositor_envtest_modified (GF_Node *node)
 

Data Structure Documentation

struct AnchorStack
+ Collaboration diagram for AnchorStack:
Data Fields
u32 flags
GF_Rect bounds
GF_List * sensors
Bool enabled
Bool active
Bool over
GF_SensorHandler hdl
GF_Compositor * compositor
struct DiscSensorStack
+ Collaboration diagram for DiscSensorStack:
Data Fields
GF_SensorHandler hdl
GF_Compositor * compositor
Fixed start_angle
GF_Matrix initial_matrix
struct PS2DStack
+ Collaboration diagram for PS2DStack:
Data Fields
SFVec2f start_drag
GF_Matrix initial_matrix
GF_Compositor * compositor
GF_SensorHandler hdl
struct Prox2DStack
+ Collaboration diagram for Prox2DStack:
Data Fields
Double last_time
GF_Compositor * compositor
GF_SensorHandler hdl
struct TouchSensorStack
+ Collaboration diagram for TouchSensorStack:
Data Fields
GF_SensorHandler hdl
Bool mouse_down
GF_Compositor * compositor
struct PSStack
+ Collaboration diagram for PSStack:
Data Fields
SFVec3f start_drag
GF_Plane tracker
GF_Matrix initial_matrix
GF_Compositor * compositor
GF_SensorHandler hdl
struct CylinderSensorStack
+ Collaboration diagram for CylinderSensorStack:
Data Fields
GF_SensorHandler hdl
GF_Compositor * compositor
GF_Matrix init_matrix
Bool disk_mode
SFVec3f grab_start
GF_Plane yplane
GF_Plane zplane
GF_Plane xplane
struct SphereSensorStack
+ Collaboration diagram for SphereSensorStack:
Data Fields
GF_SensorHandler hdl
GF_Compositor * compositor
Fixed radius
SFVec3f grab_vec
SFVec3f center

Function Documentation

static void mpeg4_sensor_deleted ( GF_Node node,
GF_SensorHandler hdl 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void mpeg4_sensor_created ( GF_Compositor *  compositor,
GF_Node node 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TraverseAnchor ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void anchor_activation ( GF_Node node,
AnchorStack st,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool OnAnchor ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool anchor_is_enabled ( GF_Node node)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void on_activate_anchor ( GF_Node node,
GF_Route *  route 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SensorHandler* gf_sc_anchor_get_handler ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_anchor ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DestroyDiscSensor ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool ds_is_enabled ( GF_Node n)
static

+ Here is the caller graph for this function:

static Bool OnDiscSensor ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_SensorHandler* disc_sensor_get_handler ( GF_Node n)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_disc_sensor ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DestroyPlaneSensor2D ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool ps2D_is_enabled ( GF_Node n)
static

+ Here is the caller graph for this function:

static Bool OnPlaneSensor2D ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_SensorHandler* plane_sensor2d_get_handler ( GF_Node n)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_plane_sensor2d ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DestroyProximitySensor2D ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool prox2D_is_enabled ( GF_Node n)
static

+ Here is the caller graph for this function:

static Bool prox2D_is_in_sensor ( Prox2DStack st,
M_ProximitySensor2D ps,
Fixed  X,
Fixed  Y 
)
static

+ Here is the caller graph for this function:

static Bool OnProximitySensor2D ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_SensorHandler* proximity_sensor2d_get_handler ( GF_Node n)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_proximity_sensor2d ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DestroyTouchSensor ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool ts_is_enabled ( GF_Node n)
static

+ Here is the caller graph for this function:

static Bool OnTouchSensor ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_SensorHandler* touch_sensor_get_handler ( GF_Node n)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_touch_sensor ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TraverseProximitySensor ( GF_Node node,
void *  rs,
Bool  is_destroy 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_proximity_sensor ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DestroyPlaneSensor ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool ps_is_enabled ( GF_Node n)
static

+ Here is the caller graph for this function:

static Bool OnPlaneSensor ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_SensorHandler* plane_sensor_get_handler ( GF_Node n)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_plane_sensor ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DestroyCylinderSensor ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool cs_is_enabled ( GF_Node n)
static

+ Here is the caller graph for this function:

static Bool OnCylinderSensor ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_SensorHandler* cylinder_sensor_get_handler ( GF_Node n)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_cylinder_sensor ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DestroySphereSensor ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool sphere_is_enabled ( GF_Node n)
static

+ Here is the caller graph for this function:

static Bool OnSphereSensor ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_SensorHandler* sphere_get_handler ( GF_Node n)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_sphere_sensor ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TraverseVisibilitySensor ( GF_Node node,
void *  rs,
Bool  is_destroy 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_visibility_sensor ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SensorHandler* compositor_mpeg4_get_sensor_handler ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool compositor_mpeg4_is_sensor_node ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void traverse_envtest ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void envtest_evaluate ( GF_Node node,
GF_Route *  _route 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_evaluate_envtests ( GF_Compositor *  compositor,
u32  param_type 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_envtest ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_envtest_modified ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: