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
scenegraph.h File Reference
#include <gpac/list.h>
#include <gpac/math.h>
+ Include dependency graph for scenegraph.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  GF_Node
 
struct  GF_ChildNodeItem
 
struct  GF_ParentNode
 
struct  GF_FieldInfo
 
struct  GF_JSAPIURI
 
struct  GF_JSAPIOPT
 
struct  GF_JSAPIINFO
 
union  GF_JSAPIParam
 
struct  GF_CommandField
 
struct  GF_Command
 
union  GF_Command.__unnamed__
 
union  GF_Command.__unnamed__
 
union  GF_Command.__unnamed__
 
union  GF_Command.__unnamed__
 
union  GF_Command.__unnamed__
 
union  GF_Command.__unnamed__
 
union  GF_Command.__unnamed__
 

Macros

#define BASE_NODE   struct _nodepriv *sgprivate;
 
#define CHILDREN   struct _child_node *children;
 

Typedefs

typedef Bool(* gf_sg_script_action )(void *callback, u32 type, GF_Node *node, GF_JSAPIParam *param)
 

Enumerations

enum  {
  TAG_UndefinedNode = 0, TAG_ProtoNode, GF_NODE_RANGE_FIRST_MPEG4, GF_NODE_RANGE_LAST_MPEG4 = GF_NODE_RANGE_FIRST_MPEG4+512,
  GF_NODE_RANGE_FIRST_X3D, GF_NODE_RANGE_LAST_X3D = GF_NODE_RANGE_FIRST_X3D+512, GF_NODE_RANGE_LAST_VRML, TAG_DOMUpdates,
  GF_NODE_FIRST_PARENT_NODE_TAG, TAG_DOMText, GF_NODE_FIRST_DOM_NODE_TAG, TAG_DOMFullNode = GF_NODE_FIRST_DOM_NODE_TAG,
  GF_NODE_RANGE_FIRST_SVG, GF_NODE_RANGE_LAST_SVG = GF_NODE_RANGE_FIRST_SVG+100, GF_NODE_RANGE_FIRST_XBL, TAG_XBL_bindings = GF_NODE_RANGE_FIRST_XBL,
  TAG_XBL_binding, TAG_XBL_content, TAG_XBL_children, TAG_XBL_implementation,
  TAG_XBL_constructor, TAG_XBL_destructor, TAG_XBL_field, TAG_XBL_property,
  TAG_XBL_getter, TAG_XBL_setter, TAG_XBL_method, TAG_XBL_parameter,
  TAG_XBL_body, TAG_XBL_handlers, TAG_XBL_handler, TAG_XBL_resources,
  TAG_XBL_stylesheet, TAG_XBL_image, GF_NODE_RANGE_LAST_XBL
}
 
enum  {
  GF_SG_NODE_DIRTY = 1, GF_SG_CHILD_DIRTY = 1<<1, GF_SG_VRML_BINDABLE_DIRTY = 1<<2, GF_SG_VRML_COLOR_DIRTY = 1<<3,
  GF_SG_SVG_GEOMETRY_DIRTY = GF_SG_NODE_DIRTY, GF_SG_SVG_COLOR_DIRTY = 1<<2, GF_SG_SVG_DISPLAYALIGN_DIRTY = 1<<3, GF_SG_SVG_FILL_DIRTY = 1<<4,
  GF_SG_SVG_FILLOPACITY_DIRTY = 1<<5, GF_SG_SVG_FILLRULE_DIRTY = 1<<6, GF_SG_SVG_FONTFAMILY_DIRTY = 1<<7, GF_SG_SVG_FONTSIZE_DIRTY = 1<<8,
  GF_SG_SVG_FONTSTYLE_DIRTY = 1<<9, GF_SG_SVG_FONTVARIANT_DIRTY = 1<<10, GF_SG_SVG_FONTWEIGHT_DIRTY = 1<<11, GF_SG_SVG_LINEINCREMENT_DIRTY = 1<<12,
  GF_SG_SVG_OPACITY_DIRTY = 1<<13, GF_SG_SVG_SOLIDCOLOR_OR_OPACITY_DIRTY = 1<<14, GF_SG_SVG_STOPCOLOR_OR_OPACITY_DIRTY = 1<<15, GF_SG_SVG_STROKE_DIRTY = 1<<16,
  GF_SG_SVG_STROKEDASHARRAY_DIRTY = 1<<17, GF_SG_SVG_STROKEDASHOFFSET_DIRTY = 1<<18, GF_SG_SVG_STROKELINECAP_DIRTY = 1<<19, GF_SG_SVG_STROKELINEJOIN_DIRTY = 1<<20,
  GF_SG_SVG_STROKEMITERLIMIT_DIRTY = 1<<21, GF_SG_SVG_STROKEOPACITY_DIRTY = 1<<22, GF_SG_SVG_STROKEWIDTH_DIRTY = 1<<23, GF_SG_SVG_TEXTPOSITION_DIRTY = 1<<24,
  GF_SG_SVG_DISPLAY_DIRTY = 1<<25, GF_SG_SVG_VECTOREFFECT_DIRTY = 1<<26, GF_SG_SVG_XLINK_HREF_DIRTY = 1<<27
}
 
