|
g4tools
5.4.0
|


Classes | |
| class | primvis |
Public Member Functions | |
| virtual void | draw_vertex_array (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs) |
| virtual void | draw_vertex_array_xy (gl::mode_t a_mode, size_t a_floatn, const float *a_xys) |
| virtual void | draw_vertex_color_array (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_rgbas) |
| virtual void | draw_vertex_normal_array (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_nms) |
| virtual void | draw_vertex_color_normal_array (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_rgbas, const float *a_nms) |
| virtual void | clear_color (float a_r, float a_g, float a_b, float) |
| 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 (winding_type a_v) |
| virtual void | set_shade_model (shade_type a_v) |
| virtual void | set_depth_test (bool a_on) |
| 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 | load_proj_matrix (const mat4f &a_mtx) |
| virtual void | load_model_matrix (const mat4f &a_mtx) |
| virtual unsigned int | max_lights () |
| virtual void | enable_light (unsigned int, 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) |
| virtual void | restore_state (unsigned int) |
| virtual void | draw_vertex_array_texture (gl::mode_t, size_t a_xyzn, const float *a_xyzs, gstoid a_id, const float *a_tcs) |
| texture ///////////////////////////////////////////////////// More... | |
| virtual void | draw_vertex_normal_array_texture (gl::mode_t a_mode, size_t a_xyzn, const float *a_xyzs, const float *, gstoid a_id, const float *a_tcs) |
| virtual void | begin_gsto (gstoid) |
| VBO /////////////////////////////////////////////////////////. More... | |
| virtual void | draw_gsto_v (gl::mode_t, size_t, bufpos) |
| virtual void | draw_gsto_vc (gl::mode_t, size_t, bufpos, bufpos) |
| virtual void | draw_gsto_vn (gl::mode_t, size_t, bufpos, bufpos) |
| virtual void | draw_gsto_vcn (gl::mode_t, size_t, bufpos, bufpos, bufpos) |
| virtual void | end_gsto () |
| virtual sg::render_manager & | render_manager () |
| gl2ps_action (gl2ps_manager &a_mgr, std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) | |
| virtual | ~gl2ps_action () |
| bool | open (const std::string &a_name, int a_format=TOOLS_GL2PS_EPS) |
| bool | close () |
| void | set_background (float a_r, float a_g, float a_b) |
Public Member Functions inherited from tools::sg::render_action | |
| 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 () |
Protected Member Functions | |
| gl2ps_action (const gl2ps_action &a_from) | |
| gl2ps_action & | operator= (const gl2ps_action &a_from) |
| void | set_normal_matrix () |
| bool | project_point (float &a_x, float &a_y, float &a_z, float &a_w) |
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) |
Static Protected Member Functions | |
| static void | set_vtx (tools_GL2PSvertex *a_vs, unsigned int a_index, float a_x, float a_y, float a_z, float a_r, float a_g, float a_b, float a_a) |
Protected Attributes | |
| gl2ps_manager & | m_mgr |
| FILE * | m_FILE |
| float | m_back [3] |
| mat4f | m_vp_mtx |
| primvis | m_pv |
| colorf | m_light_color |
| vec3f | m_light_direction |
| vec3f | m_normal |
| mat4f | m_proj |
| mat4f | m_model |
| mat4f | m_normal_matrix |
| colorf | m_color |
| bool | m_ccw |
| bool | m_POLYGON_OFFSET_FILL |
| bool | m_CULL_FACE |
| bool | m_POINT_SMOOTH |
| bool | m_LINE_SMOOTH |
| float | m_point_size |
| float | m_line_width |
| bool | m_light_on |
| bool | m_DEPTH_TEST |
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 |
Additional Inherited Members | |
Public Types inherited from tools::sg::render_action | |
| typedef unsigned int | gstoid |
Definition at line 19 of file gl2ps_action.
|
inline |
Definition at line 163 of file gl2ps_action.
|
inlinevirtual |
Definition at line 196 of file gl2ps_action.
|
inlineprotected |
Definition at line 198 of file gl2ps_action.
|
inlinevirtual |
VBO /////////////////////////////////////////////////////////.
Implements tools::sg::render_action.
Definition at line 152 of file gl2ps_action.
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 64 of file gl2ps_action.
|
inline |
Definition at line 296 of file gl2ps_action.
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 68 of file gl2ps_action.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 28 of file gl2ps_action.
|
inlinevirtual |
texture /////////////////////////////////////////////////////
Implements tools::sg::render_action.
Definition at line 133 of file gl2ps_action.
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 34 of file gl2ps_action.
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 40 of file gl2ps_action.
|
inlinevirtual |
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 47 of file gl2ps_action.
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 140 of file gl2ps_action.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 94 of file gl2ps_action.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 74 of file gl2ps_action.
|
inline |
Definition at line 257 of file gl2ps_action.
|
inlineprotected |
Definition at line 227 of file gl2ps_action.
|
inlinevirtual |
|
inlineprotected |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 303 of file gl2ps_action.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlineprotected |
Definition at line 309 of file gl2ps_action.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 82 of file gl2ps_action.
|
inlinestaticprotected |
|
inlinevirtual |
Implements tools::sg::render_action.
Definition at line 78 of file gl2ps_action.
|
protected |
Definition at line 620 of file gl2ps_action.
|
protected |
Definition at line 633 of file gl2ps_action.
|
protected |
Definition at line 632 of file gl2ps_action.
|
protected |
Definition at line 635 of file gl2ps_action.
|
protected |
Definition at line 641 of file gl2ps_action.
|
protected |
Definition at line 619 of file gl2ps_action.
|
protected |
Definition at line 624 of file gl2ps_action.
|
protected |
Definition at line 625 of file gl2ps_action.
|
protected |
Definition at line 640 of file gl2ps_action.
|
protected |
Definition at line 637 of file gl2ps_action.
|
protected |
Definition at line 639 of file gl2ps_action.
|
protected |
Definition at line 618 of file gl2ps_action.
|
protected |
Definition at line 630 of file gl2ps_action.
|
protected |
Definition at line 626 of file gl2ps_action.
|
protected |
Definition at line 631 of file gl2ps_action.
|
protected |
Definition at line 638 of file gl2ps_action.
|
protected |
Definition at line 636 of file gl2ps_action.
|
protected |
Definition at line 634 of file gl2ps_action.
|
protected |
Definition at line 629 of file gl2ps_action.
|
protected |
Definition at line 622 of file gl2ps_action.
|
protected |
Definition at line 621 of file gl2ps_action.