Molecule Visualizer
 All Classes Namespaces Files Functions Enumerations Enumerator Macros Groups Pages
Public Slots | Public Member Functions | Public Attributes | Protected Slots | List of all members
Window Class Reference

Inherits QWindow.

Public Slots

void loadModelFromPath (const std::string absoluteFilePath)
 A public slot member function to load a model from an absolute file path. More...
 

Public Member Functions

 Window ()
 Default constructor.
 
 ~Window ()
 Destructor.
 
void compileShader ()
 A member function to call a GLSL shader compile during runtime. More...
 

Public Attributes

QScopedPointer< AbstractScenemScene
 

Protected Slots

void resizeGl ()
 A protected slot member function to resize the OpenGL context. More...
 
void paintGl ()
 A protected slot member function to paint the OpenGL context. More...
 
void updateScene ()
 A protected slot member function to update the scene. More...
 
virtual void mouseMoveEvent (QMouseEvent *event)
 A virtual member function to process mouse move events. More...
 
virtual void mousePressEvent (QMouseEvent *event)
 A virtual member function to process mouse press events. More...
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 A virtual member function to process mouse release events. More...
 
virtual void wheelEvent (QWheelEvent *event)
 A virtual member function to process mouse wheel events. More...
 

Member Function Documentation

void Window::compileShader ( )

A member function to call a GLSL shader compile during runtime.

Returns
void.
void Window::loadModelFromPath ( const std::string  absoluteFilePath)
slot

A public slot member function to load a model from an absolute file path.

Parameters
absoluteFilePatha const std::string.
Returns
void.
void Window::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtualslot

A virtual member function to process mouse move events.

Parameters
eventa pointer to a QMouseEvent.
Returns
void.
void Window::mousePressEvent ( QMouseEvent *  event)
protectedvirtualslot

A virtual member function to process mouse press events.

Parameters
eventa pointer to a QMouseEvent.
Returns
void.
void Window::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtualslot

A virtual member function to process mouse release events.

Parameters
eventa pointer to a QMouseEvent.
Returns
void.
void Window::paintGl ( )
protectedslot

A protected slot member function to paint the OpenGL context.

Returns
void.
void Window::resizeGl ( )
protectedslot

A protected slot member function to resize the OpenGL context.

Returns
void.
void Window::updateScene ( )
protectedslot

A protected slot member function to update the scene.

Returns
void.
void Window::wheelEvent ( QWheelEvent *  event)
protectedvirtualslot

A virtual member function to process mouse wheel events.

Parameters
eventa pointer to a QMouseEvent.
Returns
void.

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