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

Viewpoint within a scene. More...

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/graphics/al_Viewpoint.hpp>

Public Types

enum  SpecialType { IDENTITY , ORTHO_FOR_2D , UNIT_ORTHO , UNIT_ORTHO_INCLUSIVE }
 

Public Member Functions

 Viewpoint (Pose &p)
 
const Lenslens () const
 
Lenslens ()
 
Viewpointlens (Lens const &v)
 
const Posepose () const
 
Posepose ()
 
Viewpointpose (Pose &p)
 
Matrix4f viewMatrix () const
 
Matrix4f projMatrix (float aspect_ratio) const
 
Matrix4f projMatrix (float width, float height) const
 

Detailed Description

Viewpoint within a scene.

A viewpoint is an aggregation of a lens with a pointer to the pose (3D pos and orientation) that it is attached to

Definition at line 92 of file al_Viewpoint.hpp.


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