enum  { GF_SG_CALLBACK_INIT = 0, GF_SG_CALLBACK_MODIFIED, GF_SG_CALLBACK_GRAPH_DIRTY }
 
enum  {
  GF_SG_FOCUS_AUTO = 1, GF_SG_FOCUS_NEXT, GF_SG_FOCUS_PREV, GF_SG_FOCUS_NORTH,
  GF_SG_FOCUS_NORTH_EAST, GF_SG_FOCUS_EAST, GF_SG_FOCUS_SOUTH_EAST, GF_SG_FOCUS_SOUTH,
  GF_SG_FOCUS_SOUTH_WEST, GF_SG_FOCUS_WEST, GF_SG_FOCUS_NORTH_WEST
}
 
enum  {
  GF_JSAPI_OP_MESSAGE, GF_JSAPI_OP_RESOLVE_URI, GF_JSAPI_OP_GET_SCALE, GF_JSAPI_OP_SET_SCALE,
  GF_JSAPI_OP_GET_ROTATION, GF_JSAPI_OP_SET_ROTATION, GF_JSAPI_OP_GET_TRANSLATE, GF_JSAPI_OP_SET_TRANSLATE,
  GF_JSAPI_OP_GET_TIME, GF_JSAPI_OP_SET_TIME, GF_JSAPI_OP_GET_VIEWPORT, GF_JSAPI_OP_GET_LOCAL_BBOX,
  GF_JSAPI_OP_GET_SCREEN_BBOX, GF_JSAPI_OP_GET_TRANSFORM, GF_JSAPI_OP_MOVE_FOCUS, GF_JSAPI_OP_GET_FOCUS,
  GF_JSAPI_OP_SET_FOCUS, GF_JSAPI_OP_LOAD_URL, GF_JSAPI_OP_GET_OPT, GF_JSAPI_OP_SET_OPT,
  GF_JSAPI_OP_GET_DOWNLOAD_MANAGER, GF_JSAPI_OP_GET_SPEED, GF_JSAPI_OP_GET_FPS, GF_JSAPI_OP_SET_TITLE,
  GF_JSAPI_OP_GET_DCCI, GF_JSAPI_OP_GET_SUBSCENE, GF_JSAPI_OP_RESOLVE_XLINK, GF_JSAPI_OP_GET_TERM,
  GF_JSAPI_OP_PAUSE_SVG, GF_JSAPI_OP_RESUME_SVG, GF_JSAPI_OP_RESTART_SVG, GF_JSAPI_OP_SET_SCENE_SPEED,
  GF_JSAPI_OP_GET_DPI_X, GF_JSAPI_OP_GET_DPI_Y
}
 
enum  {
  GF_SG_RESERVED = 0, GF_SG_SCENE_REPLACE, GF_SG_NODE_REPLACE, GF_SG_FIELD_REPLACE,
  GF_SG_INDEXED_REPLACE, GF_SG_ROUTE_REPLACE, GF_SG_NODE_DELETE, GF_SG_INDEXED_DELETE,
  GF_SG_ROUTE_DELETE, GF_SG_NODE_INSERT, GF_SG_INDEXED_INSERT, GF_SG_ROUTE_INSERT,
  GF_SG_PROTO_INSERT, GF_SG_PROTO_DELETE, GF_SG_PROTO_DELETE_ALL, GF_SG_MULTIPLE_REPLACE,
  GF_SG_MULTIPLE_INDEXED_REPLACE, GF_SG_GLOBAL_QUANTIZER, GF_SG_NODE_DELETE_EX, GF_SG_XREPLACE,
  GF_SG_LAST_BIFS_COMMAND, GF_SG_LSR_NEW_SCENE, GF_SG_LSR_REFRESH_SCENE, GF_SG_LSR_ADD,
  GF_SG_LSR_CLEAN, GF_SG_LSR_REPLACE, GF_SG_LSR_DELETE, GF_SG_LSR_INSERT,
  GF_SG_LSR_RESTORE, GF_SG_LSR_SAVE, GF_SG_LSR_SEND_EVENT, GF_SG_LSR_ACTIVATE,
  GF_SG_LSR_DEACTIVATE, GF_SG_UNDEFINED
}
 

Functions

GF_Err gf_node_list_add_child (GF_ChildNodeItem **list, GF_Node *n)
 
GF_Err gf_node_list_add_child_last (GF_ChildNodeItem **list, GF_Node *n, GF_ChildNodeItem **last_child)
 
GF_Err gf_node_list_insert_child (GF_ChildNodeItem **list, GF_Node *n, u32 pos)
 
Bool gf_node_list_del_child (GF_ChildNodeItem **list, GF_Node *n)
 
s32 gf_node_list_find_child (GF_ChildNodeItem *list, GF_Node *n)
 
GF_Nodegf_node_list_get_child (GF_ChildNodeItem *list, s32 pos)
 
u32 gf_node_list_get_count (GF_ChildNodeItem *list)
 
GF_Nodegf_node_list_del_child_idx (GF_ChildNodeItem **list, u32 pos)
 
u32 gf_node_get_tag (GF_Node *)
 
GF_Err gf_node_set_id (GF_Node *n, u32 nodeID, const char *nodeDEFName)
 
const char * gf_node_get_name (GF_Node *)
 
const char * gf_node_get_log_name (GF_Node *)
 
u32 gf_node_get_id (GF_Node *)
 
const char * gf_node_get_class_name (GF_Node *Node)
 
u32 gf_sg_node_get_tag_by_class_name (const char *name, u32 xmlns)
 
GF_Err gf_node_remove_id (GF_Node *p)
 
void * gf_node_get_private (GF_Node *)
 
void gf_node_set_private (GF_Node *, void *)
 
GF_Err gf_node_set_callback_function (GF_Node *, void(*NodeFunction)(GF_Node *node, void *traverse_state, Bool is_destroy))
 
GF_Err gf_node_register (GF_Node *node, GF_Node *parent_node)
 
GF_Err gf_node_unregister (GF_Node *node, GF_Node *parent_node)
 
void gf_node_unregister_children (GF_Node *node, GF_ChildNodeItem *childrenlist)
 
GF_Err gf_node_replace (GF_Node *old_node, GF_Node *new_node, Bool updateOrderedGroup)
 
u32 gf_node_get_num_instances (GF_Node *node)
 
void gf_node_traverse (GF_Node *node, void *udta)
 
void gf_node_allow_cyclic_traverse (GF_Node *node)
 
Bool gf_node_set_cyclic_traverse_flag (GF_Node *node, Bool on)
 
void gf_node_traverse_children (GF_Node *node, void *renderStack)
 
u32 gf_node_get_parent_count (GF_Node *node)
 
GF_Nodegf_node_get_parent (GF_Node *node, u32 idx)
 
Bool gf_node_parent_of (GF_Node *node, GF_Node *target)
 
void gf_node_dirty_set (GF_Node *node, u32 flags, Bool dirty_parents)
 
void gf_node_dirty_parents (GF_Node *node)
 
void gf_node_dirty_clear (GF_Node *node, u32 flags)
 
void gf_node_dirty_reset (GF_Node *node, Bool reset_children)
 
u32 gf_node_dirty_get (GF_Node *node)
 
u32 gf_node_get_field_count (GF_Node *node)
 
GF_Err gf_node_get_field (GF_Node *node, u32 FieldIndex, GF_FieldInfo *info)
 
GF_Err gf_node_get_field_by_name (GF_Node *node, char *name, GF_FieldInfo *field)
 
GF_SceneGraph * gf_sg_new ()
 
GF_SceneGraph * gf_sg_new_subscene (GF_SceneGraph *scene)
 
void gf_sg_del (GF_SceneGraph *sg)
 
void gf_sg_reset (GF_SceneGraph *sg)
 
GF_Err gf_sg_new_from_xml_doc (const char *src, GF_SceneGraph **scene)
 
void gf_sg_set_private (GF_SceneGraph *sg, void *user_priv)
 
void * gf_sg_get_private (GF_SceneGraph *sg)
 
void gf_sg_set_scene_time_callback (GF_SceneGraph *scene, Double(*GetSceneTime)(void *user_priv))
 
void gf_sg_set_node_callback (GF_SceneGraph *sg, void(*NodeCallback)(void *user_priv, u32 type, GF_Node *node, void *ctxdata))
 
GF_Nodegf_sg_get_root_node (GF_SceneGraph *sg)
 
void gf_sg_set_root_node (GF_SceneGraph *sg, GF_Node *node)
 
GF_Nodegf_sg_find_node (GF_SceneGraph *sg, u32 nodeID)
 
GF_Nodegf_sg_find_node_by_name (GF_SceneGraph *sg, char *name)
 
void gf_node_changed (GF_Node *node, GF_FieldInfo *fieldChanged)
 
GF_SceneGraph * gf_node_get_graph (GF_Node *node)
 
void gf_sg_set_scene_size_info (GF_SceneGraph *sg, u32 width, u32 Height, Bool usePixelMetrics)
 
Bool gf_sg_use_pixel_metrics (GF_SceneGraph *sg)
 
Bool gf_sg_get_scene_size_info (GF_SceneGraph *sg, u32 *width, u32 *Height)
 
GF_Nodegf_node_new (GF_SceneGraph *sg, u32 tag)
 
void gf_node_init (GF_Node *node)
 
GF_Nodegf_node_clone (GF_SceneGraph *inScene, GF_Node *orig, GF_Node *cloned_parent, char *id_suffix, Bool deep)
 
Double gf_node_get_scene_time (GF_Node *node)
 
u32 gf_sg_get_next_available_node_id (GF_SceneGraph *sg)
 
u32 gf_sg_get_max_node_id (GF_SceneGraph *sg)
 
const char * gf_node_get_name_and_id (GF_Node *node, u32 *id)
 
void gf_sg_set_script_action (GF_SceneGraph *scene, gf_sg_script_action script_act, void *cbk)
 
void gf_sg_script_load (GF_Node *script)
 
Bool gf_sg_has_scripting ()
 
char * gf_node_dump_attribute (GF_Node *elt, GF_FieldInfo *info)
 
GF_Commandgf_sg_command_new (GF_SceneGraph *in_scene, u32 tag)
 
void gf_sg_command_del (GF_Command *com)
 
GF_Err gf_sg_command_apply (GF_SceneGraph *inScene, GF_Command *com, Double time_offset)
 
GF_Err gf_sg_command_apply_list (GF_SceneGraph *graph, GF_List *comList, Double time_offset)
 
GF_CommandFieldgf_sg_command_field_new (GF_Command *com)
 

Data Structure Documentation

struct GF_Node
+ Collaboration diagram for GF_Node:
Data Fields
struct _nodepriv * sgprivate
struct GF_ChildNodeItem
+ Collaboration diagram for GF_ChildNodeItem:
Data Fields
struct _child_node * next
GF_Node * node
struct GF_ParentNode
+ Collaboration diagram for GF_ParentNode:
Data Fields
struct _nodepriv * sgprivate
struct _child_node * children
struct GF_JSAPIURI
+ Collaboration diagram for GF_JSAPIURI:
Data Fields
char * url
const char ** params
u32 nb_params
struct GF_JSAPIOPT
+ Collaboration diagram for GF_JSAPIOPT:
Data Fields
const char * section
const char * key
const char * key_val
struct GF_JSAPIINFO
+ Collaboration diagram for GF_JSAPIINFO:
Data Fields
GF_Err e
const char * msg
union GF_JSAPIParam
+ Collaboration diagram for GF_JSAPIParam:
Data Fields
u32 opt
Fixed val
GF_Point2D pt
GF_Rect rc
Double time
GF_BBox bbox
GF_Matrix mx
GF_JSAPIURI uri
GF_JSAPIOPT gpac_cfg
GF_Node * node
struct __gf_download_manager * dnld_man
GF_SceneGraph * scene
void * term
GF_JSAPIINFO info
struct GF_CommandField
+ Collaboration diagram for GF_CommandField:
Data Fields
u32 fieldIndex
u32 fieldType
void * field_ptr
s32 pos
GF_Node * new_node
GF_ChildNodeItem * node_list
struct GF_Command
+ Collaboration diagram for GF_Command:
Data Fields
GF_SceneGraph * in_scene
u32 tag
GF_Node * node
GF_List * command_fields
GF_List * scripts_to_load
Bool unresolved
char * unres_name
union GF_Command __unnamed__
GF_List * new_proto_list
u32 * del_proto_list
union GF_Command __unnamed__
union GF_Command __unnamed__
union GF_Command __unnamed__
union GF_Command __unnamed__
union GF_Command __unnamed__
union GF_Command __unnamed__
Bool aggregated
Bool never_apply
union GF_Command.__unnamed__
+ Collaboration diagram for GF_Command.__unnamed__:
Data Fields
Bool use_names
u32 RouteID
s32 ChildNodeTag
union GF_Command.__unnamed__
+ Collaboration diagram for GF_Command.__unnamed__:
Data Fields
u32 del_proto_list_size
u32 child_field
union GF_Command.__unnamed__
+ Collaboration diagram for GF_Command.__unnamed__:
Data Fields
char * def_name
char * send_event_string
union GF_Command.__unnamed__
+ Collaboration diagram for GF_Command.__unnamed__:
Data Fields
u32 fromNodeID
s32 send_event_integer
union GF_Command.__unnamed__
+ Collaboration diagram for GF_Command.__unnamed__:
Data Fields
u32 fromFieldIndex
u32 send_event_name
union GF_Command.__unnamed__
+ Collaboration diagram for GF_Command.__unnamed__:
Data Fields
u32 toNodeID
s32 send_event_x
union GF_Command.__unnamed__
+ Collaboration diagram for GF_Command.__unnamed__:
Data Fields
u32 toFieldIndex
s32 send_event_y

