FreeWRL/FreeX3D  3.0.0
SensInterps.h
1 /*
2 
3 
4 SensInterps ???
5 
6 */
7 
8 /****************************************************************************
9  This file is part of the FreeWRL/FreeX3D Distribution.
10 
11  Copyright 2009 CRC Canada. (http://www.crc.gc.ca)
12 
13  FreeWRL/FreeX3D is free software: you can redistribute it and/or modify
14  it under the terms of the GNU Lesser Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  FreeWRL/FreeX3D is distributed in the hope that it will be useful,
19  but WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  GNU General Public License for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with FreeWRL/FreeX3D. If not, see <http://www.gnu.org/licenses/>.
25 ****************************************************************************/
26 
27 
28 #ifndef __FREEWRL_SENS_INTERPS_H__
29 #define __FREEWRL_SENS_INTERPS_H__
30 
31 
32 #define ASLEN 500
33 
34 
35 double return_Duration(struct X3D_AudioClip *);
36 
37 void
38 do_active_inactive(int *act,
39  double *inittime,
40  double *startt,
41  double *stopt,
42  int loop,
43  double myDuration,
44  double speed,
45  double elapsedTime);
46 
47 int
48 find_key(int kin, float frac, float *keys);
49 
50 void
51 do_OintScalar(void *node);
52 
53 void
54 do_OintCoord(void *node);
55 void do_OintNormal(void *node);
56 
57 void do_OintCoord2D(void *node);
58 void do_OintPos2D(void *node);
59 void do_PositionInterpolator(void *node);
60 void do_ColorInterpolator(void *node);
61 void do_GeoPositionInterpolator(void *node);
62 void do_Oint4(void *node);
63 void do_EaseInEaseOut(void *node);
64 void do_SplinePositionInterpolator(void *node);
65 void do_SplinePositionInterpolator2D(void *node);
66 void do_SplineScalarInterpolator(void *node);
67 void do_SquadOrientationInterpolator(void *node);
68 
69 
70 
71 void do_CollisionTick(void *ptr);
72 void do_AudioTick(void *ptr);
73 void do_TimeSensorTick(void *ptr);
74 void do_ProximitySensorTick(void *ptr);
75 void do_GeoProximitySensorTick(void *ptr);
76 void do_MovieTextureTick(void *ptr);
77 void do_VisibilitySensorTick(void *ptr);
78 void do_TransformSensorTick(void *ptr);
79 void do_PickSensorTick(void *ptr);
80 
81 void do_Anchor( void *ptr, int typ, int but1, int over);
82 void do_TouchSensor( void *ptr, int typ, int but1, int over);
83 void do_GeoTouchSensor(void *ptr, int typ, int but1, int over);
84 void do_PlaneSensor(void *ptr, int typ, int but1, int over);
85 void do_LineSensor(void *ptr, int typ, int but1, int over);
86 void do_CylinderSensor(void *ptr, int typ, int but1, int over);
87 void do_SphereSensor(void *ptr, int typ, int but1, int over);
88 
89 /* DJTRACK_PICKSENSORS */
90 void do_PickSensorTickDUMMY(void *ptr);
91 
92 #endif /* __FREEWRL_SENS_INTERPS_H__ */