Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

analizer.c File Reference

#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <stdio.h>
#include <stdlib.h>
#include "matrix.c"
#include "scheduler.c"

Include dependency graph for analizer.c:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Functions

float * getTransform ()
 Return the current MODELVIEW matrix.

void prepare ()
 Inizialize Matrix for Transform.

void print_node_type (int type)
 Print debug information of the type of node.

void analize_tree (node *nodo)
 Analize data tree.

float getBottom (GLfloat v[8])
 Return min values of a float array.

void resortingOBJ ()
 Resort world data , ordering by y value of object.

void worldBBox ()
 Valutate bounding boxes of geometry in scene.


Function Documentation

void analize_tree node *  nodo  ) 
 

Analize data tree.

Not all the node have important information for elaboration. Anchor,TouchSensor : Mantaine hotspot information. VRML Information : Group,Transform,Box,Cylinder,Material,Appearance,Sphere,IndexedFaceSet For more information about node see Libvrmltree documentation or International Standard ISO/IEC 14772-1:1997

Parameters:
nodo node to be analized.

Here is the call graph for this function:

float getBottom GLfloat  v[8]  ) 
 

Return min values of a float array.

Parameters:
v get minimun value present in a vector with dim=8
Returns:
minimun value present in vector

float* getTransform  ) 
 

Return the current MODELVIEW matrix.

Returns:
OpenGL current MODELVIEW matrix.

void prepare  ) 
 

Inizialize Matrix for Transform.

Here is the call graph for this function:

void print_node_type int  type  ) 
 

Print debug information of the type of node.

Parameters:
type corresponding int of vrml_type enumeration.

void resortingOBJ  ) 
 

Resort world data , ordering by y value of object.

Here is the call graph for this function:

void worldBBox  ) 
 

Valutate bounding boxes of geometry in scene.

Here is the call graph for this function:


SourceForge.net Logo

Generated on Mon Jun 14 17:25:56 2004 for D.R.I.V.E. by doxygen 1.3.7