|
g4tools
5.4.0
|


Public Member Functions | |
| virtual float | near_height () const |
| virtual void | zoom (float a_fac) |
| virtual camera_type | type () const |
| virtual const desc_fields & | node_desc_fields () const |
| perspective () | |
| virtual | ~perspective () |
| perspective (const perspective &a_from) | |
| perspective & | operator= (const perspective &a_from) |
| bool | operator== (const perspective &a_from) const |
| bool | operator!= (const perspective &a_from) const |
| void | dump (std::ostream &a_out) |
Public Member Functions inherited from tools::sg::base_camera | |
| virtual void | render (render_action &a_action) |
| virtual void | pick (pick_action &a_action) |
| virtual void | event (event_action &a_action) |
| virtual void | get_matrix (get_matrix_action &a_action) |
| virtual void | is_visible (visible_action &a_action) |
| virtual | ~base_camera () |
| void | direction (vec3f &a_dir) const |
| void | rotate_around_direction (float a_delta) |
| void | rotate_around_z (float a_delta) |
| void | rotate_around_up (float a_delta) |
| void | rotate_around_x (float a_delta) |
| void | rotate_around_x_at_focal (float a_delta) |
| void | rotate_around_y_at_focal (float a_delta) |
| void | rotate_around_z_at_focal (float a_delta) |
| void | rotate_to_dir (const vec3f &a_dir) |
| void | pane_to (float a_x, float a_y, float a_z) |
| void | translate_along_side (float a_delta) |
| void | translate_along_up (float a_delta) |
| void | translate_along_dir (float a_delta) |
| bool | look_at (const vec3f &a_dir, const vec3f &a_up) |
| void | dump (std::ostream &a_out) |
| bool | is_type_ortho () const |
| bool | height_at_focal (float &a_h) const |
| void | astro_orientation (float a_ra, float a_dec) |
| bool | update_motion (int a_move) |
Public Member Functions inherited from tools::sg::node | |
| virtual void * | cast (const std::string &a_class) const |
| virtual const std::string & | s_cls () const =0 |
| virtual node * | copy () const =0 |
| virtual unsigned int | cls_version () const |
| virtual void | bbox (bbox_action &) |
| virtual void | search (search_action &a_action) |
| virtual bool | write (write_action &a_action) |
| virtual bool | read (read_action &a_action) |
| virtual void | protocol_one_fields (std::vector< field * > &a_fields) const |
| virtual bool | draw_in_frame_buffer () const |
| virtual bool | touched () |
| virtual void | reset_touched () |
| node () | |
| virtual | ~node () |
| void | touch () |
| field & | field_from_desc (const field_desc &a_desc) const |
| void | dump_field_descs (std::ostream &a_out) const |
| field * | find_field_by_name (const std::string &a_name) const |
Public Attributes | |
| sf< float > | height_angle |
Public Attributes inherited from tools::sg::base_camera | |
| sf< float > | znear |
| sf< float > | zfar |
| sf_vec3f | position |
| sf_rotf | orientation |
| sf< float > | dx |
| sf< float > | da |
| sf< float > | ds |
| sf< float > | focal |
Protected Member Functions | |
| virtual void | get_lrbt (unsigned int a_ww, unsigned int a_wh, float &a_l, float &a_r, float &a_b, float &a_t) |
Protected Member Functions inherited from tools::sg::base_camera | |
| base_camera () | |
| base_camera (const base_camera &a_from) | |
| base_camera & | operator= (const base_camera &a_from) |
| bool | operator== (const base_camera &a_from) const |
| void | update_sg (std::ostream &a_out) |
| void | _mult_matrix (matrix_action &a_action) |
| void | set_state (matrix_action &a_action) |
Protected Member Functions inherited from tools::sg::node | |
| node (const node &) | |
| node & | operator= (const node &) |
| void | add_field (field *a_field) |
| bool | write_fields (write_action &a_action) |
| bool | read_fields (read_action &a_action) |
| field_desc::offset_t | field_offset (const field *a_field) const |
| field * | find_field (const field_desc &a_rdesc) const |
| void | check_fields (std::ostream &a_out) const |
Additional Inherited Members | |
Static Protected Member Functions inherited from tools::sg::base_camera | |
| static const vec4< float > & | id_orientation () |
Protected Attributes inherited from tools::sg::base_camera | |
| sf_vec4f | m_lrbt |
| mat4f | m_proj |
| float | m_tmp [16] |
Definition at line 14 of file perspective.
|
inline |
Definition at line 42 of file perspective.
|
inlinevirtual |
Definition at line 51 of file perspective.
|
inline |
Definition at line 57 of file perspective.
|
inline |
Definition at line 81 of file perspective.
|
inlineprotectedvirtual |
|
inlinevirtual |
Implements tools::sg::base_camera.
Definition at line 17 of file perspective.
|
inlinevirtual |
|
inline |
Definition at line 77 of file perspective.
|
inline |
Definition at line 66 of file perspective.
|
inline |
Definition at line 72 of file perspective.
|
inlinevirtual |
|
inlinevirtual |
| sf<float> tools::sg::perspective::height_angle |
Definition at line 28 of file perspective.