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
vrml_tools.c File Reference
+ Include dependency graph for vrml_tools.c:

Macros

#define MAX_MFFIELD_ALLOC   5000000
 

Functions

Bool gf_node_in_table_by_tag (u32 tag, u32 NDTType)
 
static void Node_on_add_children (GF_Node *node, GF_Route *route)
 
static void Node_on_remove_children (GF_Node *node, GF_Route *route)
 
void gf_sg_vrml_parent_setup (GF_Node *pNode)
 
void gf_sg_vrml_parent_destroy (GF_Node *pNode)
 
GF_Err gf_sg_delete_all_protos (GF_SceneGraph *scene)
 
void gf_sg_set_proto_loader (GF_SceneGraph *scene, GF_SceneGraph *(*GetExternProtoLib)(void *SceneCallback, MFURL *lib_url))
 
u32 gf_sg_get_next_available_route_id (GF_SceneGraph *sg)
 
void gf_sg_set_max_defined_route_id (GF_SceneGraph *sg, u32 ID)
 
u32 gf_sg_get_next_available_proto_id (GF_SceneGraph *sg)
 
GF_Err gf_node_insert_child (GF_Node *parent, GF_Node *new_child, s32 Position)
 
GF_Err gf_node_remove_child (GF_Node *parent, GF_Node *toremove_child)
 
void gf_sg_script_load (GF_Node *n)
 
GF_Proto * gf_sg_find_proto (GF_SceneGraph *sg, u32 ProtoID, char *name)
 
static SFBoolNewSFBool ()
 
static SFFloatNewSFFloat ()
 
static SFDoubleNewSFDouble ()
 
static SFTimeNewSFTime ()
 
static SFInt32NewSFInt32 ()
 
static SFStringNewSFString ()
 
static SFVec3fNewSFVec3f ()
 
static SFVec3dNewSFVec3d ()
 
static SFVec2fNewSFVec2f ()
 
static SFVec2dNewSFVec2d ()
 
static SFColorNewSFColor ()
 
static SFColorRGBANewSFColorRGBA ()
 
static SFRotationNewSFRotation ()
 
static SFImageNewSFImage ()
 
static SFURLNewSFURL ()
 
static SFCommandBufferNewSFCommandBuffer ()
 
static SFScriptNewSFScript ()
 
static SFAttrRefNewSFAttrRef ()
 
static MFBoolNewMFBool ()
 
static MFFloatNewMFFloat ()
 
static MFTimeNewMFTime ()
 
static MFInt32NewMFInt32 ()
 
static MFStringNewMFString ()
 
static MFVec3fNewMFVec3f ()
 
static MFVec3dNewMFVec3d ()
 
static MFVec2fNewMFVec2f ()
 
static MFVec2dNewMFVec2d ()
 
static MFColorNewMFColor ()
 
static MFColorRGBANewMFColorRGBA ()
 
static MFRotationNewMFRotation ()
 
static MFURLNewMFURL ()
 
static MFScriptNewMFScript ()
 
static MFAttrRefNewMFAttrRef ()
 
void * gf_sg_vrml_field_pointer_new (u32 FieldType)
 
void gf_sg_mfint32_del (MFInt32 par)
 
void gf_sg_mffloat_del (MFFloat par)
 
void gf_sg_mfdouble_del (MFDouble par)
 
void gf_sg_mfbool_del (MFBool par)
 
void gf_sg_mfcolor_del (MFColor par)
 
void gf_sg_mfcolor_rgba_del (MFColorRGBA par)
 
void gf_sg_mfrotation_del (MFRotation par)
 
void gf_sg_mftime_del (MFTime par)
 
void gf_sg_mfvec2f_del (MFVec2f par)
 
void gf_sg_mfvec2d_del (MFVec2d par)
 
void gf_sg_mfvec3f_del (MFVec3f par)
 
void gf_sg_mfvec3d_del (MFVec3d par)
 
void gf_sg_mfvec4f_del (MFVec4f par)
 
void gf_sg_mfattrref_del (MFAttrRef par)
 
void gf_sg_sfimage_del (SFImage im)
 
void gf_sg_sfstring_del (SFString par)
 
void gf_sg_sfscript_del (SFScript par)
 
void gf_sg_sfcommand_del (SFCommandBuffer cb)
 
void gf_sg_vrml_field_pointer_del (void *field, u32 FieldType)
 
const char * gf_sg_vrml_get_event_type_name (u32 EventType, Bool forX3D)
 
const char * gf_sg_vrml_get_field_type_by_name (u32 FieldType)
 
u32 gf_sg_field_type_by_name (char *fieldType)
 
void gf_sg_sfurl_del (SFURL url)
 
Bool gf_sg_vrml_is_sf_field (u32 FieldType)
 
void gf_sg_mfstring_del (MFString par)
 
void gf_sg_mfurl_del (MFURL url)
 
void gf_sg_mfscript_del (MFScript sc)
 
void gf_sg_vrml_copy_mfurl (MFURL *dst, MFURL *src)
 
u32 gf_sg_vrml_get_sf_size (u32 FieldType)
 
u32 gf_sg_vrml_get_sf_type (u32 FieldType)
 
GF_Err gf_sg_vrml_mf_insert (void *mf, u32 FieldType, void **new_ptr, u32 InsertAt)
 
GF_Err gf_sg_vrml_mf_reset (void *mf, u32 FieldType)
 
GF_Err gf_sg_vrml_mf_alloc (void *mf, u32 FieldType, u32 NbItems)
 
GF_Err gf_sg_vrml_mf_get_item (void *mf, u32 FieldType, void **new_ptr, u32 ItemPos)
 
GF_Err gf_sg_vrml_mf_append (void *mf, u32 FieldType, void **new_ptr)
 
GF_Err gf_sg_vrml_mf_remove (void *mf, u32 FieldType, u32 RemoveFrom)
 
void VRML_FieldCopyCast (void *dest, u32 dst_field_type, void *orig, u32 ori_field_type)
 
void gf_sg_vrml_field_clone (void *dest, void *orig, u32 field_type, GF_SceneGraph *inScene)
 
void gf_sg_vrml_field_copy (void *dest, void *orig, u32 field_type)
 
Bool gf_sg_vrml_field_equal (void *dest, void *orig, u32 field_type)
 
SFColorRGBA gf_sg_sfcolor_to_rgba (SFColor val)
 
u32 gf_node_get_num_fields_in_mode (GF_Node *Node, u8 IndexMode)
 
Bool InitColorInterpolator (M_ColorInterpolator *node)
 
Bool InitCoordinateInterpolator2D (M_CoordinateInterpolator2D *node)
 
Bool InitCoordinateInterpolator (M_CoordinateInterpolator *n)
 
Bool InitNormalInterpolator (M_NormalInterpolator *n)
 
Bool InitPositionInterpolator2D (M_PositionInterpolator2D *node)
 
Bool InitPositionInterpolator (M_PositionInterpolator *node)
 
Bool InitScalarInterpolator (M_ScalarInterpolator *node)
 
Bool InitOrientationInterpolator (M_OrientationInterpolator *node)
 
Bool InitValuator (M_Valuator *node)
 
Bool InitCoordinateInterpolator4D (M_CoordinateInterpolator4D *node)
 
Bool InitPositionInterpolator4D (M_PositionInterpolator4D *node)
 
void PA_Init (GF_Node *n)
 
void PA_Modified (GF_Node *n, GF_FieldInfo *field)
 
void PA2D_Init (GF_Node *n)
 
void PA2D_Modified (GF_Node *n, GF_FieldInfo *field)
 
void SA_Init (GF_Node *n)
 
void SA_Modified (GF_Node *n, GF_FieldInfo *field)
 
void InitBooleanFilter (GF_Node *n)
 
void InitBooleanSequencer (GF_Node *n)
 
void InitBooleanToggle (GF_Node *n)
 
void InitBooleanTrigger (GF_Node *n)
 
void InitIntegerSequencer (GF_Node *n)
 
void InitIntegerTrigger (GF_Node *n)
 
void InitTimeTrigger (GF_Node *n)
 
Bool gf_sg_vrml_node_init (GF_Node *node)
 
Bool gf_sg_vrml_node_changed (GF_Node *node, GF_FieldInfo *field)
 
char * gf_node_vrml_dump_attribute (GF_Node *n, GF_FieldInfo *info)
 
Bool gf_node_in_table (GF_Node *node, u32 NDTType)
 

Macro Definition Documentation

#define MAX_MFFIELD_ALLOC   5000000

Function Documentation

Bool gf_node_in_table_by_tag ( u32  tag,
u32  NDTType 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_vrml_parent_setup ( GF_Node pNode)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_vrml_parent_destroy ( GF_Node pNode)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_delete_all_protos ( GF_SceneGraph *  scene)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_set_proto_loader ( GF_SceneGraph *  scene,
GF_SceneGraph *(*)(void *SceneCallback, MFURL *lib_url)  GetExternProtoLib 
)

+ Here is the caller graph for this function:

u32 gf_sg_get_next_available_route_id ( GF_SceneGraph *  sg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_set_max_defined_route_id ( GF_SceneGraph *  sg,
u32  ID 
)

+ Here is the caller graph for this function:

u32 gf_sg_get_next_available_proto_id ( GF_SceneGraph *  sg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_insert_child ( GF_Node parent,
GF_Node new_child,
s32  Position 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_remove_child ( GF_Node parent,
GF_Node toremove_child 
)

+ Here is the call graph for this function:

void gf_sg_script_load ( GF_Node n)

+ Here is the caller graph for this function:

GF_Proto* gf_sg_find_proto ( GF_SceneGraph *  sg,
u32  ProtoID,
char *  name 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFBool* NewSFBool ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFFloat* NewSFFloat ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFDouble* NewSFDouble ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFTime* NewSFTime ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFInt32* NewSFInt32 ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFString* NewSFString ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFVec3f* NewSFVec3f ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFVec3d* NewSFVec3d ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFVec2f* NewSFVec2f ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFVec2d* NewSFVec2d ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFColor* NewSFColor ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFColorRGBA* NewSFColorRGBA ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFRotation* NewSFRotation ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFImage* NewSFImage ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFURL* NewSFURL ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFCommandBuffer* NewSFCommandBuffer ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFScript* NewSFScript ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SFAttrRef* NewSFAttrRef ( )
static

+ Here is the caller graph for this function:

static MFBool* NewMFBool ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFFloat* NewMFFloat ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFTime* NewMFTime ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFInt32* NewMFInt32 ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFString* NewMFString ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFVec3f* NewMFVec3f ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFVec3d* NewMFVec3d ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFVec2f* NewMFVec2f ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFVec2d* NewMFVec2d ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFColor* NewMFColor ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFColorRGBA* NewMFColorRGBA ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFRotation* NewMFRotation ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFURL* NewMFURL ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFScript* NewMFScript ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static MFAttrRef* NewMFAttrRef ( )
static

+ Here is the caller graph for this function:

void* gf_sg_vrml_field_pointer_new ( u32  FieldType)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfint32_del ( MFInt32  par)

+ Here is the call graph for this function:

void gf_sg_mffloat_del ( MFFloat  par)

+ Here is the call graph for this function:

void gf_sg_mfdouble_del ( MFDouble  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfbool_del ( MFBool  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfcolor_del ( MFColor  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfcolor_rgba_del ( MFColorRGBA  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfrotation_del ( MFRotation  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mftime_del ( MFTime  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfvec2f_del ( MFVec2f  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfvec2d_del ( MFVec2d  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfvec3f_del ( MFVec3f  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfvec3d_del ( MFVec3d  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfvec4f_del ( MFVec4f  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfattrref_del ( MFAttrRef  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_sfimage_del ( SFImage  im)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_sfstring_del ( SFString  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_sfscript_del ( SFScript  par)

+ Here is the call graph for this function:

void gf_sg_sfcommand_del ( SFCommandBuffer  cb)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_vrml_field_pointer_del ( void *  field,
u32  FieldType 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const char* gf_sg_vrml_get_event_type_name ( u32  EventType,
Bool  forX3D 
)

+ Here is the caller graph for this function:

const char* gf_sg_vrml_get_field_type_by_name ( u32  FieldType)

+ Here is the caller graph for this function:

u32 gf_sg_field_type_by_name ( char *  fieldType)

+ Here is the caller graph for this function:

void gf_sg_sfurl_del ( SFURL  url)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sg_vrml_is_sf_field ( u32  FieldType)

+ Here is the caller graph for this function:

void gf_sg_mfstring_del ( MFString  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfurl_del ( MFURL  url)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_mfscript_del ( MFScript  sc)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_vrml_copy_mfurl ( MFURL dst,
MFURL src 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_sg_vrml_get_sf_size ( u32  FieldType)

+ Here is the caller graph for this function:

u32 gf_sg_vrml_get_sf_type ( u32  FieldType)

+ Here is the caller graph for this function:

GF_Err gf_sg_vrml_mf_insert ( void *  mf,
u32  FieldType,
void **  new_ptr,
u32  InsertAt 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_vrml_mf_reset ( void *  mf,
u32  FieldType 
)

+ Here is the call graph for this function:

GF_Err gf_sg_vrml_mf_alloc ( void *  mf,
u32  FieldType,
u32  NbItems 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_vrml_mf_get_item ( void *  mf,
u32  FieldType,
void **  new_ptr,
u32  ItemPos 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_vrml_mf_append ( void *  mf,
u32  FieldType,
void **  new_ptr 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_vrml_mf_remove ( void *  mf,
u32  FieldType,
u32  RemoveFrom 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void VRML_FieldCopyCast ( void *  dest,
u32  dst_field_type,
void *  orig,
u32  ori_field_type 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_vrml_field_clone ( void *  dest,
void *  orig,
u32  field_type,
GF_SceneGraph *  inScene 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_vrml_field_copy ( void *  dest,
void *  orig,
u32  field_type 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sg_vrml_field_equal ( void *  dest,
void *  orig,
u32  field_type 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

SFColorRGBA gf_sg_sfcolor_to_rgba ( SFColor  val)

+ Here is the caller graph for this function:

u32 gf_node_get_num_fields_in_mode ( GF_Node Node,
u8  IndexMode 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitColorInterpolator ( M_ColorInterpolator node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitCoordinateInterpolator2D ( M_CoordinateInterpolator2D node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitCoordinateInterpolator ( M_CoordinateInterpolator n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitNormalInterpolator ( M_NormalInterpolator n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitPositionInterpolator2D ( M_PositionInterpolator2D node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitPositionInterpolator ( M_PositionInterpolator node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitScalarInterpolator ( M_ScalarInterpolator node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitOrientationInterpolator ( M_OrientationInterpolator node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitValuator ( M_Valuator node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitCoordinateInterpolator4D ( M_CoordinateInterpolator4D node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool InitPositionInterpolator4D ( M_PositionInterpolator4D node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PA_Init ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PA_Modified ( GF_Node n,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PA2D_Init ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PA2D_Modified ( GF_Node n,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SA_Init ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SA_Modified ( GF_Node n,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InitBooleanFilter ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InitBooleanSequencer ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InitBooleanToggle ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InitBooleanTrigger ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InitIntegerSequencer ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InitIntegerTrigger ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InitTimeTrigger ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sg_vrml_node_init ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sg_vrml_node_changed ( GF_Node node,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* gf_node_vrml_dump_attribute ( GF_Node n,
GF_FieldInfo info 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_node_in_table ( GF_Node node,
u32  NDTType 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: