Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
PlotUtils.h File Reference
#include <GLUT/glut.h>
#include <OpenGL/glu.h>
#include <OpenGL/glext.h>
#include <stdio.h>
#include <math.h>
#include <cstring>
#include <iostream>
#include <vector>
#include <FTGL/ftgl.h>
#include "../../../../JuceLibraryCode/JuceHeader.h"

Macros

#define GL_GLEXT_PROTOTYPES
#define WAVE1   0
#define WAVE2   1
#define WAVE3   2
#define WAVE4   3
#define PROJ1x2   4
#define PROJ1x3   5
#define PROJ1x4   6
#define PROJ2x3   7
#define PROJ2x4   8
#define PROJ3x4   9

Functions

void checkGlError ()
void setViewportRange (int xMin, int xMax, int yMin, int yMax)
void drawString (float x, float y, void *f, const char *string)
void drawString (float x, float y, int size, String s, FTPixmapFont *f)
void drawViewportEdge ()
void drawViewportCross ()
int roundUp (int, int)
double ad16ToUv (int ad, int gain)
void makeLabel (int val, int gain, bool convert, char *s)
void n2ProjIdx (int i, int *p1, int *p2)
template<class T >
T * addressof (T &arg)
bool isFrameBufferExtensionSupported ()
bool checkFramebufferStatus ()

Macro Definition Documentation

#define GL_GLEXT_PROTOTYPES
#define PROJ1x2   4
#define PROJ1x3   5
#define PROJ1x4   6
#define PROJ2x3   7
#define PROJ2x4   8
#define PROJ3x4   9
#define WAVE1   0
#define WAVE2   1
#define WAVE3   2
#define WAVE4   3

Function Documentation

double ad16ToUv ( int  ad,
int  gain 
)
template<class T >
T* addressof ( T &  arg)
bool checkFramebufferStatus ( )
void checkGlError ( )
void drawString ( float  x,
float  y,
void *  f,
const char *  string 
)
void drawString ( float  x,
float  y,
int  size,
String  s,
FTPixmapFont *  f 
)
void drawViewportCross ( )
void drawViewportEdge ( )
bool isFrameBufferExtensionSupported ( )
void makeLabel ( int  val,
int  gain,
bool  convert,
char *  s 
)
void n2ProjIdx ( int  i,
int *  p1,
int *  p2 
)
int roundUp ( int  ,
int   
)
void setViewportRange ( int  xMin,
int  xMax,
int  yMin,
int  yMax 
)