Callisto function reference
5.2
|
Structures to retrieve data from Callisto. More...
Go to the source code of this file.
Data Structures | |
struct | SCALBox |
Structure to retrieve a box. More... | |
struct | SCALCone |
Structure to retrieve a cone. More... | |
struct | SCALCylinder |
Structure to retrieve a cylinder. More... | |
struct | SCALElevationGrid |
Structure to retrieve a triangle mesh. More... | |
struct | SCALGroup |
Structure to retrieve a group. More... | |
struct | SCALPlane |
Structure to retrieve a plane. More... | |
struct | SCALPolyline |
Structure to retrieve a polyline. More... | |
struct | SCALResult |
Structure to receive collision info. More... | |
struct | SCALSphere |
Structure to retrieve a sphere. More... | |
struct | SCALTetrahedron |
Structure to retrieve a tetrahedron. More... | |
struct | SCALTriangles |
Structure to retrieve a triangle mesh. More... | |
Typedefs | |
typedef void(* | CAL_KeypressCallback )(int viewID, char key, bool pressed) |
typedef CAL_scalar | CAL_matrix3 [3][3] |
typedef CAL_scalar | CAL_matrix4 [4][4] |
typedef void(* | CAL_ObjectSelectCallback )(int viewID, int objID, CAL_scalar hitPoint[3]) |
typedef float | CAL_scalar |
Structures to retrieve data from Callisto.
#define CAL_DISABLESTATISTICS 2 |
Disable statistical information of collision checks.
#define CAL_ENABLESTATISTICS 1 |
Enable statistical information of collision checks.
#define CAL_FALSE 0 |
Use with CreateGroup/AddKeystate to set visibility.
#define CAL_INHERITSCALING (1<<15) |
The state inherits the scaling parameters from its parent.
#define CAL_NOORIENTATIONINTERPOLATION (1<<12) |
Does not interpolate keystates (group/object jumps). Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_NOPOSITIONINTERPOLATION (1<<10) |
Does not interpolate keystates (group/object jumps). Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_NOSCALINGINTERPOLATION (1<<14) |
Does not interpolate keystates (group/object jumps). Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_NOTINHERITSCALING (1<<16) |
The state does not inherit the scaling parameters from its parent.
#define CAL_NOTSET 3 |
Use with CreateGroup/AddKeystate to set visibility.
#define CAL_NULL 0 |
CAL_NULL value.
#define CAL_ORIENTATIONCYCLIC (1<<3) |
Repeats orientation animation infinitely. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_ORIENTATIONINTERPOLATION (1<<11) |
Interpolates between keystates (using linear interpolation for translation and SLERP for quaternion interpolation. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_ORIENTATIONNONCYCLIC (1<<4) |
Do not repeat orientation animation. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_POSITIONCYCLIC (1<<1) |
Repeats position animation infinitely. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_POSITIONINTERPOLATION (1<<9) |
Interpolates between keystates (using linear interpolation for translation and SLERP for quaternion interpolation. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_POSITIONNONCYCLIC (1<<2) |
Do not repeat position animation. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_SCALINGCYCLIC (1<<5) |
Repeats scaling animation infinitely. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_SCALINGINTERPOLATION (1<<13) |
Interpolates between keystates (using linear interpolation for translation and SLERP for quaternion interpolation. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_SCALINGNONCYCLIC (1<<6) |
Do not repeat scaling animation. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_TRUE 1 |
Use with CreateGroup/AddKeystate to set visibility.
#define CAL_USEPARENT 2 |
Use with CreateGroup/AddKeystate to set visibility.
#define CAL_VISIBILITYCYCLIC (1<<7) |
Repeats visibility animation infinitely. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
#define CAL_VISIBILITYNONCYCLIC (1<<8) |
Does not repeat visibility animation. Use with CAL_SetGroupStateOptions or CAL_SetGroupOptions.
typedef void(* CAL_KeypressCallback)(int viewID, char key, bool pressed) |
Callback function type for key press.
typedef CAL_scalar CAL_matrix3[3][3] |
CAL_matrix3 value used.
typedef CAL_scalar CAL_matrix4[4][4] |
CAL_matrix4 value used. Position can be found as: m[0][3] = x; m[1][3] = y; m[2][3] = z;
typedef void(* CAL_ObjectSelectCallback)(int viewID, int objID, CAL_scalar hitPoint[3]) |
Callback function type for object selection.
typedef float CAL_scalar |
CAL_scalar value used.