libgpac
Documentation of the core library of GPAC
mpeg4_geometry_3d.c File Reference
#include "visual_manager.h"
#include "nodes_stacks.h"
#include <gpac/mediaobject.h>
+ Include dependency graph for mpeg4_geometry_3d.c:

Functions

void drawable_3d_base_traverse (GF_Node *n, void *rs, Bool is_destroy, void(*build_shape)(GF_Node *, Drawable3D *, GF_TraverseState *))
 
static void build_shape_box (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraverseBox (GF_Node *n, void *rs, Bool is_destroy)
 
void compositor_init_box (GF_Compositor *compositor, GF_Node *node)
 
static void build_shape_cone (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraverseCone (GF_Node *n, void *rs, Bool is_destroy)
 
void compositor_init_cone (GF_Compositor *compositor, GF_Node *node)
 
static void build_shape_cylinder (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraverseCylinder (GF_Node *n, void *rs, Bool is_destroy)
 
void compositor_init_cylinder (GF_Compositor *compositor, GF_Node *node)
 
static void build_shape_sphere (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
void get_tx_coords_from_angle (GF_TraverseState *tr_state, GF_TextureHandler *txh, Bool horizontal, u32 *min_coord, u32 *max_coord)
 
static void TraverseSphere (GF_Node *n, void *rs, Bool is_destroy)
 
void compositor_init_sphere (GF_Compositor *compositor, GF_Node *node)
 
static void build_shape_point_set (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraversePointSet (GF_Node *n, void *rs, Bool is_destroy)
 
void compositor_init_point_set (GF_Compositor *compositor, GF_Node *node)
 
static void build_shape_ifs (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraverseIFS (GF_Node *n, void *rs, Bool is_destroy)
 
static void IFS_SetColorIndex (GF_Node *node, GF_Route *route)
 
static void IFS_SetCoordIndex (GF_Node *node, GF_Route *route)
 
static void IFS_SetNormalIndex (GF_Node *node, GF_Route *route)
 
static void IFS_SetTexCoordIndex (GF_Node *node, GF_Route *route)
 
void compositor_init_ifs (GF_Compositor *compositor, GF_Node *node)
 
static void build_shape_ils (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraverseILS (GF_Node *n, void *rs, Bool is_destroy)
 
static void ILS_SetColorIndex (GF_Node *node, GF_Route *route)
 
static void ILS_SetCoordIndex (GF_Node *node, GF_Route *route)
 
void compositor_init_ils (GF_Compositor *compositor, GF_Node *node)
 
static void build_shape_elevation_grid (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraverseElevationGrid (GF_Node *n, void *rs, Bool is_destroy)
 
static void ElevationGrid_SetHeight (GF_Node *node, GF_Route *route)
 
void compositor_init_elevation_grid (GF_Compositor *compositor, GF_Node *node)
 
static void build_shape_extrusion (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraverseExtrusion (GF_Node *n, void *rs, Bool is_destroy)
 
static void Extrusion_SetCrossSection (GF_Node *node, GF_Route *route)
 
static void Extrusion_SetOrientation (GF_Node *node, GF_Route *route)
 
static void Extrusion_SetScale (GF_Node *node, GF_Route *route)
 
static void Extrusion_SetSpine (GF_Node *node, GF_Route *route)
 
void compositor_init_extrusion (GF_Compositor *compositor, GF_Node *node)
 
static Bool NLD_GetMatrix (M_NonLinearDeformer *nld, GF_Matrix *mx)
 
static GFINLINE void NLD_GetKey (M_NonLinearDeformer *nld, Fixed frac, Fixed *f_min, Fixed *min, Fixed *f_max, Fixed *max)
 
static void NLD_Apply (M_NonLinearDeformer *nld, GF_Mesh *mesh)
 
static void build_shape_nld (GF_Node *n, Drawable3D *stack, GF_TraverseState *tr_state)
 
static void TraverseNonLinearDeformer (GF_Node *n, void *rs, Bool is_destroy)
 
void compositor_init_non_linear_deformer (GF_Compositor *compositor, GF_Node *node)
 

Function Documentation

◆ drawable_3d_base_traverse()

void drawable_3d_base_traverse ( GF_Node n,
void *  rs,
Bool  is_destroy,
void(*)(GF_Node *, Drawable3D *, GF_TraverseState *)  build_shape 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_box()

static void build_shape_box ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseBox()

static void TraverseBox ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_box()

void compositor_init_box ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_cone()

static void build_shape_cone ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseCone()

static void TraverseCone ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_cone()

void compositor_init_cone ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_cylinder()

static void build_shape_cylinder ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseCylinder()

static void TraverseCylinder ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_cylinder()

void compositor_init_cylinder ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_sphere()

static void build_shape_sphere ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_tx_coords_from_angle()

void get_tx_coords_from_angle ( GF_TraverseState *  tr_state,
GF_TextureHandler txh,
Bool  horizontal,
u32 min_coord,
u32 max_coord 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseSphere()

static void TraverseSphere ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_sphere()

void compositor_init_sphere ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_point_set()

static void build_shape_point_set ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraversePointSet()

static void TraversePointSet ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_point_set()

void compositor_init_point_set ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_ifs()

static void build_shape_ifs ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseIFS()

static void TraverseIFS ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IFS_SetColorIndex()

static void IFS_SetColorIndex ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IFS_SetCoordIndex()

static void IFS_SetCoordIndex ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IFS_SetNormalIndex()

static void IFS_SetNormalIndex ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IFS_SetTexCoordIndex()

static void IFS_SetTexCoordIndex ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_ifs()

void compositor_init_ifs ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_ils()

static void build_shape_ils ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseILS()

static void TraverseILS ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ILS_SetColorIndex()

static void ILS_SetColorIndex ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ILS_SetCoordIndex()

static void ILS_SetCoordIndex ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_ils()

void compositor_init_ils ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_elevation_grid()

static void build_shape_elevation_grid ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseElevationGrid()

static void TraverseElevationGrid ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ElevationGrid_SetHeight()

static void ElevationGrid_SetHeight ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_elevation_grid()

void compositor_init_elevation_grid ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_extrusion()

static void build_shape_extrusion ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseExtrusion()

static void TraverseExtrusion ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Extrusion_SetCrossSection()

static void Extrusion_SetCrossSection ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Extrusion_SetOrientation()

static void Extrusion_SetOrientation ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Extrusion_SetScale()

static void Extrusion_SetScale ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Extrusion_SetSpine()

static void Extrusion_SetSpine ( GF_Node node,
GF_Route *  route 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_extrusion()

void compositor_init_extrusion ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NLD_GetMatrix()

static Bool NLD_GetMatrix ( M_NonLinearDeformer *  nld,
GF_Matrix mx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NLD_GetKey()

static GFINLINE void NLD_GetKey ( M_NonLinearDeformer *  nld,
Fixed  frac,
Fixed f_min,
Fixed min,
Fixed f_max,
Fixed max 
)
static
+ Here is the caller graph for this function:

◆ NLD_Apply()

static void NLD_Apply ( M_NonLinearDeformer *  nld,
GF_Mesh mesh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_shape_nld()

static void build_shape_nld ( GF_Node n,
Drawable3D stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseNonLinearDeformer()

static void TraverseNonLinearDeformer ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_non_linear_deformer()

void compositor_init_non_linear_deformer ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: