Home
FAQ
Player
Utilities
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

Global.hh File Reference

#include <stdint.h>

Go to the source code of this file.

Defines

#define NULL   0
#define GZ_ALL_COLLIDE   0xFFFFFFFF
#define GZ_NONE_COLLIDE   0x00000000
#define GZ_FIXED_COLLIDE   0x00000001
#define GZ_LASER_COLLIDE   0x00000002
#define GZ_ALL_CAMERA   0xFFFFFFFF
#define GZ_LASER_CAMERA   0x00000001
#define GZ_GUIDATA_CAMERA   0x00000002
#define GZ_RENDER_MAX_PASSES   3
#define GZ_RENDER_LIGHT   0
#define GZ_RENDER_OPAQUE   1
#define GZ_RENDER_TRANSPARENT   2
#define RTOD(r)   ((r) * 180 / M_PI)
#define DTOR(d)   ((d) * M_PI / 180)
#define NORMALIZE(a)   (atan2(sin(a), cos(a)))
#define IsEven(x)   ( ((x) % 2) == 0)
#define IsOdd(x)   ( ((x) % 2) != 0)
#define Max(x, y)   ( (x) > (y) ? (x) : (y) )
#define Min(x, y)   ( (x) < (y) ? (x) : (y) )
#define Round(x)   ( (int)( floor((x)+0.5) ) )

Typedefs

typedef unsigned char uchar
typedef unsigned short ushort
typedef unsigned int uint
typedef unsigned long ulong
typedef int(* gz_plugin_init_fn_t )(void)


Define Documentation

#define NULL   0
 

#define GZ_ALL_COLLIDE   0xFFFFFFFF
 

#define GZ_NONE_COLLIDE   0x00000000
 

#define GZ_FIXED_COLLIDE   0x00000001
 

#define GZ_LASER_COLLIDE   0x00000002
 

#define GZ_ALL_CAMERA   0xFFFFFFFF
 

#define GZ_LASER_CAMERA   0x00000001
 

#define GZ_GUIDATA_CAMERA   0x00000002
 

#define GZ_RENDER_MAX_PASSES   3
 

#define GZ_RENDER_LIGHT   0
 

#define GZ_RENDER_OPAQUE   1
 

#define GZ_RENDER_TRANSPARENT   2
 

#define RTOD  )     ((r) * 180 / M_PI)
 

#define DTOR  )     ((d) * M_PI / 180)
 

#define NORMALIZE  )     (atan2(sin(a), cos(a)))
 

#define IsEven  )     ( ((x) % 2) == 0)
 

#define IsOdd  )     ( ((x) % 2) != 0)
 

#define Max x,
 )     ( (x) > (y) ? (x) : (y) )
 

#define Min x,
 )     ( (x) < (y) ? (x) : (y) )
 

#define Round  )     ( (int)( floor((x)+0.5) ) )
 


Typedef Documentation

typedef unsigned char uchar
 

typedef unsigned short ushort
 

typedef unsigned int uint
 

typedef unsigned long ulong
 

typedef int(* gz_plugin_init_fn_t)(void)
 



Last updated $Date: 2004/12/21 01:49:15 $
Generated on Sun May 22 18:39:08 2005 for Gazebo by doxygen 1.4.2