|
g4tools
5.4.0
|


Public Types | |
| typedef unsigned int | gstoid |
Public Member Functions | |
| virtual void | load_proj_matrix (const mat4f &)=0 |
| virtual void | load_model_matrix (const mat4f &)=0 |
| virtual void | draw_vertex_array (gl::mode_t, size_t, const float *)=0 |
| virtual void | draw_vertex_array_xy (gl::mode_t, size_t, const float *)=0 |
| virtual void | draw_vertex_color_array (gl::mode_t, size_t, const float *, const float *)=0 |
| virtual void | draw_vertex_normal_array (gl::mode_t, size_t, const float *, const float *)=0 |
| virtual void | draw_vertex_color_normal_array (gl::mode_t, size_t, const float *, const float *, const float *)=0 |
| virtual void | draw_vertex_array_texture (gl::mode_t, size_t, const float *, gstoid, const float *)=0 |
| texture ///////////////////////////////////////////////////// More... | |
| virtual void | draw_vertex_normal_array_texture (gl::mode_t, size_t, const float *, const float *, gstoid, const float *)=0 |
| virtual void | begin_gsto (gstoid)=0 |
| VBO /////////////////////////////////////////////////////////. More... | |
| virtual void | draw_gsto_v (gl::mode_t, size_t, bufpos)=0 |
| virtual void | draw_gsto_vc (gl::mode_t, size_t, bufpos, bufpos)=0 |
| virtual void | draw_gsto_vn (gl::mode_t, size_t, bufpos, bufpos)=0 |
| virtual void | draw_gsto_vcn (gl::mode_t, size_t, bufpos, bufpos, bufpos)=0 |
| virtual void | end_gsto ()=0 |
| virtual void | clear_color (float, float, float, float)=0 |
| virtual void | color4f (float, float, float, float)=0 |
| virtual void | line_width (float)=0 |
| virtual void | point_size (float)=0 |
| virtual void | set_polygon_offset (bool)=0 |
| virtual void | set_winding (winding_type)=0 |
| virtual void | set_shade_model (shade_type)=0 |
| virtual void | set_cull_face (bool)=0 |
| virtual void | set_point_smooth (bool)=0 |
| virtual void | set_line_smooth (bool)=0 |
| virtual void | normal (float, float, float)=0 |
| virtual void | set_depth_test (bool)=0 |
| virtual unsigned int | max_lights ()=0 |
| virtual void | enable_light (unsigned int, float, float, float, float, float, float, float)=0 |
| virtual void | set_lighting (bool)=0 |
| virtual void | set_blend (bool)=0 |
| virtual void | restore_state (unsigned int)=0 |
| virtual sg::render_manager & | render_manager ()=0 |
| 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) |
Public Member Functions inherited from tools::sg::matrix_action | |
| 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) |
Public Member Functions inherited from tools::sg::win_action | |
| 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 |
Public Member Functions inherited from tools::sg::action | |
| 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 |
Public Member Functions inherited from tools::sg::states | |
| 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 () |
Additional Inherited Members | |
Protected Member Functions inherited from tools::sg::matrix_action | |
| void | reset () |
Protected Member Functions inherited from tools::sg::win_action | |
| win_action (const win_action &a_from) | |
| win_action & | operator= (const win_action &a_from) |
Protected Member Functions inherited from tools::sg::action | |
| action (const action &a_from) | |
| action & | operator= (const action &) |
Protected Member Functions inherited from tools::sg::states | |
| states (const states &a_from) | |
| states & | operator= (const states &a_from) |
Protected Attributes inherited from tools::sg::matrix_action | |
| std::vector< mat4f > | m_projs |
| std::vector< mat4f > | m_models |
| int | m_cur |
| mat4f | m_identity |
Protected Attributes inherited from tools::sg::win_action | |
| unsigned int | m_ww |
| unsigned int | m_wh |
Protected Attributes inherited from tools::sg::action | |
| std::ostream & | m_out |
Protected Attributes inherited from tools::sg::states | |
| std::vector< sg::state > | m_states |
| sg::state | m_state |
| sg::state | m_saved_state |
Definition at line 24 of file render_action.
| typedef unsigned int tools::sg::render_action::gstoid |
Definition at line 27 of file render_action.
|
inline |
Definition at line 79 of file render_action.
|
inlinevirtual |
Definition at line 81 of file render_action.
|
inline |
Definition at line 83 of file render_action.
|
inline |
Definition at line 216 of file render_action.
|
inline |
Definition at line 180 of file render_action.
|
inline |
Definition at line 222 of file render_action.
|
inline |
Definition at line 184 of file render_action.
|
inline |
Definition at line 176 of file render_action.
|
inline |
Definition at line 188 of file render_action.
|
inline |
Definition at line 160 of file render_action.
|
inline |
Definition at line 164 of file render_action.
|
inline |
Definition at line 207 of file render_action.
|
inline |
Definition at line 261 of file render_action.
|
inline |
Definition at line 168 of file render_action.
|
inline |
Definition at line 172 of file render_action.
|
inline |
Definition at line 211 of file render_action.
|
inline |
Definition at line 156 of file render_action.
|
pure virtual |
VBO /////////////////////////////////////////////////////////.
Implemented in tools::sg::zb_action, tools::sg::gl2ps_action, and tools::sg::GL_action.
|
inline |
Definition at line 101 of file render_action.
|
pure virtual |
Implemented in tools::sg::gl2ps_action, tools::sg::zb_action, and tools::sg::GL_action.
|
inline |
Definition at line 104 of file render_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 116 of file render_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
pure virtual |
texture /////////////////////////////////////////////////////
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 121 of file render_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 126 of file render_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 142 of file render_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 134 of file render_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 279 of file render_action.
|
inline |
Definition at line 108 of file render_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::gl2ps_action, and tools::sg::GL_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 95 of file render_action.
|
inline |
Definition at line 91 of file render_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 152 of file render_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
inline |
Definition at line 86 of file render_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::gl2ps_action, and tools::sg::GL_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::gl2ps_action, and tools::sg::GL_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::GL_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::GL_action, tools::sg::zb_action, and tools::sg::gl2ps_action.
|
pure virtual |
Implemented in tools::sg::zb_action, tools::sg::gl2ps_action, and tools::sg::GL_action.