|
virtual void | draw_vertex_array (tools::gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs) |
|
virtual void | draw_vertex_array_xy (tools::gl::mode_t a_mode, size_t a_floatn, const float *a_xys) |
|
virtual void | draw_vertex_color_array (tools::gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_rgbas) |
|
virtual void | draw_vertex_normal_array (tools::gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
virtual void | draw_vertex_color_normal_array (tools::gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_rgbas, const float *a_nms) |
|
virtual void | draw_vertex_array_texture (tools::gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, gstoid a_tex, const float *a_tex_coords) |
| texture ///////////////////////////////////////////////////// More...
|
|
virtual void | draw_vertex_normal_array_texture (tools::gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_nms, gstoid a_tex, const float *a_tex_coords) |
|
virtual void | begin_gsto (gstoid a_id) |
| VBO /////////////////////////////////////////////////////////. More...
|
|
virtual void | end_gsto () |
|
virtual void | draw_gsto_v (tools::gl::mode_t a_mode, size_t a_elems, bufpos a_pos_xyzs) |
|
virtual void | draw_gsto_vc (tools::gl::mode_t a_mode, size_t a_elems, bufpos a_pos_xyzs, bufpos a_pos_rgbas) |
|
virtual void | draw_gsto_vn (tools::gl::mode_t a_mode, size_t a_elems, bufpos a_pos_xyzs, bufpos a_pos_nms) |
|
virtual void | draw_gsto_vcn (tools::gl::mode_t a_mode, size_t a_elems, bufpos a_pos_xyzs, bufpos a_pos_rgbas, bufpos a_pos_nms) |
|
virtual void | clear_color (float a_r, float a_g, float a_b, float a_a) |
|
virtual void | color4f (float a_r, float a_g, float a_b, float a_a) |
|
virtual void | line_width (float a_v) |
|
virtual void | point_size (float a_v) |
|
virtual void | set_polygon_offset (bool a_v) |
|
virtual void | normal (float a_x, float a_y, float a_z) |
|
virtual void | set_winding (tools::sg::winding_type a_v) |
|
virtual void | set_shade_model (tools::sg::shade_type a_v) |
|
virtual void | set_cull_face (bool a_on) |
|
virtual void | set_point_smooth (bool a_on) |
|
virtual void | set_line_smooth (bool a_on) |
|
virtual void | set_depth_test (bool a_on) |
|
virtual void | load_proj_matrix (const tools::mat4f &a_mtx) |
|
virtual void | load_model_matrix (const tools::mat4f &a_mtx) |
|
virtual unsigned int | max_lights () |
|
virtual void | enable_light (unsigned int a_light, float a_dx, float a_dy, float a_dz, float a_r, float a_g, float a_b, float a_a) |
|
virtual void | set_lighting (bool a_on) |
|
virtual void | set_blend (bool a_on) |
|
virtual void | restore_state (unsigned int a_ret_num_light) |
|
virtual tools::sg::render_manager & | render_manager () |
|
| GL_action (GL_manager &a_mgr, std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~GL_action () |
|
| GL_action (const GL_action &a_from) |
|
GL_action & | operator= (const GL_action &a_from) |
|
| render_action (std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~render_action () |
|
| render_action (const render_action &a_from) |
|
render_action & | operator= (const render_action &a_from) |
|
void | load_matrices_to_identity () |
|
void | load_matrices_from_state () |
|
void | clear_color (const colorf &a_color) |
|
void | color4f (const colorf &a_color) |
|
void | enable_light (unsigned int a_light, const vec3f &a_dir, const colorf &a_col) |
|
void | draw_vertex_array (gl::mode_t a_mode, const std::vector< float > &a_xyzs) |
|
void | draw_vertex_array_xy (gl::mode_t a_mode, const std::vector< float > &a_xys) |
|
void | draw_vertex_color_array (gl::mode_t a_mode, const std::vector< float > &a_xyzs, const std::vector< float > &a_rgbas) |
|
void | draw_vertex_normal_array (gl::mode_t a_mode, const std::vector< float > &a_xyzs, const std::vector< float > &a_nms) |
|
void | draw_vertex_color_normal_array (gl::mode_t a_mode, const std::vector< float > &a_xyzs, const std::vector< float > &a_rgbas, const std::vector< float > &a_nms) |
|
void | normal (const vec3f &a_vec) |
|
bool | add_triangles_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
bool | add_triangle_fan_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
bool | add_triangle_fan_normal_rgba (size_t a_floatn, const float *a_xyzs, float *a_nms, const float *a_rgbas) |
|
bool | add_triangle_strip_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
bool | add_triangle_strip_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas) |
|
bool | add_lines (size_t a_floatn, const float *a_xyzs) |
|
bool | add_line_loop (size_t a_floatn, const float *a_xyzs) |
|
bool | add_line_strip (size_t a_floatn, const float *a_xyzs) |
|
bool | add_points (size_t a_floatn, const float *a_xyzs) |
|
bool | add_triangle_fan_texture_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, gstoid a_tex, const float *a_texs) |
|
bool | add_triangle_strip_texture_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, gstoid a_tex, const float *a_texs) |
|
bool | add_line_loop (const std::vector< float > &a_xyzs) |
|
bool | add_line_strip (const std::vector< float > &a_xyzs) |
|
bool | add_triangle_strip_as_triangles (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
void | dump_vertex_array_xy (std::ostream &a_out, gl::mode_t, size_t a_floatn, const float *a_xys) |
|
| matrix_action (std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~matrix_action () |
|
| matrix_action (const matrix_action &a_from) |
|
matrix_action & | operator= (const matrix_action &a_from) |
|
void | push_matrices () |
|
void | pop_matrices () |
|
mat4f & | projection_matrix () |
|
mat4f & | model_matrix () |
|
bool | end () const |
|
int | cur () const |
|
bool | project_point (float &a_x, float &a_y, float &a_z, float &a_w) |
|
void | model_point (float &a_x, float &a_y, float &a_z, float &a_w) |
|
void | projected_origin (float &a_x, float &a_y, float &a_z) |
|
| win_action (std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~win_action () |
|
unsigned int | ww () const |
|
unsigned int | wh () const |
|
virtual void * | cast (const std::string &a_class) const |
|
virtual const std::string & | s_cls () const =0 |
|
| action (std::ostream &a_out) |
|
virtual | ~action () |
|
std::ostream & | out () const |
|
| states (unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~states () |
|
const sg::state & | state () const |
|
sg::state & | state () |
|
void | pop_state () |
|
void | push_state () |
|
void | save_state (const sg::state &a_state) |
|
const sg::state & | saved_state () const |
|
sg::state & | saved_state () |
|
Definition at line 17 of file GL_action.