Allolib  1.0
C++ Components For Interactive Multimedia
al::PerProjectionRender Class Reference

Classes

struct  ProjectionInfo
 

Public Member Functions

Mat4f get_rotation_matrix (Vec3f axis, float angle)
 
void update_resolution (int resolution)
 
void init (const al::Lens &lens)
 
void load_calibration_data (const char *path, const char *hostname)
 
void load_and_init_as_desktop_config (const al::Lens &lens)
 
void updateLens (const Lens &lens)
 
void begin (Graphics &graphics, const al::Lens &lens, const al::Pose pose)
 
void set_eye (int i)
 
int num_projections ()
 
void set_projection (int index)
 
Mat4f get_r_mat_for_current_projection ()
 
Mat4f get_p_mat_for_current_projection ()
 
void end ()
 
void composite (Graphics &g, int eye=0)
 
void composite_desktop (Graphics &g, int eye=0)
 

Public Attributes

WarpBlendData warpblend_
 
int res_ = 4096
 
Pose pose_
 
Viewpoint view_ {pose_}
 
Viewport viewport_
 
std::vector< ProjectionInfoprojection_infos_
 
RBO rbo_
 
FBO fbo_
 
ShaderProgram composite_shader_
 
Lens lens_
 
Graphicsg
 
VAOMesh texquad
 
bool calibration_loaded = false
 
bool did_begin = false
 
int current_eye = 0
 
int current_projection = 0
 
Lens prev_lens_
 
ShaderProgramprev_shader_
 

Detailed Description

Definition at line 100 of file al_PerProjection.hpp.


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