$search

vlr::DisplayGL Class Reference

#include <displayGL.h>

Inheritance diagram for vlr::DisplayGL:
Inheritance graph
[legend]

List of all members.

Public Types

typedef void( keyPressFunc )(unsigned int)
typedef void( mouseMoveFunc )(int x, int y, unsigned char buttons)
typedef void( mousePressFunc )(int x, int y, unsigned char buttons)
typedef void( mouseReleaseFunc )(int x, int y, unsigned char buttons)

Signals

void keyPress (unsigned int key)
void mouseMove (int x, int y, uint8_t buttons)
void mousePress (int x, int y, uint8_t buttons)
void mouseRelease (int x, int y, uint8_t buttons)
void mouseWheel (int x, int y, uint8_t buttons, int delta)

Public Member Functions

 DisplayGL (QWidget *parent, displayMode_t mode, double frameRate, QGLFormat glFormat)
 DisplayGL ()
displayMode_t displayMode ()
virtual void drawCustomTags1d ()
virtual void drawCustomTags2d ()
virtual void drawCustomTags3d ()
float heightScale ()
void removeTexture ()
float scale ()
void setDisplayMode (displayMode_t mode)
void setHeightScale (float heightScale)
void setKeyPressFunc (keyPressFunc *func)
void setMouseMoveFunc (mouseMoveFunc *func)
void setMousePressFunc (mousePressFunc *func)
void setMouseReleaseFunc (mouseReleaseFunc *func)
void setTextureMode (bool onoff)
bool snapshot (Image< unsigned char > &res)
bool textureMode ()
template<class T >
bool updateImage (T *data, uint32_t width, uint32_t height, uint32_t channels, uint32_t padded_width, ImageBase::colorSpace_t cs)
bool updateImage (ImageBase &img)
template<class T >
bool updateTexture (T *data, uint32_t width, uint32_t height, uint32_t channels, uint32_t padded_width, ImageBase::colorSpace_t cs)
bool updateTexture (ImageBase &img)
 ~DisplayGL ()

Static Public Attributes

static const unsigned int initial_1d_height = 480
static const unsigned int initial_1d_width = 640

Protected Types

enum  data_type_t {
  TYPE_CHAR, TYPE_UCHAR, TYPE_SHORT, TYPE_USHORT,
  TYPE_INT, TYPE_UINT, TYPE_FLOAT, TYPE_DOUBLE
}

Protected Member Functions

void drawGrid (double &minx, double &miny, double &maxx, double &maxy)
void drawGridXY (float zPos)
void drawGridXZ (float yPos)
void drawGridYZ (float xPos)
virtual void initializeGL ()
virtual void keyPressEvent (QKeyEvent *event)
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void mousePressEvent (QMouseEvent *event)
virtual void mouseReleaseEvent (QMouseEvent *event)
virtual void paintGL ()
virtual void resizeEvent (QResizeEvent *event)
virtual void wheelEvent (QWheelEvent *event)

Protected Attributes

int bufColorFormat
const float * color_map_alpha_
const float * color_map_blue_
const float * color_map_green_
const float * color_map_red_
bool create_snapshot_
unsigned int current_slice_
data_type_t data_type_
FontRenderer fr
double gamma
float gamma_map_alpha_ [256]
float gamma_map_blue_ [256]
float gamma_map_green_ [256]
float gamma_map_red_ [256]
float heightScale_
ImageBaseimgBuf
GLuint imgTexture
double maxval_
double minval_
displayMode_t mode_
Mutex mutex
bool normalize_data_
double refreshTimeMS
float scale_
bool showGridXY
bool showGridXZ
bool showGridYZ
unsigned int slice_offset_
unsigned char * snapshot_buf_
ImageBasetexBuf
int texColorFormat
GLuint texType
bool useColorMap
keyPressFuncuserKeyPressFunc
mouseMoveFuncuserMouseMoveFunc
mousePressFuncuserMousePressFunc
mouseReleaseFuncuserMouseReleaseFunc
bool useTexture

Static Protected Attributes

static const float cmap_rb1_blue_ [256]
static const float cmap_rb1_green_ [256]
static const float cmap_rb1_red_ [256]
static const float colors_1d [18] = {1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1}
static const int crossSize = 7
static const double GRID_Z = 0.001
static const double third = 0.333333333333333

Private Member Functions

