|
| | pick_action (std::ostream &a_out, unsigned int a_ww, unsigned int a_wh, float a_l, float a_r, float a_b, float a_t) |
| |
| virtual | ~pick_action () |
| |
| | pick_action (const pick_action &a_from) |
| |
| pick_action & | operator= (const pick_action &a_from) |
| |
| void | reset () |
| |
| void | set_win_size (unsigned a_ww, unsigned int a_wh) |
| |
| void | set_area (float a_l, float a_r, float a_b, float a_t) |
| |
| void | get_area (float &a_l, float &a_r, float &a_b, float &a_t) const |
| |
| void | set_stop_at_first (bool a_value) |
| |
| bool | stop_at_first () const |
| |
| void | set_done (bool a_value) |
| |
| bool | done () const |
| |
| void | set_node (sg::node *a_node) |
| |
| sg::node * | node () const |
| |
| void | add_pick (sg::node &a_node, const std::vector< float > &a_zs, const std::vector< float > &a_ws, const sg::state &a_state) |
| |
| const std::vector< pick_t > & | picks () const |
| |
| void | dump_picks () |
| |
| pick_t * | closest_pick () |
| |
| const std::vector< float > & | zs () const |
| |
| std::vector< float > & | zs () |
| |
| const std::vector< float > & | ws () const |
| |
| std::vector< float > & | ws () |
| |
| void | set_matrices_to_identity () |
| |
| void | set_matrices_from_state () |
| |
| bool | add__primitive_xy (sg::node &a_node, gl::mode_t a_mode, size_t a_floatn, const float *a_xys, bool a_stop=false, bool a_triangle_revert=false) |
| |
| bool | add__primitive_xy (sg::node &a_node, gl::mode_t a_mode, const std::vector< float > &a_xys, bool a_stop=false, bool a_triangle_revert=false) |
| |
| bool | add__line_strip_xy (sg::node &a_node, size_t a_floatn, const float *a_xys, bool a_stop=false) |
| |
| bool | add__lines_xy (sg::node &a_node, const std::vector< float > &a_xys, bool a_stop=false) |
| |
| bool | add__primitive (sg::node &a_node, gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add__primitive (sg::node &a_node, gl::mode_t a_mode, const std::vector< float > &a_xyzs, bool a_stop=false) |
| |
| bool | add__line_strip (sg::node &a_node, size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add__triangles (sg::node &a_node, size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add__lines (sg::node &a_node, const std::vector< float > &a_xyzs, bool a_stop=false) |
| |
| bool | is_inside (float a_x, float a_y, float a_z, float a_w) |
| |
| bool | intersect_line (float a_bx, float a_by, float a_bz, float a_bw, float a_ex, float a_ey, float a_ez, float a_ew) |
| |
| | 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 () |
| |
| | primitive_visitor () |
| |
| virtual | ~primitive_visitor () |
| |
| | primitive_visitor (const primitive_visitor &) |
| |
| primitive_visitor & | operator= (const primitive_visitor &) |
| |
| void | add_one_point (float a_x, float a_y, float a_z) |
| |
| void | add_one_point (float a_x, float a_y, float a_z, float a_r, float a_g, float a_b, float a_a) |
| |
| bool | add_triangle_fan (size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add_triangle_fan_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, bool a_stop=false) |
| |
| bool | add_triangle_fan_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_triangle_strip (size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add_triangles (size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add_triangle_strip_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, bool a_stop=false) |
| |
| bool | add_triangle_strip_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_triangles_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, bool a_stop=false) |
| |
| bool | add_triangles_rgba (size_t a_floatn, const float *a_xyzs, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_triangles_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_line_strip (size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add_line_strip_rgba (size_t a_floatn, const float *a_xyzs, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_line_strip_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, bool a_stop=false) |
| |
| bool | add_line_strip_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_line_loop (size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add_line_loop_rgba (size_t a_floatn, const float *a_xyzs, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_line_loop_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, bool a_stop=false) |
| |
| bool | add_line_loop_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_lines (size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add_lines_rgba (size_t a_floatn, const float *a_xyzs, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_lines_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, bool a_stop=false) |
| |
| bool | add_lines_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_points (size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add_points_rgba (size_t a_floatn, const float *a_xyzs, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_points_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, bool a_stop=false) |
| |
| bool | add_points_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_primitive (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, bool a_stop=false) |
| |
| bool | add_primitive_rgba (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_primitive_normal (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_nms, bool a_stop=false) |
| |
| bool | add_primitive_normal_rgba (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas, bool a_stop=false) |
| |
| bool | add_points_xy (size_t a_floatn, const float *a_xys, bool a_stop=false) |
| | points with x,y only /////////////////////////////// More...
|
| |
| bool | add_triangle_fan_xy (size_t a_floatn, const float *a_xys, bool a_stop=false, bool a_triangle_revert=false) |
| |
| bool | add_triangle_strip_xy (size_t a_floatn, const float *a_xys, bool a_stop=false, bool a_triangle_revert=false) |
| |
| bool | add_triangles_xy (size_t a_floatn, const float *a_xys, bool a_stop=false, bool a_triangle_revert=false) |
| |
| bool | add_line_loop_xy (size_t a_floatn, const float *a_xys, bool a_stop=false) |
| |
| bool | add_line_strip_xy (size_t a_floatn, const float *a_xys, bool a_stop=false) |
| |
| bool | add_lines_xy (size_t a_floatn, const float *a_xys, bool a_stop=false) |
| |
| bool | add_primitive_xy (gl::mode_t a_mode, size_t a_floatn, const float *a_xys, bool a_stop=false, bool a_triangle_revert=false) |
| |
| bool | add_primitive (gl::mode_t a_mode, const std::vector< float > &a_xyzs, bool a_stop=false) |
| |
| bool | add_primitive_xy (gl::mode_t a_mode, const std::vector< float > &a_xys, bool a_stop=false, bool a_triangle_revert=false) |
| |
| bool | add_line_strip (const std::vector< float > &a_xyzs, bool a_stop=false) |
| |
| bool | add_line_loop (const std::vector< float > &a_xyzs, bool a_stop=false) |
| |
| bool | add_lines (const std::vector< float > &a_xyzs, bool a_stop=false) |
| |
| bool | add_points (const std::vector< float > &a_xyzs, bool a_stop=false) |
| |
| bool | add_triangle_strip (const std::vector< float > &a_xyzs, bool a_stop=false) |
| |
| bool | add_points_xy (const std::vector< float > &a_xys, bool a_stop=false) |
| |
| bool | add_lines_xy (const std::vector< float > &a_xys, bool a_stop=false) |
| |
| bool | add_triangle_strip_xy (const std::vector< float > &a_xys, bool a_stop=false) |
| |
| bool | add_triangle_fan_texture_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, unsigned int, const float *) |
| |
| bool | add_triangle_strip_texture_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, unsigned int, const float *) |
| |
| bool | add_triangle_strip_as_triangles (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
| |
| void | add_texture (std::ostream &a_out, size_t a_xyzn, const float *a_xyzs, const img_byte &a_img, const float *a_tcs) |
| |
|
| virtual bool | project (float &a_x, float &a_y, float &a_z, float &a_w) |
| |
| virtual bool | add_point (float a_x, float a_y, float a_z, float a_w) |
| |
| virtual bool | add_point (float a_x, float a_y, float a_z, float a_w, float, float, float, float) |
| |
| virtual bool | add_line (float a_bx, float a_by, float a_bz, float a_bw, float a_ex, float a_ey, float a_ez, float a_ew) |
| |
| virtual bool | add_line (float a_bx, float a_by, float a_bz, float a_bw, float, float, float, float, float a_ex, float a_ey, float a_ez, float a_ew, float, float, float, float) |
| |
| virtual bool | add_triangle (float a_p1x, float a_p1y, float a_p1z, float a_p1w, float a_p2x, float a_p2y, float a_p2z, float a_p2w, float a_p3x, float a_p3y, float a_p3z, float a_p3w) |
| |
| virtual bool | add_triangle (float a_p1x, float a_p1y, float a_p1z, float a_p1w, float, float, float, float, float a_p2x, float a_p2y, float a_p2z, float a_p2w, float, float, float, float, float a_p3x, float a_p3y, float a_p3z, float a_p3w, float, float, float, float) |
| |
| virtual bool | project_normal (float &, float &, float &) |
| |
| virtual bool | add_point_normal (float a_x, float a_y, float a_z, float a_w, float, float, float) |
| |
| virtual bool | add_point_normal (float a_x, float a_y, float a_z, float a_w, float, float, float, float, float, float, float) |
| |
| virtual bool | add_line_normal (float a_bx, float a_by, float a_bz, float a_bw, float, float, float, float a_ex, float a_ey, float a_ez, float a_ew, float, float, float) |
| |
| virtual bool | add_line_normal (float a_bx, float a_by, float a_bz, float a_bw, float, float, float, float, float, float, float, float a_ex, float a_ey, float a_ez, float a_ew, float, float, float, float, float, float, float) |
| |
| virtual bool | add_triangle_normal (float a_p1x, float a_p1y, float a_p1z, float a_p1w, float, float, float, float a_p2x, float a_p2y, float a_p2z, float a_p2w, float, float, float, float a_p3x, float a_p3y, float a_p3z, float a_p3w, float, float, float) |
| |
| virtual bool | add_triangle_normal (float a_p1x, float a_p1y, float a_p1z, float a_p1w, float, float, float, float, float, float, float, float a_p2x, float a_p2y, float a_p2z, float a_p2w, float, float, float, float, float, float, float, float a_p3x, float a_p3y, float a_p3z, float a_p3w, float, float, float, float, float, float, float) |
| |
| bool | intersect_triangle (float a_1x, float a_1y, float a_1z, float a_1w, float a_2x, float a_2y, float a_2z, float a_2w, float a_3x, float a_3y, float a_3z, float a_3w) |
| |
| void | set_to_pick_ndc () |
| |
| void | to_pick_ndc (const float &a_fx, const float &a_fy, float &a_x, float &a_y) const |
| |
| void | reset () |
| |
| | win_action (const win_action &a_from) |
| |
| win_action & | operator= (const win_action &a_from) |
| |
| | action (const action &a_from) |
| |
| action & | operator= (const action &) |
| |
| | states (const states &a_from) |
| |
| states & | operator= (const states &a_from) |
| |