29 #define CAL_NOT_INIT -1
31 #define CAL_ALREADY_INIT -2
33 #define CAL_NO_SUCH_GROUP -3
35 #define CAL_NO_SUCH_PARENT_GROUP -4
37 #define CAL_CANNOT_MANIPULATE_ROOT_GROUP -5
39 #define CAL_NO_SUCH_OBJECT -6
41 #define CAL_ILLEGAL_VALUE -7
43 #define CAL_GROUPS_IN_SAME_SUBTREE -8
45 #define CAL_NAME_NOT_FOUND -9
47 #define CAL_NAME_ALREADY_EXISTS -10
49 #define CAL_FILE_ERROR -11
51 #define CAL_VIS_NOT_RUNNING -12
53 #define CAL_CLONE_IN_SUBGROUP -13
55 #define CAL_VIEW_ALREADY_VISIBLE -14
57 #define CAL_VIEW_NOT_VISIBLE -15
59 #define CAL_GROUPS_DO_NOT_OVERLAP -16
61 #define CAL_GROUP_NOT_COL_CAPABLE -17
63 #define CAL_TEXTURE_ERROR -18
65 #define CAL_ILLEGAL_KEY_STATE -19
67 #define CAL_IS_DYNAMIC -20
69 #define CAL_INVALID_EXTENSION -21
71 #define CAL_CANNOT_SET_VISIBILITY -22
73 #define CAL_STATISTICSNOTENABLED -23
75 #define CAL_OBJ_HAS_NO_TEXTURE_COORDINATES - 24
79 #define CAL_SHOWCOMPASS (1<<1)
81 #define CAL_HIDECOMPASS (1<<2)
83 #define CAL_SHOWGRID (1<<3)
85 #define CAL_HIDEGRID (1<<4)
87 #define CAL_SHOWGRIDPERMANENT (1<<5)
89 #define CAL_SHOWGRIDONMOUSE (1<<6)
91 #define CAL_SHOWSTATUSTEXT (1<<7)
93 #define CAL_HIDESTATUSTEXT (1<<8)
95 #define CAL_LOCKNAVIGATION (1<<9)
97 #define CAL_UNLOCKNAVIGATION (1<<10)
99 #define CAL_LOCKKEYBOARDNAVIGATION (1<<11)
101 #define CAL_UNLOCKKEYBOARDNAVIGATION (1<<12)
103 #define CAL_SHOWGROUNDPLANE (1<<13)
105 #define CAL_HIDEGROUNDPLANE (1<<14)
107 #define CAL_WIREFRAMERENDER (1<<15)
109 #define CAL_SOLIDRENDER (1<<16)
111 #define CAL_SHOWLABELS (1<<17)
113 #define CAL_HIDELABELS (1<<18)
115 #define CAL_AUTONAVSPEED (1<<19)
117 #define CAL_MANUALNAVSPEED (1<<20)
119 #define CAL_PERSPPROJECTION (1<<21)
121 #define CAL_ORTHOPROJECTION (1<<22)
123 #define CAL_SHOWSHADOWS (1<<23)
125 #define CAL_HIDESHADOWS (1<<24)
128 #define CAL_ENABLESTATISTICS 1
130 #define CAL_DISABLESTATISTICS 2
133 #define CAL_CAMPOSITIONCYCLIC (1<<1)
135 #define CAL_CAMPOSITIONNONCYCLIC (1<<2)
137 #define CAL_CAMLOOKATCYCLIC (1<<3)
139 #define CAL_CAMLOOKATNONCYCLIC (1<<4)
141 #define CAL_CAMROLLCYCLIC (1<<5)
143 #define CAL_CAMROLLNONCYCLIC (1<<6)
145 #define CAL_CAMPOSITIONINTERPOLATION (1<<7)
147 #define CAL_CAMNOPOSITIONINTERPOLATION (1<<8)
149 #define CAL_CAMLOOKATINTERPOLATION (1<<9)
151 #define CAL_CAMNOLOOKATINTERPOLATION (1<<10)
153 #define CAL_CAMROLLINTERPOLATION (1<<11)
155 #define CAL_CAMNOROLLINTERPOLATION (1<<12)
158 #define CAL_POSITIONCYCLIC (1<<1)
160 #define CAL_POSITIONNONCYCLIC (1<<2)
162 #define CAL_ORIENTATIONCYCLIC (1<<3)
164 #define CAL_ORIENTATIONNONCYCLIC (1<<4)
166 #define CAL_SCALINGCYCLIC (1<<5)
168 #define CAL_SCALINGNONCYCLIC (1<<6)
170 #define CAL_VISIBILITYCYCLIC (1<<7)
172 #define CAL_VISIBILITYNONCYCLIC (1<<8)
174 #define CAL_POSITIONINTERPOLATION (1<<9)
176 #define CAL_NOPOSITIONINTERPOLATION (1<<10)
178 #define CAL_ORIENTATIONINTERPOLATION (1<<11)
180 #define CAL_NOORIENTATIONINTERPOLATION (1<<12)
182 #define CAL_SCALINGINTERPOLATION (1<<13)
184 #define CAL_NOSCALINGINTERPOLATION (1<<14)
186 #define CAL_INHERITSCALING (1<<15)
188 #define CAL_NOTINHERITSCALING (1<<16)
195 #define CAL_USEPARENT 2
204 #define CAL_CYLINDER 3
210 #define CAL_TRIANGLES 6
212 #define CAL_POLYLINE 7
214 #define CAL_TETRAHEDRON 8
216 #define CAL_ELEVATIONGRID 9
218 #define CAL_POINTCLOUD 10
220 #define CAL_USERDRAWN 11
223 #define CAL_TOPLEFT 0
225 #define CAL_TOPRIGHT 1
227 #define CAL_BOTTOMRIGHT 2
229 #define CAL_BOTTOMLEFT 3
int objID0
Definition: callisto52Types.h:239
CAL_matrix4 matrix
Definition: callisto52Types.h:347
bool visible[4]
Definition: callisto52Types.h:265
CAL_scalar CAL_matrix3[3][3]
Definition: callisto52Types.h:14
CAL_scalar * points
Definition: callisto52Types.h:349
int xDim
Definition: callisto52Types.h:411
Structure to retrieve a polyline.
Definition: callisto52Types.h:372
CAL_matrix4 matrix
Definition: callisto52Types.h:395
CAL_scalar distance
Definition: callisto52Types.h:251
char * name
Definition: callisto52Types.h:271
CAL_matrix4 matrix
Definition: callisto52Types.h:377
int groupID
Definition: callisto52Types.h:407
CAL_scalar depth
Definition: callisto52Types.h:289
CAL_scalar height
Definition: callisto52Types.h:319
CAL_scalar width
Definition: callisto52Types.h:285
int groupID
Definition: callisto52Types.h:329
Structure to retrieve a triangle mesh.
Definition: callisto52Types.h:404
Structure to retrieve a tetrahedron.
Definition: callisto52Types.h:390
CAL_matrix4 matrix
Definition: callisto52Types.h:269
CAL_scalar height
Definition: callisto52Types.h:335
CAL_matrix4 matrix
Definition: callisto52Types.h:283
Structure to receive collision info.
Definition: callisto52Types.h:236
CAL_scalar vector1[3]
Definition: callisto52Types.h:249
int groupID1
Definition: callisto52Types.h:245
int nrTriangles
Definition: callisto52Types.h:363
Structure to retrieve a cylinder.
Definition: callisto52Types.h:310
CAL_matrix4 matrix
Definition: callisto52Types.h:409
int nrChildren
Definition: callisto52Types.h:261
Structure to retrieve a sphere.
Definition: callisto52Types.h:296
int nrObjects
Definition: callisto52Types.h:263
CAL_matrix4 matrix
Definition: callisto52Types.h:361
CAL_scalar * points
Definition: callisto52Types.h:397
CAL_scalar radius
Definition: callisto52Types.h:333
CAL_scalar CAL_matrix4[4][4]
Definition: callisto52Types.h:12
int nrLines
Definition: callisto52Types.h:379
void(* CAL_ObjectSelectCallback)(int viewID, int objID, CAL_scalar hitPoint[3])
Definition: callisto52Types.h:20
CAL_matrix4 matrix
Definition: callisto52Types.h:331
int groupID
Definition: callisto52Types.h:393
CAL_matrix4 matrix
Definition: callisto52Types.h:301
int groupID
Definition: callisto52Types.h:345
CAL_scalar * points
Definition: callisto52Types.h:365
Structure to retrieve a triangle mesh.
Definition: callisto52Types.h:356
CAL_scalar radius
Definition: callisto52Types.h:317
int zDim
Definition: callisto52Types.h:413
CAL_scalar * points
Definition: callisto52Types.h:383
CAL_scalar zStep
Definition: callisto52Types.h:417
Structure to retrieve a group.
Definition: callisto52Types.h:258
CAL_scalar radius
Definition: callisto52Types.h:303
int groupID
Definition: callisto52Types.h:359
int groupID
Definition: callisto52Types.h:281
void(* CAL_KeypressCallback)(int viewID, char key, bool pressed)
Definition: callisto52Types.h:17
int groupID
Definition: callisto52Types.h:313
int groupID0
Definition: callisto52Types.h:243
bool colCapable
Definition: callisto52Types.h:267
float CAL_scalar
Definition: callisto52Types.h:4
CAL_scalar * heights
Definition: callisto52Types.h:419
CAL_matrix4 matrix
Definition: callisto52Types.h:315
Structure to retrieve a cone.
Definition: callisto52Types.h:326
int objID1
Definition: callisto52Types.h:241
Structure to retrieve a plane.
Definition: callisto52Types.h:342
int * nrPoints
Definition: callisto52Types.h:381
CAL_scalar xStep
Definition: callisto52Types.h:415
CAL_scalar height
Definition: callisto52Types.h:287
int groupID
Definition: callisto52Types.h:375
int groupID
Definition: callisto52Types.h:299
Structure to retrieve a box.
Definition: callisto52Types.h:278
CAL_scalar vector0[3]
Definition: callisto52Types.h:247