planners/aca/jma_switch.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TwoD_Point

Defines

#define SWITCH_WHITE   0
#define SWITCH_BLACK   1
#define SWITCH_RED   2
#define SWITCH_GREEN   3
#define SWITCH_BLUE   4
#define SWITCH_YELLOW   5
#define SWITCH_MAGENTA   6
#define SWITCH_CYAN   7
#define BIGEST_RND_NUMBER   RAND_MAX

Functions

void switch_draw_createwindow (char *, int, int, int, int, int)
void switch_draw_set_color (int)
void switch_draw_line (double, double, double, double, double)
void switch_draw_cross (double, double, double, double)
TwoD_Point switch_get_cursor_coord ()
double switch_random ()
void switch_srandom (int)


Define Documentation

#define BIGEST_RND_NUMBER   RAND_MAX
 

Definition at line 30 of file jma_switch.h.

Referenced by PL_RRT_CONNECT::Get_random_config(), PL_RRT::Get_random_config(), PL_Juan::MyRandomPath(), and PL_ACA_CONNECT::MyRandomPath().

#define SWITCH_BLACK   1
 

Definition at line 23 of file jma_switch.h.

Referenced by switch_draw_set_color().

#define SWITCH_BLUE   4
 

Definition at line 26 of file jma_switch.h.

Referenced by switch_draw_set_color().

#define SWITCH_CYAN   7
 

Definition at line 29 of file jma_switch.h.

Referenced by switch_draw_set_color().

#define SWITCH_GREEN   3
 

Definition at line 25 of file jma_switch.h.

Referenced by switch_draw_set_color().

#define SWITCH_MAGENTA   6
 

Definition at line 28 of file jma_switch.h.

Referenced by switch_draw_set_color().

#define SWITCH_RED   2
 

Definition at line 24 of file jma_switch.h.

Referenced by switch_draw_set_color().

#define SWITCH_WHITE   0
 

Definition at line 22 of file jma_switch.h.

Referenced by switch_draw_set_color().

#define SWITCH_YELLOW   5
 

Definition at line 27 of file jma_switch.h.

Referenced by switch_draw_set_color().


Function Documentation

void switch_draw_createwindow char *  ,
int  ,
int  ,
int  ,
int  ,
int 
 

void switch_draw_cross double  ,
double  ,
double  ,
double 
 

Definition at line 177 of file jma_switch.cpp.

void switch_draw_line double  ,
double  ,
double  ,
double  ,
double 
 

Definition at line 150 of file jma_switch.cpp.

void switch_draw_set_color int   ) 
 

Definition at line 72 of file jma_switch.cpp.

References SWITCH_BLACK, SWITCH_BLUE, SWITCH_CYAN, SWITCH_GREEN, SWITCH_MAGENTA, SWITCH_RED, SWITCH_WHITE, and SWITCH_YELLOW.

TwoD_Point switch_get_cursor_coord  ) 
 

Definition at line 203 of file jma_switch.cpp.

References TwoD_Point::x, and TwoD_Point::y.

double switch_random  ) 
 

Definition at line 239 of file jma_switch.cpp.

void switch_srandom int   ) 
 

Definition at line 256 of file jma_switch.cpp.


Generated on Sat Apr 1 21:41:28 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO