facebook360_dep
Facebook360 Depth Estimation Pipeline
Public Member Functions | Public Attributes | List of all members
GlViewer Class Reference
Inheritance diagram for GlViewer:
GlWindow

Public Member Functions

 GlViewer ()
 
void keyPress (int key, int s, int action, int mods) override
 
void effectBegin ()
 
void effectUpdate ()
 
void display () override
 
- Public Member Functions inherited from GlWindow
 GlWindow ()
 Off-screen window constructor. More...
 
 GlWindow (const std::string &name, const int width, const int height, const bool borderless=false, const int outputBPP=8, const ScreenState screenState=ON_SCREEN)
 On-screen window constructor. More...
 
virtual ~GlWindow ()
 

Public Attributes

RigScene scene
 
std::unique_ptr< AsyncLoaderasyncLoader
 
std::unique_ptr< VideoFilevideoFile
 

Additional Inherited Members

- Public Types inherited from GlWindow
enum  ScreenState : unsigned { ON_SCREEN = 0x1, OFF_SCREEN = 0x2, BOTH_SCREEN = 0x3 }
 
- Static Public Member Functions inherited from GlWindow
static void mainLoop ()
 
- Protected Member Functions inherited from GlWindow
virtual void updateTransform ()
 
virtual void reshape (const int w, const int h)
 
virtual void mouse (const int button, const int action, const int mods)
 
virtual void motion (const double x, const double y)
 
void resetTransformState ()
 
- Protected Attributes inherited from GlWindow
const ScreenState screenState
 
int mouseButton
 
int mouseAction
 
int mouseMods
 
Eigen::Vector2f mousePos
 
Eigen::Vector2i viewport
 
float scale
 
Eigen::Projective3f projection
 
Eigen::Affine3f transform = Eigen::Affine3f::Identity()
 
Eigen::Vector3f up
 
float pitch
 
float yaw
 
Eigen::Vector3f origin
 
bool wireframe
 
bool done
 
std::string name
 
int width
 
int height
 
GLFWwindow * window
 
GLuint fbo
 

Constructor & Destructor Documentation

◆ GlViewer()

GlViewer::GlViewer ( )
inline

Member Function Documentation

◆ display()

void GlViewer::display ( )
inlineoverridevirtual

Implements GlWindow.

◆ effectBegin()

void GlViewer::effectBegin ( )
inline

◆ effectUpdate()

void GlViewer::effectUpdate ( )
inline

◆ keyPress()

void GlViewer::keyPress ( int  key,
int  s,
int  action,
int  mods 
)
inlineoverridevirtual

Reimplemented from GlWindow.

Member Data Documentation

◆ asyncLoader

std::unique_ptr<AsyncLoader> GlViewer::asyncLoader

◆ scene

RigScene GlViewer::scene

◆ videoFile

std::unique_ptr<VideoFile> GlViewer::videoFile

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