libgpac
Documentation of the core library of GPAC
vrml_proto.c File Reference
#include <gpac/internal/scenegraph_dev.h>
#include <gpac/nodes_mpeg4.h>
#include <gpac/nodes_x3d.h>
+ Include dependency graph for vrml_proto.c:

Functions

GF_EXPORT GF_Proto * gf_sg_proto_new (GF_SceneGraph *inScene, u32 ProtoID, char *name, Bool unregistered)
 
GF_EXPORT GF_Err gf_sg_proto_del (GF_Proto *proto)
 
GF_EXPORT GF_SceneGraph * gf_sg_proto_get_graph (GF_Proto *proto)
 
GF_EXPORT MFURLgf_sg_proto_get_extern_url (GF_Proto *proto)
 
GF_EXPORT GF_Err gf_sg_proto_add_node_code (GF_Proto *proto, GF_Node *pNode)
 
GF_EXPORT GF_ProtoFieldInterface * gf_sg_proto_field_find_by_name (GF_Proto *proto, char *fieldName)
 
GF_EXPORT GF_ProtoFieldInterface * gf_sg_proto_field_new (GF_Proto *proto, u32 fieldType, u32 eventType, char *fieldName)
 
GF_EXPORT GF_Err gf_sg_proto_field_get_field (GF_ProtoFieldInterface *field, GF_FieldInfo *info)
 
GF_Err gf_sg_proto_get_field (GF_Proto *proto, GF_Node *node, GF_FieldInfo *info)
 
s32 gf_sg_proto_get_field_index_by_name (GF_Proto *proto, GF_Node *node, char *name)
 
GF_Nodegf_vrml_node_clone (GF_SceneGraph *inScene, GF_Node *orig, GF_Node *cloned_parent, char *inst_id_suffix)
 
GF_Err gf_sg_proto_get_field_ind_static (GF_Node *Node, u32 inField, u8 IndexMode, u32 *allField)
 
static Bool is_same_proto (GF_Proto *extern_proto, GF_Proto *proto)
 
static GF_Proto * find_proto_by_interface (GF_SceneGraph *sg, GF_Proto *extern_proto)
 
void gf_sg_proto_instantiate (GF_ProtoInstance *proto_node)
 
void gf_sg_proto_mark_field_loaded (GF_Node *proto_inst, GF_FieldInfo *info)
 
GF_Nodegf_sg_proto_create_node (GF_SceneGraph *scene, GF_Proto *proto, GF_ProtoInstance *from_inst)
 
GF_EXPORT GF_Nodegf_sg_proto_create_instance (GF_SceneGraph *sg, GF_Proto *proto)
 
GF_EXPORT GF_Err gf_sg_proto_load_code (GF_Node *node)
 
u32 gf_sg_proto_get_num_fields (GF_Node *node, u8 code_mode)
 
void gf_sg_proto_del_instance (GF_ProtoInstance *inst)
 
GF_EXPORT GF_Err gf_sg_proto_field_set_ised (GF_Proto *proto, u32 protoFieldIndex, GF_Node *node, u32 nodeFieldIndex)
 
GF_EXPORT GF_Err gf_sg_proto_instance_set_ised (GF_Node *protoinst, u32 protoFieldIndex, GF_Node *node, u32 nodeFieldIndex)
 
GF_Err gf_bifs_proto_field_set_aq_info (GF_ProtoFieldInterface *field, u32 QP_Type, u32 hasMinMax, u32 QPSFType, void *qp_min_value, void *qp_max_value, u32 QP13_NumBits)
 
GF_Err gf_sg_proto_get_field_index (GF_ProtoInstance *proto, u32 index, u32 code_mode, u32 *all_index)
 
GF_EXPORT u32 gf_sg_proto_get_field_count (GF_Proto *proto)
 
GF_EXPORT GF_ProtoFieldInterface * gf_sg_proto_field_find (GF_Proto *proto, u32 fieldIndex)
 
void gf_sg_proto_propagate_event (GF_Node *node, u32 fieldIndex, GF_Node *from_node)
 
Bool gf_sg_proto_get_aq_info (GF_Node *Node, u32 FieldIndex, u8 *QType, u8 *AType, Fixed *b_min, Fixed *b_max, u32 *QT13_bits)
 
GF_EXPORT GF_Proto * gf_node_get_proto (GF_Node *node)
 
GF_EXPORT u32 gf_sg_proto_get_id (GF_Proto *proto)
 
GF_EXPORT const char * gf_sg_proto_get_class_name (GF_Proto *proto)
 
u32 gf_sg_proto_get_root_tag (GF_Proto *proto)
 
GF_EXPORT Bool gf_sg_proto_field_is_sftime_offset (GF_Node *node, GF_FieldInfo *field)
 
GF_EXPORT GF_Err gf_node_proto_set_grouping (GF_Node *node)
 
GF_EXPORT Bool gf_node_proto_is_grouping (GF_Node *node)
 
GF_EXPORT GF_Nodegf_node_get_proto_root (GF_Node *node)
 
GF_EXPORT GF_Err gf_node_set_proto_eventin_handler (GF_Node *node, u32 fieldIndex, void(*event_in_cbk)(GF_Node *pThis, struct _route *route))
 

Function Documentation

◆ gf_sg_proto_get_field()

GF_Err gf_sg_proto_get_field ( GF_Proto *  proto,
GF_Node node,
GF_FieldInfo info 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_get_field_index_by_name()

s32 gf_sg_proto_get_field_index_by_name ( GF_Proto *  proto,
GF_Node node,
char *  name 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vrml_node_clone()

GF_Node* gf_vrml_node_clone ( GF_SceneGraph *  inScene,
GF_Node orig,
GF_Node cloned_parent,
char *  inst_id_suffix 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_get_field_ind_static()

GF_Err gf_sg_proto_get_field_ind_static ( GF_Node Node,
u32  inField,
u8  IndexMode,
u32 allField 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_same_proto()

static Bool is_same_proto ( GF_Proto *  extern_proto,
GF_Proto *  proto 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_proto_by_interface()

static GF_Proto* find_proto_by_interface ( GF_SceneGraph *  sg,
GF_Proto *  extern_proto 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_instantiate()

void gf_sg_proto_instantiate ( GF_ProtoInstance proto_node)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_create_node()

GF_Node* gf_sg_proto_create_node ( GF_SceneGraph *  scene,
GF_Proto *  proto,
GF_ProtoInstance from_inst 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_get_num_fields()

u32 gf_sg_proto_get_num_fields ( GF_Node node,
u8  code_mode 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_del_instance()

void gf_sg_proto_del_instance ( GF_ProtoInstance inst)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bifs_proto_field_set_aq_info()

GF_Err gf_bifs_proto_field_set_aq_info ( GF_ProtoFieldInterface *  field,
u32  QP_Type,
u32  hasMinMax,
u32  QPSFType,
void *  qp_min_value,
void *  qp_max_value,
u32  QP13_NumBits 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_get_field_index()

GF_Err gf_sg_proto_get_field_index ( GF_ProtoInstance proto,
u32  index,
u32  code_mode,
u32 all_index 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_propagate_event()

void gf_sg_proto_propagate_event ( GF_Node node,
u32  fieldIndex,
GF_Node from_node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_get_aq_info()

Bool gf_sg_proto_get_aq_info ( GF_Node Node,
u32  FieldIndex,
u8 QType,
u8 AType,
Fixed b_min,
Fixed b_max,
u32 QT13_bits 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sg_proto_get_root_tag()

u32 gf_sg_proto_get_root_tag ( GF_Proto *  proto)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: