ROBOT.C File Reference

Go to the source code of this file.

Defines

#define MODULE_ROBOT   1
#define TIME_DELAY   30
#define EPSILON   1.0e-6
#define ptrNMHDR   ((LPNMHDR)lparam)
#define ptrNM_TREEVIEW   ((NM_TREEVIEW *)lparam)
#define ptrTV_DISPINFO   ((TV_DISPINFO *)lparam)
#define BOUND(x, min, max)   ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x)))
#define IDM_SKTB_V   100
#define IDM_SKTB_U   101
#define IDM_SKTB_W   102
#define IDM_SKTB_X   103
#define IDM_SKTB_Y   104
#define IDM_SKTB_Z   105
#define IDM_SKTB_R   106
#define IDM_SKTB_RESET   107
#define IDM_SKTB_COPY   108
#define IDM_SKTB_SAVE   109
#define IDM_SKTB_LOAD   110
#define IDM_SKTB_ZOOM   111
#define IDM_SKTB_ZOOM_STATE   112
#define IDM_SKTB_RESET_SELECT   113
#define IDM_SKTB_OVERLAY   114
#define IDM_SKTB_TRANSPARENT   115
#define IDM_SKTB_POINTS   116
#define NTOOLBARBITMAPS   17
#define NTOOLBARBUTTONS   22

Typedefs

typedef double quaternion [4]

Functions

long GetRobotVolume (long n, skel *sp, vector c)
void DrawRobot (HDC hdc[], object *Op, point Offset, double p, double t, double a, short im, double ima, double sx, double sy, double sz, short status)
void DrawFullRobot (HDC hdc[], object *Op, point Offset, double p, double t, double a, short im, double ima, double sx, double sy, double sz, short status)
void SkeletorOn (void)
void SkeletorOff (short disengage)
int Skeletor (void)
void RobotTransform (point Offset, double p, double t, double a, double sx, double sy, double sz, short im, double ima, double RoboT[4][4])
short OpenRobotDirectory (char *script_file)
void RemoveRobotDirectory (char *script_file)
void GetRobotScriptName (char *script_file, long node_id, short lastframe, char *robot_name)
short RobotFileExists (char *robot_name)
void WriteRobot (object *Op, char *robot_name)
void SetRobotToWalkPath (node *Np)
void ExportRobotSequence (node *Np)
long ImportRobotSequence (long n, node *Np, char *filename, long firstframe, long lastframe)
void InterpolateRobot (double mr, object *Op, object *LastOp)
void UpdateRobot (object *Op)

Variables

skelSkeleton
 SkTreeViewXpos = -1
 SkTreeViewYpos = -1
 SkTreeViewXsize = 0
 SkTreeViewYsize = 0


Define Documentation

#define MODULE_ROBOT   1

Definition at line 4 of file ROBOT.C.

#define TIME_DELAY   30

#define EPSILON   1.0e-6

Definition at line 862 of file ROBOT.C.

#define ptrNMHDR   ((LPNMHDR)lparam)

Definition at line 963 of file ROBOT.C.

#define ptrNM_TREEVIEW   ((NM_TREEVIEW *)lparam)

Definition at line 964 of file ROBOT.C.

#define ptrTV_DISPINFO   ((TV_DISPINFO *)lparam)

Definition at line 965 of file ROBOT.C.

#define BOUND ( x,
min,
max   )     ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x)))

Definition at line 967 of file ROBOT.C.

#define IDM_SKTB_V   100

Definition at line 969 of file ROBOT.C.

#define IDM_SKTB_U   101

Definition at line 970 of file ROBOT.C.

#define IDM_SKTB_W   102

Definition at line 971 of file ROBOT.C.

#define IDM_SKTB_X   103

Definition at line 972 of file ROBOT.C.

#define IDM_SKTB_Y   104

Definition at line 973 of file ROBOT.C.

#define IDM_SKTB_Z   105

Definition at line 974 of file ROBOT.C.

#define IDM_SKTB_R   106

Definition at line 975 of file ROBOT.C.

#define IDM_SKTB_RESET   107

Definition at line 976 of file ROBOT.C.

#define IDM_SKTB_COPY   108

Definition at line 977 of file ROBOT.C.

#define IDM_SKTB_SAVE   109

Definition at line 978 of file ROBOT.C.

#define IDM_SKTB_LOAD   110

Definition at line 979 of file ROBOT.C.

#define IDM_SKTB_ZOOM   111

Definition at line 980 of file ROBOT.C.

#define IDM_SKTB_ZOOM_STATE   112

Definition at line 981 of file ROBOT.C.

#define IDM_SKTB_RESET_SELECT   113

Definition at line 982 of file ROBOT.C.

#define IDM_SKTB_OVERLAY   114

Definition at line 983 of file ROBOT.C.

#define IDM_SKTB_TRANSPARENT   115

Definition at line 984 of file ROBOT.C.

#define IDM_SKTB_POINTS   116

Definition at line 985 of file ROBOT.C.

#define NTOOLBARBITMAPS   17

Definition at line 1005 of file ROBOT.C.

#define NTOOLBARBUTTONS   22

Definition at line 1006 of file ROBOT.C.

Referenced by SetSkToolbarState().


Typedef Documentation

typedef double quaternion[4]

Definition at line 12 of file ROBOT.C.


Variable Documentation

Definition at line 600 of file ROBOT.C.

Referenced by FreeAllObjects(), and GetCommand().

Definition at line 999 of file ROBOT.C.

Definition at line 999 of file ROBOT.C.

Definition at line 1000 of file ROBOT.C.

Definition at line 1000 of file ROBOT.C.


Generated on Sun Apr 27 14:20:15 2014 for OpenFX by  doxygen 1.5.6