Macro Definition Documentation

#define BASE_NODE   struct _nodepriv *sgprivate;
#define CHILDREN   struct _child_node *children;

Typedef Documentation

typedef Bool(* gf_sg_script_action)(void *callback, u32 type, GF_Node *node, GF_JSAPIParam *param)

Enumeration Type Documentation

anonymous enum
Enumerator
TAG_UndefinedNode 
TAG_ProtoNode 
GF_NODE_RANGE_FIRST_MPEG4 
GF_NODE_RANGE_LAST_MPEG4 
GF_NODE_RANGE_FIRST_X3D 
GF_NODE_RANGE_LAST_X3D 
GF_NODE_RANGE_LAST_VRML 
TAG_DOMUpdates 
GF_NODE_FIRST_PARENT_NODE_TAG 
TAG_DOMText 
GF_NODE_FIRST_DOM_NODE_TAG 
TAG_DOMFullNode 
GF_NODE_RANGE_FIRST_SVG 
GF_NODE_RANGE_LAST_SVG 
GF_NODE_RANGE_FIRST_XBL 
TAG_XBL_bindings 
TAG_XBL_binding 
TAG_XBL_content 
TAG_XBL_children 
TAG_XBL_implementation 
TAG_XBL_constructor 
TAG_XBL_destructor 
TAG_XBL_field 
TAG_XBL_property 
TAG_XBL_getter 
TAG_XBL_setter 
TAG_XBL_method 
TAG_XBL_parameter 
TAG_XBL_body 
TAG_XBL_handlers 
TAG_XBL_handler 
TAG_XBL_resources 
TAG_XBL_stylesheet 
TAG_XBL_image 
GF_NODE_RANGE_LAST_XBL 
anonymous enum
Enumerator
GF_SG_NODE_DIRTY 
GF_SG_CHILD_DIRTY 
GF_SG_VRML_BINDABLE_DIRTY 
GF_SG_VRML_COLOR_DIRTY 
GF_SG_SVG_GEOMETRY_DIRTY 
GF_SG_SVG_COLOR_DIRTY 
GF_SG_SVG_DISPLAYALIGN_DIRTY 
GF_SG_SVG_FILL_DIRTY 
GF_SG_SVG_FILLOPACITY_DIRTY 
GF_SG_SVG_FILLRULE_DIRTY 
GF_SG_SVG_FONTFAMILY_DIRTY 
GF_SG_SVG_FONTSIZE_DIRTY 
GF_SG_SVG_FONTSTYLE_DIRTY 
GF_SG_SVG_FONTVARIANT_DIRTY 
GF_SG_SVG_FONTWEIGHT_DIRTY 
GF_SG_SVG_LINEINCREMENT_DIRTY 
GF_SG_SVG_OPACITY_DIRTY 
GF_SG_SVG_SOLIDCOLOR_OR_OPACITY_DIRTY 
GF_SG_SVG_STOPCOLOR_OR_OPACITY_DIRTY 
GF_SG_SVG_STROKE_DIRTY 
GF_SG_SVG_STROKEDASHARRAY_DIRTY 
GF_SG_SVG_STROKEDASHOFFSET_DIRTY 
GF_SG_SVG_STROKELINECAP_DIRTY 
GF_SG_SVG_STROKELINEJOIN_DIRTY 
GF_SG_SVG_STROKEMITERLIMIT_DIRTY 
GF_SG_SVG_STROKEOPACITY_DIRTY 
GF_SG_SVG_STROKEWIDTH_DIRTY 
GF_SG_SVG_TEXTPOSITION_DIRTY 
GF_SG_SVG_DISPLAY_DIRTY 
GF_SG_SVG_VECTOREFFECT_DIRTY 
GF_SG_SVG_XLINK_HREF_DIRTY 
anonymous enum
Enumerator
GF_SG_CALLBACK_INIT 
GF_SG_CALLBACK_MODIFIED 
GF_SG_CALLBACK_GRAPH_DIRTY 
anonymous enum
Enumerator
GF_SG_FOCUS_AUTO 
GF_SG_FOCUS_NEXT 
GF_SG_FOCUS_PREV 
GF_SG_FOCUS_NORTH 
GF_SG_FOCUS_NORTH_EAST 
GF_SG_FOCUS_EAST 
GF_SG_FOCUS_SOUTH_EAST 
GF_SG_FOCUS_SOUTH 
GF_SG_FOCUS_SOUTH_WEST 
GF_SG_FOCUS_WEST 
GF_SG_FOCUS_NORTH_WEST 
anonymous enum
Enumerator
GF_JSAPI_OP_MESSAGE 

push message from script engine.

GF_JSAPI_OP_RESOLVE_URI 

resolves a given URI.

GF_JSAPI_OP_GET_SCALE 

get current user agent scale.

GF_JSAPI_OP_SET_SCALE 

set current user agent scale.

GF_JSAPI_OP_GET_ROTATION 

get current user agent rotation.

GF_JSAPI_OP_SET_ROTATION 

set current user agent rotation.

GF_JSAPI_OP_GET_TRANSLATE 

get current user agent translation.

GF_JSAPI_OP_SET_TRANSLATE 

set current user agent translation.

GF_JSAPI_OP_GET_TIME 

get node time.

GF_JSAPI_OP_SET_TIME 

set node time.

GF_JSAPI_OP_GET_VIEWPORT 

get current viewport.

GF_JSAPI_OP_GET_LOCAL_BBOX 

get object bounding box in object local coord system.

GF_JSAPI_OP_GET_SCREEN_BBOX 

get object bounding box in world (screen) coord system.

GF_JSAPI_OP_GET_TRANSFORM 

get transform matrix at object.

GF_JSAPI_OP_MOVE_FOCUS 

move focus according to opt value.

GF_JSAPI_OP_GET_FOCUS 

set focus to given node.

GF_JSAPI_OP_SET_FOCUS 

set focus to given node.

GF_JSAPI_OP_LOAD_URL 

replace target scene URL

GF_JSAPI_OP_GET_OPT 

get option by section and key

GF_JSAPI_OP_SET_OPT 

get option by section and key

GF_JSAPI_OP_GET_DOWNLOAD_MANAGER 

retrieve download manager

GF_JSAPI_OP_GET_SPEED 

get navigation speed if any

GF_JSAPI_OP_GET_FPS 

get current frame rate

GF_JSAPI_OP_SET_TITLE 

set current title

GF_JSAPI_OP_GET_DCCI 

gets DCCI scenegraph if any

GF_JSAPI_OP_GET_SUBSCENE 

gets subscene for current node if any

GF_JSAPI_OP_RESOLVE_XLINK 

resolves relative Xlink based on xml:base

GF_JSAPI_OP_GET_TERM 

gets GPAC terminal

GF_JSAPI_OP_PAUSE_SVG 

pauses an SVG element

GF_JSAPI_OP_RESUME_SVG 

resumes an SVG ELEMENT

GF_JSAPI_OP_RESTART_SVG 

restarts an SVG ELEMENT: this restarts all the media tunning on the main timeline

GF_JSAPI_OP_SET_SCENE_SPEED 

sets scene speed

GF_JSAPI_OP_GET_DPI_X 

gets the DPI

GF_JSAPI_OP_GET_DPI_Y 
anonymous enum
Enumerator
GF_SG_RESERVED 
GF_SG_SCENE_REPLACE 
GF_SG_NODE_REPLACE 
GF_SG_FIELD_REPLACE 
GF_SG_INDEXED_REPLACE 
GF_SG_ROUTE_REPLACE 
GF_SG_NODE_DELETE 
GF_SG_INDEXED_DELETE 
GF_SG_ROUTE_DELETE 
GF_SG_NODE_INSERT 
GF_SG_INDEXED_INSERT 
GF_SG_ROUTE_INSERT 
GF_SG_PROTO_INSERT 
GF_SG_PROTO_DELETE 
GF_SG_PROTO_DELETE_ALL 
GF_SG_MULTIPLE_REPLACE 
GF_SG_MULTIPLE_INDEXED_REPLACE 
GF_SG_GLOBAL_QUANTIZER 
GF_SG_NODE_DELETE_EX 
GF_SG_XREPLACE 
GF_SG_LAST_BIFS_COMMAND 
GF_SG_LSR_NEW_SCENE 
GF_SG_LSR_REFRESH_SCENE 
GF_SG_LSR_ADD 
GF_SG_LSR_CLEAN 
GF_SG_LSR_REPLACE 
GF_SG_LSR_DELETE 
GF_SG_LSR_INSERT 
GF_SG_LSR_RESTORE 
GF_SG_LSR_SAVE 
GF_SG_LSR_SEND_EVENT 
GF_SG_LSR_ACTIVATE 
GF_SG_LSR_DEACTIVATE 
GF_SG_UNDEFINED 

Function Documentation

