 |
C++ SDK Reference
12.5
|
Go to the documentation of this file.
46 #ifndef __diguyViewPainter_H
47 #define __diguyViewPainter_H
52 #define CPLUSPLUS_ONLY
81 virtual void set_line_width(
float width);
95 virtual void set_pen_color(
float red,
float green,
float blue,
float alpha = 1.0f);
108 virtual void set_pen2_color(
float red,
float green,
float blue,
float alpha = 1.0f);
121 virtual void set_brush_color(
float red,
float green,
float blue,
float alpha = 1.0f);
141 virtual void get_viewport_size(
float* width,
float* height);
155 virtual void world_to_screen(
float world_x,
float world_y,
float world_z,
156 float* view_x,
float* view_y,
float* view_z);
180 virtual void draw_line(
float x1,
float y1,
float z1,
181 float x2,
float y2,
float z2);
195 virtual void draw_line_2c(
float x1,
float y1,
float z1,
196 float x2,
float y2,
float z2);
208 virtual void draw_sphere(
float x,
float y,
float z,
224 virtual void draw_box(
float x1,
float y1,
float z1,
225 float x2,
float y2,
float z2,
243 virtual void draw_rotated_box(
float x1,
float y1,
float z1,
244 float x2,
float y2,
float z2,
245 float yaw,
float roll,
float pitch,
246 float xc,
float yc,
float zc,
260 virtual void draw_arrow(
float x1,
float y1,
float z1,
261 float x2,
float y2,
float z2,
262 float shaft_width = 0.02,
263 float arrow_width = 0.05,
277 virtual void draw_disc(
float x,
float y,
float z,
294 virtual void draw_circle(
float x,
float y,
float z,
295 float normal_x,
float normal_y,
float normal_z,
312 virtual void draw_torus(
float x,
float y,
float z,
330 virtual void draw_cylinder(
float x,
float y,
float z,
347 virtual void draw_wedge(
float x,
float y,
float z,
348 float target_x,
float target_y,
float target_z,
354 virtual void draw_wedge_with_normal(
float x,
float y,
float z,
355 float target_x,
float target_y,
float target_z,
356 float nx,
float ny,
float nz,
386 virtual void begin_2d_text_mode();
401 virtual void end_2d_text_mode();
418 virtual void draw_text(
float screen_x,
float screen_y,
const char* text);
436 virtual void draw_2d_rect(
float x0,
446 virtual void draw_private_path_shape(
diguyCharacter* diguy_character,
447 int include_waypoints = 0);
453 #ifdef CPLUSPLUS_ONLY
467 friend class bdiScenarioApp;