void create (displayMode_t mode, double frame_rate)
template<class T >
bool createGammaMap (unsigned int mapSize, double gamma, T *map)
void drawTags1d ()
void drawTags2d ()
void initLights ()
template<class T >
bool internalPaint1d ()
void internalPaint1d ()
template<class T >
bool internalPaint2d ()
void internalPaint2d ()
template<class T >
bool internalPaint3d ()
void internalPaint3d ()
template<class T >
bool internalPaint3dRGB ()
template<class T , class TT >
bool internalPaint3dTexture ()
template<class T , class TT >
bool internalPaint3dTextureRGB ()
template<class T >
bool makeImageBuffer (Image< T > &img, Image< T > **dest, int &destColorFormat)
bool updateBuffer (ImageBase &img, ImageBase **dest, int &destColorFormat)

Detailed Description

Definition at line 53 of file displayGL.h.


Member Typedef Documentation

typedef void( vlr::DisplayGL::keyPressFunc)(unsigned int)

Definition at line 58 of file displayGL.h.

typedef void( vlr::DisplayGL::mouseMoveFunc)(int x, int y, unsigned char buttons)

Definition at line 61 of file displayGL.h.

typedef void( vlr::DisplayGL::mousePressFunc)(int x, int y, unsigned char buttons)

Definition at line 59 of file displayGL.h.

typedef void( vlr::DisplayGL::mouseReleaseFunc)(int x, int y, unsigned char buttons)

Definition at line 60 of file displayGL.h.


Member Enumeration Documentation

enum vlr::DisplayGL::data_type_t [protected]
Enumerator:
TYPE_CHAR 
TYPE_UCHAR 
TYPE_SHORT 
TYPE_USHORT 
TYPE_INT 
TYPE_UINT 
TYPE_FLOAT 
TYPE_DOUBLE 

Definition at line 175 of file displayGL.h.


Constructor & Destructor Documentation

vlr::DisplayGL::DisplayGL (  ) 

Definition at line 50 of file displayGL.cpp.

vlr::DisplayGL::DisplayGL ( QWidget *  parent,
displayMode_t  mode,
double  frameRate,
QGLFormat  glFormat 
)

Definition at line 55 of file displayGL.cpp.

vlr::DisplayGL::~DisplayGL (  ) 

Definition at line 155 of file displayGL.cpp.


Member Function Documentation

void vlr::DisplayGL::create ( displayMode_t  mode,
double  frame_rate 
) [private]

Definition at line 60 of file displayGL.cpp.

template<class T >
bool vlr::DisplayGL::createGammaMap ( unsigned int  mapSize,
double  gamma,
T *  map 
) [inline, private]

Definition at line 703 of file displayGL.cpp.

displayMode_t vlr::DisplayGL::displayMode (  )  [inline]

Definition at line 91 of file displayGL.h.

virtual void vlr::DisplayGL::drawCustomTags1d (  )  [inline, virtual]

Definition at line 115 of file displayGL.h.

virtual void vlr::DisplayGL::drawCustomTags2d (  )  [inline, virtual]

Definition at line 116 of file displayGL.h.

virtual void vlr::DisplayGL::drawCustomTags3d (  )  [inline, virtual]

Definition at line 117 of file displayGL.h.

void vlr::DisplayGL::drawGrid ( double &  minx,
double &  miny,
double &  maxx,
double &  maxy 
) [protected]

Definition at line 211 of file displayGL_1d.cpp.

void vlr::DisplayGL::drawGridXY ( float  zPos  )  [protected]

Definition at line 671 of file displayGL_3d.cpp.

void vlr::DisplayGL::drawGridXZ ( float  yPos  )  [protected]

Definition at line 712 of file displayGL_3d.cpp.

void vlr::DisplayGL::drawGridYZ ( float  xPos  )  [protected]

Definition at line 742 of file displayGL_3d.cpp.

void vlr::DisplayGL::drawTags1d (  )  [private]

Definition at line 162 of file displayGL_1d.cpp.

void vlr::DisplayGL::drawTags2d (  )  [private]

Definition at line 195 of file displayGL_2d.cpp.

float vlr::DisplayGL::heightScale (  )  [inline]

Definition at line 102 of file displayGL.h.

void vlr::DisplayGL::initializeGL ( void   )  [protected, virtual]

Reimplemented from vlr::GLWidget.

Definition at line 469 of file displayGL.cpp.

void vlr::DisplayGL::initLights (  )  [private]

Definition at line 441 of file displayGL.cpp.

template<class T >
bool vlr::DisplayGL::internalPaint1d (  )  [inline, private]
void vlr::DisplayGL::internalPaint1d (  )  [inline, private]

Definition at line 47 of file displayGL_1d.cpp.

template<class T >
bool vlr::DisplayGL::internalPaint2d (  )  [inline, private]
void vlr::DisplayGL::internalPaint2d (  )  [inline, private]

