glVertex  5.5.2
Public Member Functions | Protected Member Functions | List of all members
lgl_Scene_GLUI Class Reference

Qt convenience class for multi-pass rendering. More...

#include <glvertex_qt_glui.h>

Inheritance diagram for lgl_Scene_GLUI:
Inheritance graph
[legend]

Public Member Functions

virtual void updateOpenGL (double dt)
 implement this method to update state after rendering
 
virtual std::string getUsageInfo ()
 reimplement to show usage info
 
int args () const
 get number of arguments
 
QString getArg (int i) const
 get argument
 
int opts () const
 get number of options
 
QString getOption (int i) const
 get option
 
bool hasOption (QString opt) const
 check for option
 
QString getOptionString (QString opt) const
 get option string
 
double getOptionValue (QString opt) const
 get option value
 
bool capture (std::string filename)
 capture a screen shot
 
void toggleCapture (std::string filename)
 toggle capturing a screen shot series
 
void triggerExport (std::string filename, mat4 m=mat4(1))
 trigger OBJ scene export on next frame
 
void toggleFPS ()
 toggle fps printing
 
void setFPS (double rate)
 set frame rate
 
void setTimeLapse (double speedup)
 set time lapse speedup
 
void background (double red, double green, double blue, double alpha=1)
 set background color
 
void toggle_background ()
 toggle background color
 
void animation (bool on)
 enable animation
 
void toggle_animation ()
 toggle animation
 
void ztest (bool on)
 enable z-buffer test
 
void toggle_ztest ()
 toggle z-buffer test
 
void culling (bool on)
 enable back-face culling
 
void toggle_culling ()
 toggle back-face culling
 
void blending (bool on)
 enable alpha blending
 
void toggle_blending ()
 toggle alpha blending
 
void atest (bool on)
 enable alpha testing
 
void toggle_atest ()
 toggle alpha testing
 
void wireframe (bool on)
 enable wireframe mode
 
void toggle_wireframe ()
 toggle wireframe mode
 
void override (bool on)
 enable override
 
void fullscreen (bool on)
 enable fullscreen mode
 
void toggle_fullscreen ()
 toggle fullscreen mode
 
void restart ()
 restart time
 
void setScene (lgl_Scene *scene)
 set the actual scene
 
lgl_ScenegetScene ()
 get the actual scene
 
lglVBOpickScene (vec3 o, vec3 d)
 pick the actual scene
 
void setStereoMode (lgl_interlacing_enum interlacing=LGL_INTERLACE_VERTICAL_TOP)
 set the stereo interlacing mode
 

Protected Member Functions

void prepareOpenGL (double dt)
 implement this method to prepare state before rendering
 
void finishOpenGL (double t)
 implement this method to finish OpenGL state
 
bool isSpinning ()
 check for manipulator spin
 
void stopSpin ()
 stop manipulator spin
 
virtual void mouseMoved (double dx, double dy)
 reimplement to be called in case of a mouse move
 

Detailed Description

Qt convenience class for multi-pass rendering.


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