26 #ifndef __diguyViewPainter_H
27 #define __diguyViewPainter_H
32 #define CPLUSPLUS_ONLY
61 virtual void set_line_width(
float width);
70 virtual void set_pen_color(
float red,
float green,
float blue,
float alpha = 1.0f);
78 virtual void set_pen2_color(
float red,
float green,
float blue,
float alpha = 1.0f);
86 virtual void set_brush_color(
float red,
float green,
float blue,
float alpha = 1.0f);
101 virtual void get_viewport_size(
float* width,
float* height);
115 virtual void world_to_screen(
float world_x,
float world_y,
float world_z,
116 float* view_x,
float* view_y,
float* view_z);
140 virtual void draw_line(
float x1,
float y1,
float z1,
141 float x2,
float y2,
float z2);
150 virtual void draw_line_2c(
float x1,
float y1,
float z1,
151 float x2,
float y2,
float z2);
158 virtual void draw_sphere(
float x,
float y,
float z,
169 virtual void draw_box(
float x1,
float y1,
float z1,
170 float x2,
float y2,
float z2,
183 virtual void draw_rotated_box(
float x1,
float y1,
float z1,
184 float x2,
float y2,
float z2,
185 float yaw,
float roll,
float pitch,
186 float xc,
float yc,
float zc,
195 virtual void draw_arrow(
float x1,
float y1,
float z1,
196 float x2,
float y2,
float z2,
197 float shaft_width = 0.02,
198 float arrow_width = 0.05,
207 virtual void draw_disc(
float x,
float y,
float z,
219 virtual void draw_circle(
float x,
float y,
float z,
220 float normal_x,
float normal_y,
float normal_z,
232 virtual void draw_torus(
float x,
float y,
float z,
245 virtual void draw_cylinder(
float x,
float y,
float z,
257 virtual void draw_wedge(
float x,
float y,
float z,
258 float target_x,
float target_y,
float target_z,
264 virtual void draw_wedge_with_normal(
float x,
float y,
float z,
265 float target_x,
float target_y,
float target_z,
266 float nx,
float ny,
float nz,
297 virtual void begin_2d_text_mode();
307 virtual void end_2d_text_mode();
319 virtual void draw_text(
float screen_x,
float screen_y,
const char* text);
332 virtual void draw_2d_rect(
float x0,
340 virtual void draw_private_path_shape(
diguyCharacter* diguy_character,
341 int include_waypoints = 0);
346 virtual void debug_pa_add_2d_point(
const char * name,
float x,
float y);
347 virtual void debug_pa_add_3d_point(
const char * name,
float x,
float y,
float z);
348 virtual void debug_pa_set_param_color(
const char * name,
float r,
float g,
float b,
float a = 1.0f);
350 virtual void debug_pa_set_param_style(
const char * name,
const char * param,
int value);
351 virtual void debug_pa_reset(
const char * name);
353 virtual void draw_point_arrays();
358 #ifdef CPLUSPLUS_ONLY
372 friend class bdiScenarioApp;
Definition: diguyViewPainter.h:39
The class that represents a DI-Guy Entity in the world.
Definition: diguyCharacter.h:78