22 #ifndef __X3D_NODE_HEADERS__
23 #define __X3D_NODE_HEADERS__
93 X3DNode *X3D_newSFVec3f (
float a,
float b,
float c);
94 X3DNode *X3D_newSFColor (
float a,
float b,
float c);
95 X3DNode *X3D_newSFVec2f (
float a,
float b);
96 X3DNode *X3D_newSFRotation (
float a,
float b,
float c,
float d);
97 X3DNode *X3D_newSFColorRGBA (
float a,
float b,
float c,
float d);
98 X3DNode *X3D_newSFVec3d (
double a,
double b,
double c);
99 X3DNode *X3D_newSFVec2d (
double a,
double b);
100 X3DNode *X3D_newSFBool (
int a);
101 X3DNode *X3D_newSFFloat (
float a);
102 X3DNode *X3D_newSFTime (
double a);
103 X3DNode *X3D_newSFInt32 (
int a);
104 X3DNode *X3D_newSFString(
char*
string);
135 #define X3DEventIn struct _intX3DEventIn
136 #define X3DEventOut struct _intX3DEventIn
137 void X3D_freeEventIn(X3DEventIn* ev);
138 void X3D_freeEventOut(X3DEventOut* ev);
141 X3DNode *X3D_getNode (
char *name);
142 X3DEventIn *X3D_getEventIn(
X3DNode *node,
char *name);
143 X3DEventOut *X3D_getEventOut(
X3DNode *node,
char *name);
144 X3DNode* X3D_getValue (X3DEventOut *src);
145 void X3D_freeNode(
X3DNode* node);
147 void X3D_setValue (X3DEventIn *dest,
X3DNode *node);
148 void X3D_addRoute (X3DEventOut *from, X3DEventIn *to);
149 void X3D_deleteRoute (X3DEventOut *from, X3DEventIn *to);
152 void X3D_initialize(
char *);
156 float X3D_getCurrentSpeed();
157 float X3D_getCurrentFrameRate();
160 void X3D_firstViewpoint();
161 void X3D_lastViewpoint();
162 void X3D_nextViewpoint();
163 void X3D_previousViewpoint();
164 void X3D_setDescription(
char *newDescription);
167 char *X3D_getDescription();
169 char *X3D_getVersion();
170 char *X3D_getWorldURL();
173 X3DNode *X3D_createVrmlFromString(
char *str);
175 void X3D_error(
char *msg);
176 int X3DAdvise(X3DEventOut *node,
void *fn);
180 int findFieldInFIELDTYPES(
char *fieldtype);
183 void *freewrlSwigThread(
void*);
192 X3DNode* X3D_swigFieldFromString(
char* fieldtype,
char* values);
193 char * X3D_swigStringFromField(
X3DNode* field);
196 X3DNode *X3D_swigNewMF(
char *fieldtype,
int num );
202 X3DNode* X3D_swigCallbackDataFetch(
char *ListenerTableIndex);
206 #endif //__X3D_NODE_HEADERS__