Definition at line 42 of file displayGL_2d.cpp.

template<class T >
bool vlr::DisplayGL::internalPaint3d (  )  [inline, private]
void vlr::DisplayGL::internalPaint3d (  )  [inline, private]

Definition at line 46 of file displayGL_3d.cpp.

bool vlr::DisplayGL::internalPaint3dRGB< uint8_t > (  )  [inline, private]

Definition at line 262 of file displayGL_3d.cpp.

template<class T , class TT >
bool vlr::DisplayGL::internalPaint3dTexture (  )  [inline, private]

Definition at line 355 of file displayGL_3d.cpp.

bool vlr::DisplayGL::internalPaint3dTextureRGB< uint8_t, uint8_t > (  )  [inline, private]

Definition at line 392 of file displayGL_3d.cpp.

void vlr::DisplayGL::keyPress ( unsigned int  key  )  [signal]
void vlr::DisplayGL::keyPressEvent ( QKeyEvent *  event  )  [protected, virtual]

Definition at line 277 of file displayGL.cpp.

template<class T >
bool vlr::DisplayGL::makeImageBuffer ( Image< T > &  img,
Image< T > **  dest,
int &  destColorFormat 
) [inline, private]

Definition at line 616 of file displayGL.cpp.

void vlr::DisplayGL::mouseMove ( int  x,
int  y,
uint8_t  buttons 
) [signal]
void vlr::DisplayGL::mouseMoveEvent ( QMouseEvent *  event  )  [protected, virtual]

Reimplemented from vlr::GLWidget.

Definition at line 230 of file displayGL.cpp.

void vlr::DisplayGL::mousePress ( int  x,
int  y,
uint8_t  buttons 
) [signal]
void vlr::DisplayGL::mousePressEvent ( QMouseEvent *  event  )  [protected, virtual]

Reimplemented from vlr::GLWidget.

Definition at line 163 of file displayGL.cpp.

void vlr::DisplayGL::mouseRelease ( int  x,
int  y,
uint8_t  buttons 
) [signal]
void vlr::DisplayGL::mouseReleaseEvent ( QMouseEvent *  event  )  [protected, virtual]

Reimplemented from vlr::GLWidget.

Definition at line 197 of file displayGL.cpp.

void vlr::DisplayGL::mouseWheel ( int  x,
int  y,
uint8_t  buttons,
int  delta 
) [signal]
void vlr::DisplayGL::paintGL ( void   )  [protected, virtual]

Reimplemented from vlr::GLWidget.

Definition at line 505 of file displayGL.cpp.

void vlr::DisplayGL::removeTexture (  ) 

Definition at line 542 of file displayGL.cpp.

void vlr::DisplayGL::resizeEvent ( QResizeEvent *  event  )  [protected, virtual]

Definition at line 158 of file displayGL.cpp.

float vlr::DisplayGL::scale (  )  [inline]

Definition at line 101 of file displayGL.h.

void vlr::DisplayGL::setDisplayMode ( displayMode_t  mode  )  [inline]

Definition at line 92 of file displayGL.h.

void vlr::DisplayGL::setHeightScale ( float  heightScale  )  [inline]

Definition at line 104 of file displayGL.h.

void vlr::DisplayGL::setKeyPressFunc ( keyPressFunc func  )  [inline]

Definition at line 110 of file displayGL.h.

void vlr::DisplayGL::setMouseMoveFunc ( mouseMoveFunc func  )  [inline]

Definition at line 112 of file displayGL.h.

void vlr::DisplayGL::setMousePressFunc ( mousePressFunc func  )  [inline]

Definition at line 111 of file displayGL.h.

void vlr::DisplayGL::setMouseReleaseFunc ( mouseReleaseFunc func  )  [inline]

Definition at line 113 of file displayGL.h.

void vlr::DisplayGL::setTextureMode ( bool  onoff  )  [inline]

Definition at line 99 of file displayGL.h.

bool vlr::DisplayGL::snapshot ( Image< unsigned char > &  res  ) 
bool vlr::DisplayGL::textureMode (  )  [inline]

Definition at line 98 of file displayGL.h.

bool vlr::DisplayGL::updateBuffer ( ImageBase img,
ImageBase **  dest,
int &  destColorFormat 
) [private]

Definition at line 551 of file displayGL.cpp.

template<class T >
bool vlr::DisplayGL::updateImage ( T *  data,
uint32_t  width,
uint32_t  height,
uint32_t  channels,
uint32_t  padded_width,
ImageBase::colorSpace_t  cs 
) [inline]

Definition at line 71 of file displayGL.h.

bool vlr::DisplayGL::updateImage ( ImageBase img  ) 

Definition at line 532 of file displayGL.cpp.

template<class T >
bool vlr::DisplayGL::updateTexture ( T *  data,
uint32_t  width,
uint32_t  height,
uint32_t  channels,
uint32_t  padded_width,
ImageBase::colorSpace_t  cs 
) [inline]

Definition at line 81 of file displayGL.h.

bool vlr::DisplayGL::updateTexture ( ImageBase img  ) 

Definition at line 537 of file displayGL.cpp.

void vlr::DisplayGL::wheelEvent ( QWheelEvent *  event  )  [protected, virtual]

Definition at line 426 of file displayGL.cpp.


Member Data Documentation

Definition at line 181 of file displayGL.h.

const float vlr::DisplayGL::cmap_rb1_blue_ [static, protected]
Initial value:
 { 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.023529, 0.047059, 0.070588, 0.094118, 0.117647, 0.141177, 0.164706, 0.188235, 0.211765, 0.235294, 0.258824, 0.282353, 0.305883, 0.329412, 0.352941,
    0.376471, 0.400000, 0.423530, 0.447059, 0.470588, 0.494118, 0.517647, 0.541177, 0.564706, 0.588235, 0.611765, 0.635294, 0.658824, 0.682353, 0.705882,
    0.729412, 0.752941, 0.776471, 0.800000, 0.823529, 0.847059, 0.870588, 0.894118, 0.917647, 0.941176, 0.964706, 0.988235, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.988236, 0.964706, 0.941176, 0.917647, 0.894118, 0.870588, 0.847059, 0.823530,
    0.800000, 0.776470, 0.752941, 0.729412, 0.705882, 0.682353, 0.658824, 0.635294, 0.611765, 0.588235, 0.564706, 0.541176, 0.517647, 0.494118, 0.470588,
    0.447059, 0.423530, 0.400000, 0.376470, 0.352941, 0.329412, 0.305882, 0.282353, 0.258824, 0.235294, 0.211765, 0.188235, 0.164706, 0.141176, 0.117647,
    0.094118, 0.070588, 0.047059, 0.023530, 0.000000, }

Definition at line 209 of file displayGL.h.

const float vlr::DisplayGL::cmap_rb1_green_ [static, protected]
Initial value:
 { 0.000000, 0.023529, 0.047059, 0.070588, 0.094118, 0.117647, 0.141176, 0.164706, 0.188235, 0.211765, 0.235294,
    0.258824, 0.282353, 0.305882, 0.329412, 0.352941, 0.376471, 0.400000, 0.423529, 0.447059, 0.470588, 0.494118, 0.517647, 0.541176, 0.564706, 0.588235,
    0.611765, 0.635294, 0.658824, 0.682353, 0.705882, 0.729412, 0.752941, 0.776471, 0.800000, 0.823529, 0.847059, 0.870588, 0.894118, 0.917647, 0.941177,
    0.964706, 0.988235, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.988235, 0.964706, 0.941176,
    0.917647, 0.894118, 0.870588, 0.847059, 0.823529, 0.800000, 0.776470, 0.752941, 0.729412, 0.705882, 0.682353, 0.658823, 0.635294, 0.611765, 0.588235,
    0.564706, 0.541176, 0.517647, 0.494117, 0.470588, 0.447059, 0.423529, 0.400000, 0.376470, 0.352941, 0.329412, 0.305882, 0.282353, 0.258823, 0.235294,
    0.211765, 0.188235, 0.164706, 0.141176, 0.117647, 0.094117, 0.070588, 0.047059, 0.023529, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, }

Definition at line 209 of file displayGL.h.

const float vlr::DisplayGL::cmap_rb1_red_ [static, protected]
Initial value:
 { 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 0.988235, 0.964706, 0.941176, 0.917647, 0.894118, 0.870588, 0.847059, 0.823530, 0.800000, 0.776470, 0.752941, 0.729412, 0.705882,
    0.682353, 0.658824, 0.635294, 0.611765, 0.588235, 0.564706, 0.541176, 0.517647, 0.494118, 0.470588, 0.447059, 0.423529, 0.400000, 0.376470, 0.352941,
    0.329412, 0.305882, 0.282353, 0.258823, 0.235294, 0.211765, 0.188235, 0.164706, 0.141176, 0.117647, 0.094118, 0.070588, 0.047059, 0.023529, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
    0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.023530, 0.047059, 0.070588, 0.094118, 0.117647,
    0.141176, 0.164706, 0.188235, 0.211765, 0.235295, 0.258824, 0.282353, 0.305882, 0.329412, 0.352941, 0.376470, 0.400000, 0.423530, 0.447059, 0.470588,
    0.494118, 0.517647, 0.541176, 0.564706, 0.588235, 0.611765, 0.635294, 0.658824, 0.682353, 0.705882, 0.729412, 0.752941, 0.776470, 0.800000, 0.823530,
    0.847059, 0.870588, 0.894118, 0.917647, 0.941176, 0.964706, 0.988236, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
    1.000000, 1.000000, 1.000000, 1.000000, 1.000000, }

Definition at line 209 of file displayGL.h.

const float * vlr::DisplayGL::color_map_alpha_ [protected]

Definition at line 211 of file displayGL.h.

const float * vlr::DisplayGL::color_map_blue_ [protected]

Definition at line 211 of file displayGL.h.

const float * vlr::DisplayGL::color_map_green_ [protected]

Definition at line 211 of file displayGL.h.

const float* vlr::DisplayGL::color_map_red_ [protected]

Definition at line 211 of file displayGL.h.

const float vlr::DisplayGL::colors_1d = {1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1} [static, protected]

Definition at line 212 of file displayGL.h.

Definition at line 203 of file displayGL.h.

const int vlr::DisplayGL::crossSize = 7 [static, protected]

Definition at line 214 of file displayGL.h.

unsigned int vlr::DisplayGL::current_slice_ [protected]

Definition at line 197 of file displayGL.h.

Definition at line 200 of file displayGL.h.

Definition at line 206 of file displayGL.h.

double vlr::DisplayGL::gamma [protected]

Definition at line 186 of file displayGL.h.

float vlr::DisplayGL::gamma_map_alpha_[256] [protected]

Definition at line 194 of file displayGL.h.

float vlr::DisplayGL::gamma_map_blue_[256] [protected]

Definition at line 193 of file displayGL.h.

float vlr::DisplayGL::gamma_map_green_[256] [protected]

Definition at line 192 of file displayGL.h.

float vlr::DisplayGL::gamma_map_red_[256] [protected]

Definition at line 191 of file displayGL.h.

const double vlr::DisplayGL::GRID_Z = 0.001 [static, protected]

Definition at line 210 of file displayGL.h.

float vlr::DisplayGL::heightScale_ [protected]

Definition at line 195 of file displayGL.h.

Definition at line 171 of file displayGL.h.

GLuint vlr::DisplayGL::imgTexture [protected]

Definition at line 170 of file displayGL.h.

const unsigned int vlr::DisplayGL::initial_1d_height = 480 [static]

Definition at line 166 of file displayGL.h.

const unsigned int vlr::DisplayGL::initial_1d_width = 640 [static]

Definition at line 166 of file displayGL.h.

double vlr::DisplayGL::maxval_ [protected]

Definition at line 199 of file displayGL.h.

double vlr::DisplayGL::minval_ [protected]

Definition at line 199 of file displayGL.h.

Definition at line 178 of file displayGL.h.

Definition at line 205 of file displayGL.h.

Definition at line 185 of file displayGL.h.

double vlr::DisplayGL::refreshTimeMS [protected]

Definition at line 179 of file displayGL.h.

float vlr::DisplayGL::scale_ [protected]

Definition at line 196 of file displayGL.h.

bool vlr::DisplayGL::showGridXY [protected]

Definition at line 180 of file displayGL.h.

bool vlr::DisplayGL::showGridXZ [protected]

Definition at line 180 of file displayGL.h.

bool vlr::DisplayGL::showGridYZ [protected]

Definition at line 180 of file displayGL.h.

unsigned int vlr::DisplayGL::slice_offset_ [protected]

Definition at line 198 of file displayGL.h.

unsigned char* vlr::DisplayGL::snapshot_buf_ [protected]

Definition at line 204 of file displayGL.h.

Definition at line 172 of file displayGL.h.

Definition at line 182 of file displayGL.h.

GLuint vlr::DisplayGL::texType [protected]

Definition at line 169 of file displayGL.h.

const double vlr::DisplayGL::third = 0.333333333333333 [static, protected]

Definition at line 215 of file displayGL.h.

bool vlr::DisplayGL::useColorMap [protected]

Definition at line 183 of file displayGL.h.

Definition at line 187 of file displayGL.h.

Definition at line 190 of file displayGL.h.

Definition at line 188 of file displayGL.h.

Definition at line 189 of file displayGL.h.

bool vlr::DisplayGL::useTexture [protected]

Definition at line 184 of file displayGL.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


vlr
Author(s): Soeren Kammel
autogenerated on Sun Mar 3 11:53:55 2013