Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

NetworkViewer.cpp File Reference

#include "NetworkViewer.h"
#include "SpikeStreamMainWindow.h"
#include "NetworkViewerProperties.h"
#include "Debug.h"
#include "Utilities.h"
#include "PerformanceTimer.h"
#include <qstring.h>
#include <qmessagebox.h>
#include <mysql++.h>
#include <math.h>
#include <iostream>

Go to the source code of this file.

Defines

#define CONNECTED_NEURON_COLOUR   1.0f,0.0f,1.0f
#define DEFAULT_NEURON_COLOUR_FULL   0.5f,0.5f,0.5f
#define DEFAULT_NEURON_COLOUR_OUTLINE   0.0f,0.0f,0.0f
#define GL_PI   3.1415f
#define GLT_INV_PI_DIV_180   57.2957795130823229
#define GLT_PI_DIV_180   0.017453292519943296
#define gltDegToRad(x)   ((x)*GLT_PI_DIV_180)
#define gltRadToDeg(x)   ((x)*GLT_INV_PI_DIV_180)
#define HIGHLIGHT_FIRST_NEURON_COLOUR_FULL   1.0f,0.0f,0.0f
#define HIGHLIGHT_FIRST_NEURON_COLOUR_OUTLINE   1.0f,0.0f,0.0f
#define HIGHLIGHT_SECOND_NEURON_COLOUR_FULL   0.0f,1.0f,0.0f
#define HIGHLIGHT_SECOND_NEURON_COLOUR_OUTLINE   0.0f,1.0f,0.0f
#define NEGATIVE_CONNECTION_COLOUR   0.067f,0.553f,0.110f
#define POSITIVE_CONNECTION_COLOUR   0.718f,0.165f,0.180f

Variables

GLfloat fBrightLight [] = { 1.0f, 1.0f, 1.0f, 1.0f }
GLfloat fLightPos [4] = { -100.0f, 100.0f, 50.0f, 1.0f }
GLfloat fLowLight [] = { 0.25f, 0.25f, 0.25f, 1.0f }
GLfloat fNoLight [] = { 0.0f, 0.0f, 0.0f, 0.0f }
GLfloat fogColor [] = {1.0f, 1.0f, 1.0f, 1.0f}


Define Documentation

#define CONNECTED_NEURON_COLOUR   1.0f,0.0f,1.0f
 

Definition at line 61 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().

#define DEFAULT_NEURON_COLOUR_FULL   0.5f,0.5f,0.5f
 

Definition at line 55 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().

#define DEFAULT_NEURON_COLOUR_OUTLINE   0.0f,0.0f,0.0f
 

Definition at line 58 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().

#define GL_PI   3.1415f
 

Define a constant for PI.

Definition at line 44 of file NetworkViewer.cpp.

#define GLT_INV_PI_DIV_180   57.2957795130823229
 

Definition at line 49 of file NetworkViewer.cpp.

#define GLT_PI_DIV_180   0.017453292519943296
 

Definition at line 48 of file NetworkViewer.cpp.

#define gltDegToRad  )     ((x)*GLT_PI_DIV_180)
 

Definition at line 50 of file NetworkViewer.cpp.

Referenced by NetworkViewer::viewClippingVolume_Horizontal(), and NetworkViewer::viewClippingVolume_Vertical().

#define gltRadToDeg  )     ((x)*GLT_INV_PI_DIV_180)
 

Definition at line 51 of file NetworkViewer.cpp.

#define HIGHLIGHT_FIRST_NEURON_COLOUR_FULL   1.0f,0.0f,0.0f
 

Definition at line 56 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().

#define HIGHLIGHT_FIRST_NEURON_COLOUR_OUTLINE   1.0f,0.0f,0.0f
 

Definition at line 59 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().

#define HIGHLIGHT_SECOND_NEURON_COLOUR_FULL   0.0f,1.0f,0.0f
 

Definition at line 57 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().

#define HIGHLIGHT_SECOND_NEURON_COLOUR_OUTLINE   0.0f,1.0f,0.0f
 

Definition at line 60 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().

#define NEGATIVE_CONNECTION_COLOUR   0.067f,0.553f,0.110f
 

Definition at line 63 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().

#define POSITIVE_CONNECTION_COLOUR   0.718f,0.165f,0.180f
 

Definition at line 62 of file NetworkViewer.cpp.

Referenced by NetworkViewer::paintGL().


Variable Documentation

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

Definition at line 72 of file NetworkViewer.cpp.

Referenced by NetworkViewer::initialiseFullRender().

GLfloat fLightPos[4] = { -100.0f, 100.0f, 50.0f, 1.0f }
 

Definition at line 68 of file NetworkViewer.cpp.

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

Definition at line 70 of file NetworkViewer.cpp.

Referenced by NetworkViewer::initialiseFullRender().

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

Definition at line 69 of file NetworkViewer.cpp.

Referenced by NetworkViewer::initialiseFullRender().

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

Definition at line 71 of file NetworkViewer.cpp.


Generated on Mon Sep 3 22:29:04 2007 for SpikeStream Application by  doxygen 1.4.4