SpikeStream Application Library  0.2
NetworkViewer.cpp File Reference
#include "EventRouter.h"
#include "Globals.h"
#include "GlobalVariables.h"
#include "NetworkViewer.h"
#include "SpikeStreamException.h"
#include "Util.h"
#include <QDebug>
#include <QMouseEvent>
#include <iostream>

Go to the source code of this file.

Defines

#define GL_PI   3.1415f
#define GLT_PI_DIV_180   0.017453292519943296
#define GLT_INV_PI_DIV_180   57.2957795130823229
#define gltDegToRad(x)   ((x)*GLT_PI_DIV_180)
#define gltRadToDeg(x)   ((x)*GLT_INV_PI_DIV_180)

Variables

GLfloat fNoLight [] = { 0.0f, 0.0f, 0.0f, 0.0f }
GLfloat fLowLight [] = { 0.25f, 0.25f, 0.25f, 1.0f }
GLfloat fDiffuseLight [] = { 0.7f, 0.7f, 0.7f, 1.0f }
GLfloat fBrightLight [] = { 1.0f, 1.0f, 1.0f, 1.0f }
GLfloat specref [] = { 1.0f, 1.0f, 1.0f, 1.0f }

Define Documentation

#define GL_PI   3.1415f

Constant for PI.

Definition at line 23 of file NetworkViewer.cpp.

#define GLT_INV_PI_DIV_180   57.2957795130823229

Definition at line 27 of file NetworkViewer.cpp.

#define GLT_PI_DIV_180   0.017453292519943296

Definition at line 26 of file NetworkViewer.cpp.

#define gltDegToRad (   x)    ((x)*GLT_PI_DIV_180)

Definition at line 28 of file NetworkViewer.cpp.

#define gltRadToDeg (   x)    ((x)*GLT_INV_PI_DIV_180)

Definition at line 29 of file NetworkViewer.cpp.


Variable Documentation

GLfloat fBrightLight[] = { 1.0f, 1.0f, 1.0f, 1.0f }

Definition at line 35 of file NetworkViewer.cpp.

GLfloat fDiffuseLight[] = { 0.7f, 0.7f, 0.7f, 1.0f }

Definition at line 34 of file NetworkViewer.cpp.

GLfloat fLowLight[] = { 0.25f, 0.25f, 0.25f, 1.0f }

Definition at line 33 of file NetworkViewer.cpp.

GLfloat fNoLight[] = { 0.0f, 0.0f, 0.0f, 0.0f }

Definition at line 32 of file NetworkViewer.cpp.

GLfloat specref[] = { 1.0f, 1.0f, 1.0f, 1.0f }

Definition at line 36 of file NetworkViewer.cpp.

 All Classes Files Functions Variables Typedefs Friends Defines