OpenGP  1.1
Open Geometry Processing Library
Classes | Protected Member Functions | Static Protected Member Functions | List of all members
QGLMeshLabViewer Class Reference

Specialization of QGLViewer for OpenGL4 with actions that have been modified to make its default behavior match the one of MeshLab (i.e. double click to center scene, no spinning) More...

#include <QGLMeshLabViewer.h>

Inherits QGLViewer.

Classes

class  OpenGL4Format
 Format class to enable OpenGL4 core profile. More...
 

Protected Member Functions

 QGLMeshLabViewer ()
 
void help ()
 Remove the default tabs of the help modal widget.
 
void mouseDoubleClickEvent (QMouseEvent *e)
 

Static Protected Member Functions

static void setup_modelview (qglviewer::Camera *camera, QGLShaderProgram &program_)
 

Detailed Description

Specialization of QGLViewer for OpenGL4 with actions that have been modified to make its default behavior match the one of MeshLab (i.e. double click to center scene, no spinning)

Constructor & Destructor Documentation

QGLMeshLabViewer::QGLMeshLabViewer ( )
inlineprotected

Disable QGLViewer's default "spin"

Bindings

See also
QGLViewer::setDefaultMouseBindings() Extra behavior in this->mouseDoubleClickEvent()

Disable double click to align scene

ALIGN_CAMERA

RAP_FROM_PIXEL

ZOOM_TO_FIT

Disable options that give OpenGL4 troubles

Member Function Documentation

void QGLMeshLabViewer::mouseDoubleClickEvent ( QMouseEvent *  e)
inlineprotected

MeshLAB like double click action

Modified version of "RAP_FROM_PIXEL"

Stolen from "centerScene"

Forward anything else to superclass

static void QGLMeshLabViewer::setup_modelview ( qglviewer::Camera *  camera,
QGLShaderProgram &  program_ 
)
inlinestaticprotected

— Fetch matrixes from trackball

— Set shader variables


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