GF_Err gf_node_list_add_child ( GF_ChildNodeItem **  list,
GF_Node n 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_list_add_child_last ( GF_ChildNodeItem **  list,
GF_Node n,
GF_ChildNodeItem **  last_child 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_list_insert_child ( GF_ChildNodeItem **  list,
GF_Node n,
u32  pos 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_node_list_del_child ( GF_ChildNodeItem **  list,
GF_Node n 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 gf_node_list_find_child ( GF_ChildNodeItem list,
GF_Node n 
)

+ Here is the caller graph for this function:

GF_Node* gf_node_list_get_child ( GF_ChildNodeItem list,
s32  pos 
)

+ Here is the caller graph for this function:

u32 gf_node_list_get_count ( GF_ChildNodeItem list)

+ Here is the caller graph for this function:

GF_Node* gf_node_list_del_child_idx ( GF_ChildNodeItem **  list,
u32  pos 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_node_get_tag ( GF_Node )
GF_Err gf_node_set_id ( GF_Node n,
u32  nodeID,
const char *  nodeDEFName 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const char* gf_node_get_name ( GF_Node )

+ Here is the caller graph for this function:

const char* gf_node_get_log_name ( GF_Node )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_node_get_id ( GF_Node )

+ Here is the caller graph for this function:

const char* gf_node_get_class_name ( GF_Node Node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_sg_node_get_tag_by_class_name ( const char *  name,
u32  xmlns 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_remove_id ( GF_Node p)

+ Here is the call graph for this function:

void* gf_node_get_private ( GF_Node )
void gf_node_set_private ( GF_Node ,
void *   
)
GF_Err gf_node_set_callback_function ( GF_Node ,
void(*)(GF_Node *node, void *traverse_state, Bool is_destroy)  NodeFunction 
)
GF_Err gf_node_register ( GF_Node node,
GF_Node parent_node 
)

+ Here is the call graph for this function:

GF_Err gf_node_unregister ( GF_Node node,
GF_Node parent_node 
)

+ Here is the call graph for this function:

void gf_node_unregister_children ( GF_Node node,
GF_ChildNodeItem childrenlist 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_replace ( GF_Node old_node,
GF_Node new_node,
Bool  updateOrderedGroup 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_node_get_num_instances ( GF_Node node)

+ Here is the caller graph for this function:

void gf_node_traverse ( GF_Node node,
void *  udta 
)

+ Here is the call graph for this function:

void gf_node_allow_cyclic_traverse ( GF_Node node)

+ Here is the caller graph for this function:

Bool gf_node_set_cyclic_traverse_flag ( GF_Node node,
Bool  on 
)

+ Here is the caller graph for this function:

void gf_node_traverse_children ( GF_Node node,
void *  renderStack 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_node_get_parent_count ( GF_Node node)

+ Here is the caller graph for this function:

GF_Node* gf_node_get_parent ( GF_Node node,
u32  idx 
)

+ Here is the caller graph for this function:

Bool gf_node_parent_of ( GF_Node node,
GF_Node target 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_node_dirty_set ( GF_Node node,
u32  flags,
Bool  dirty_parents 
)

+ Here is the call graph for this function:

void gf_node_dirty_parents ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_node_dirty_clear ( GF_Node node,
u32  flags 
)
void gf_node_dirty_reset ( GF_Node node,
Bool  reset_children 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_node_dirty_get ( GF_Node node)
u32 gf_node_get_field_count ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_get_field ( GF_Node node,
u32  FieldIndex,
GF_FieldInfo info 
)

+ Here is the call graph for this function:

GF_Err gf_node_get_field_by_name ( GF_Node node,
char *  name,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SceneGraph* gf_sg_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SceneGraph* gf_sg_new_subscene ( GF_SceneGraph *  scene)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_del ( GF_SceneGraph *  sg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_reset ( GF_SceneGraph *  sg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_new_from_xml_doc ( const char *  src,
GF_SceneGraph **  scene 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_set_private ( GF_SceneGraph *  sg,
void *  user_priv 
)

+ Here is the caller graph for this function:

void* gf_sg_get_private ( GF_SceneGraph *  sg)

+ Here is the caller graph for this function:

void gf_sg_set_scene_time_callback ( GF_SceneGraph *  scene,
Double(*)(void *user_priv)  GetSceneTime 
)

+ Here is the caller graph for this function:

void gf_sg_set_node_callback ( GF_SceneGraph *  sg,
void(*)(void *user_priv, u32 type, GF_Node *node, void *ctxdata)  NodeCallback 
)

+ Here is the caller graph for this function:

GF_Node* gf_sg_get_root_node ( GF_SceneGraph *  sg)

+ Here is the caller graph for this function:

void gf_sg_set_root_node ( GF_SceneGraph *  sg,
GF_Node node 
)

+ Here is the caller graph for this function:

GF_Node* gf_sg_find_node ( GF_SceneGraph *  sg,
u32  nodeID 
)

+ Here is the caller graph for this function:

GF_Node* gf_sg_find_node_by_name ( GF_SceneGraph *  sg,
char *  name 
)
void gf_node_changed ( GF_Node node,
GF_FieldInfo fieldChanged 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SceneGraph* gf_node_get_graph ( GF_Node node)
void gf_sg_set_scene_size_info ( GF_SceneGraph *  sg,
u32  width,
u32  Height,
Bool  usePixelMetrics 
)

+ Here is the caller graph for this function:

Bool gf_sg_use_pixel_metrics ( GF_SceneGraph *  sg)

+ Here is the caller graph for this function:

Bool gf_sg_get_scene_size_info ( GF_SceneGraph *  sg,
u32 width,
u32 Height 
)

+ Here is the caller graph for this function:

GF_Node* gf_node_new ( GF_SceneGraph *  sg,
u32  tag 
)

+ Here is the call graph for this function:

void gf_node_init ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Node* gf_node_clone ( GF_SceneGraph *  inScene,
GF_Node orig,
GF_Node cloned_parent,
char *  id_suffix,
Bool  deep 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Double gf_node_get_scene_time ( GF_Node node)

+ Here is the caller graph for this function:

u32 gf_sg_get_next_available_node_id ( GF_SceneGraph *  sg)

+ Here is the caller graph for this function:

u32 gf_sg_get_max_node_id ( GF_SceneGraph *  sg)

+ Here is the caller graph for this function:

const char* gf_node_get_name_and_id ( GF_Node node,
u32 id 
)

+ Here is the caller graph for this function:

void gf_sg_set_script_action ( GF_SceneGraph *  scene,
gf_sg_script_action  script_act,
void *  cbk 
)

+ Here is the caller graph for this function:

void gf_sg_script_load ( GF_Node script)

+ Here is the caller graph for this function:

Bool gf_sg_has_scripting ( )

+ Here is the caller graph for this function:

char* gf_node_dump_attribute ( GF_Node elt,
GF_FieldInfo info 
)

+ Here is the call graph for this function:

GF_Command* gf_sg_command_new ( GF_SceneGraph *  in_scene,
u32  tag 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_command_del ( GF_Command com)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_command_apply ( GF_SceneGraph *  inScene,
GF_Command com,
Double  time_offset 
)

+ Here is the caller graph for this function:

GF_Err gf_sg_command_apply_list ( GF_SceneGraph *  graph,
GF_List *  comList,
Double  time_offset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_CommandField* gf_sg_command_field_new ( GF_Command com)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: