SpikeStream Application Library
0.2
|
#include <NetworkViewer.h>
Public Slots | |
void | refresh () |
void | reset () |
Public Member Functions | |
NetworkViewer (QWidget *parent) | |
~NetworkViewer () | |
Protected Member Functions | |
void | initializeGL () |
void | paintGL () |
void | resizeGL (int width, int height) |
void | mouseDoubleClickEvent (QMouseEvent *event) |
Draws the current network in 3D using OpenGL.
Definition at line 14 of file NetworkViewer.h.
NetworkViewer::NetworkViewer | ( | QWidget * | parent | ) |
Constructor
Definition at line 40 of file NetworkViewer.cpp.
Destructor
Definition at line 83 of file NetworkViewer.cpp.
void NetworkViewer::initializeGL | ( | ) | [protected] |
Inherited from QGLWidget
Definition at line 92 of file NetworkViewer.cpp.
void NetworkViewer::mouseDoubleClickEvent | ( | QMouseEvent * | event | ) | [protected] |
Adapted from: http://www.lighthouse3d.com/opengl/picking/index.php?openglway
Definition at line 222 of file NetworkViewer.cpp.
void NetworkViewer::paintGL | ( | ) | [protected] |
Inherited from QGLWidget
Definition at line 121 of file NetworkViewer.cpp.
void NetworkViewer::refresh | ( | ) | [slot] |
Re-draws everything in the network
Definition at line 381 of file NetworkViewer.cpp.
void NetworkViewer::reset | ( | ) | [slot] |
Resets the view completely typically after the network has changed
Definition at line 403 of file NetworkViewer.cpp.
void NetworkViewer::resizeGL | ( | int | screenWidth, |
int | screenHeight | ||
) | [protected] |
Inherited from QGLWidget
Definition at line 186 of file NetworkViewer.cpp.