Wayverb
wayverb::combined::model::scene Class Referencefinal

This stuff won't get sent to file, so it's fine to keep it here I think. More...

#include <scene.h>

Public Types

using visible_surface_changed = util::event< std::experimental::optional< size_t >>
 
using visualise_changed = util::event< bool >
 
using view_state_changed = util::event< view_state >
 
using projection_matrix_changed = util::event< glm::mat4 >
 

Public Member Functions

void set_visible_surface (std::experimental::optional< size_t > visible)
 
std::experimental::optional< size_t > get_visible_surface () const
 
void set_visualise (bool visualise)
 
bool get_visualise () const
 
void set_origin (const glm::vec3 &origin)
 
glm::vec3 get_origin () const
 
void set_eye_distance (float distance)
 
float get_eye_distance () const
 
void set_rotation (const wayverb::core::az_el &az_el)
 
wayverb::core::az_el get_rotation () const
 
view_state get_view_state () const
 
void set_viewport (const glm::vec2 &viewport)
 
glm::vec2 get_viewport () const
 
float get_aspect () const
 
float get_item_radius () const
 
glm::mat4 get_projection_matrix () const
 
glm::mat4 get_inverse_projection_matrix () const
 
glm::vec3 compute_world_camera_position () const
 
glm::vec3 compute_world_camera_direction () const
 
glm::vec3 compute_world_mouse_direction (const glm::vec2 &pos) const
 
visible_surface_changed::connection connect_visible_surface_changed (visible_surface_changed::callback_type callback)
 
visualise_changed::connection connect_visualise_changed (visualise_changed::callback_type callback)
 
view_state_changed::connection connect_view_state_changed (view_state_changed::callback_type callback)
 
projection_matrix_changed::connection connect_projection_matrix_changed (projection_matrix_changed::callback_type callback)
 

Detailed Description

This stuff won't get sent to file, so it's fine to keep it here I think.


The documentation for this class was generated from the following files: