32 #ifndef _POTKF_DRAW_H_
33 #define _POTKF_DRAW_H_
44 void drawarrow(
int x0,
int y0,
double o,
double lenght, IplImage *dst, CvScalar color,
int thickness,
int line_type,
int shift);
45 void draw_ambient(IplImage*img,
t_config*config,enum_background_style style=STYLE_DARK,
int laser=1);
58 extern void get_mean_velocity(t_circular_data*data,
double*mean_module,
double*mean_angle);
void draw_objects_ids(IplImage *img, t_object **objects, int size, CvScalar color, t_config *config)
Draw objects ID's in their centers.
void draw_objects(IplImage *img, t_object **objects, int size, CvScalar color, t_config *config)
Draw objects lines.
void DrawListCenters(IplImage *img, t_list *list, CvScalar color, t_config *config)
void draw_clusters_area(IplImage *img, t_cluster **clusters, int size, t_config *config, t_data *data)
Draw the cluster inner area.
void draw_midle_circle(IplImage *img, t_config *config)
Draw a circle on the midle of the image.
void DrawListPaths(IplImage *img, t_list *list, t_config *config)
void DrawListIds(IplImage *img, t_list *list, CvScalar color, t_config *config)
int real2print(double x, t_config *config)
void draw_clusters(IplImage *img, t_cluster **clusters, int size, t_data *data, t_config *config)
Draw all cluster points connect by lines.
void draw_raw_data_acc(IplImage *img, t_data_acc *data, CvScalar color, t_config *config)
Draw raw data accumulator.
void draw_clusters_centers(IplImage *img, t_cluster **clusters, int size, t_config *config)
Draw a point on the cluster in r minimum and mean theta.
Full description of and tracked object.
void draw_objects_ppos(IplImage *img, t_object **objects, int size, t_config *config)
void drawarrow(int x0, int y0, double o, double lenght, IplImage *dst, CvScalar color, int thickness, int line_type, int shift)
Draw arrow.
This structure contains object information.
void draw_oclusion_area(IplImage *img, t_object **list, int size, CvScalar color, t_config *config)
Draw the cluster inner area.
void DrawSearchArea(IplImage *img, t_list *list, t_config *config)
Cluster type class, clusters are groups of points in close proximity.
void get_mean_velocity(t_circular_data *data, double *mean_module, double *mean_angle)
void draw_clusters_npoints(IplImage *img, t_cluster **clusters, int size, t_data *data, t_config *config)
Prints the cluster number of points.
This structure has all points coordinates.
void DrawGlobal(char key, IplImage *img, t_config *config, t_data *data, t_object **objects, int object_size, t_list *list, t_flag *flags, int laser=0, bool raw_only=false)
void DrawVelocity(IplImage *img, t_list *list, t_config *config)
This structure contains global configurations parameters.
void draw_end_lines(IplImage *img, t_cluster **clusters, int size, t_data *data, t_config *config)
Draw clusters end lines, lines from the center of the image to the first and last point of the cluste...
Header with common structures and includes.
void draw_objects_centers(IplImage *img, t_object **objects, int size, CvScalar color, t_config *config)
Draws a point in objects centers.
This structure contains global flags parameters.
void draw_raw_data(IplImage *img, t_data *data, CvScalar color, t_config *config)
Draw raw data.
void draw_ambient(IplImage *img, t_config *config, enum_background_style style=STYLE_DARK, int laser=1)
Draw background ambient.