8 #ifndef __diguyViewPainter_H
9 #define __diguyViewPainter_H
14 #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,
296 virtual void begin_2d_mode();
303 virtual void begin_2d_text_mode();
314 virtual void end_2d_text_mode();
326 virtual void draw_text(
float screen_x,
float screen_y,
const char* text);
339 virtual void draw_2d_rect(
float x0,
348 virtual void draw_private_path_shape(
diguyCharacter* diguy_character,
349 int include_waypoints = 0);
351 virtual void debug_pa_add_2d_point(
const char * name,
float x,
float y );
352 virtual void debug_pa_add_3d_point(
const char * name,
float x,
float y,
float z );
353 virtual void debug_pa_set_param_color(
const char * name,
float r,
float g,
float b,
float a = 1.0f );
354 virtual void debug_pa_set_param_style(
const char * name,
const char * param,
int value );
357 virtual void debug_pa_reset(
const char * name);
359 virtual void draw_point_arrays();
361 #ifdef CPLUSPLUS_ONLY
364 int vertex_count,
float * verts,
float * colors = NULL,
float * normals = NULL,
float * uvs = NULL );
365 virtual void draw_opengl_primitive(
int primative_type,
int vertex_count,
float * verts,
366 float * colors = NULL,
float * normals = NULL,
float * uvs = NULL );
386 friend class bdiScenarioApp;
Definition: diguyViewPainter.h:38
The class that represents a DI-Guy Entity in the world.
Definition: diguyCharacter.h:80
This class implements shader programs for use with DI-Guy character graphics.
Definition: diguyGraphicsShaderProgram.h:96