$search
#include <display.h>
Public Member Functions | |
Display (ImageBase &img, displayMode_t mode, int32_t hPos, int32_t vPos, double frameRate, QWidget *parent, QGLFormat glFormat) | |
Display (ImageBase &img, int32_t hPos, int32_t vPos, QWidget *parent) | |
Display (ImageBase &img, int32_t hPos, int32_t vPos) | |
Display (ImageBase &img) | |
Display (uint32_t width, uint32_t height, displayMode_t mode, int32_t hPos, int32_t vPos, double frameRate, QWidget *parent, QGLFormat glFormat) | |
Display (uint32_t width, uint32_t height, int32_t hPos, int32_t vPos, QWidget *parent) | |
Display (uint32_t width, uint32_t height, int32_t hPos, int32_t vPos) | |
Display (uint32_t width, uint32_t height) | |
Display (QWidget *parent=NULL) | |
displayMode_t | displayMode () |
const DisplayGL * | glWidget () const |
float | heightScale () |
void | requestRedraw () |
void | resize (int width, int height) |
void | resizeEvent (QResizeEvent *e) |
void | setCustomGLDisplay (DisplayGL *customGLWidget) |
void | setDisplayMode (displayMode_t mode) |
void | setHeightScale (float height_scale) |
void | setKeyPressFunc (DisplayGL::keyPressFunc *func) |
void | setMouseMoveFunc (DisplayGL::mouseMoveFunc *func) |
void | setMousePressFunc (DisplayGL::mousePressFunc *func) |
void | setMouseReleaseFunc (DisplayGL::mouseReleaseFunc *func) |
void | setParent (QWidget *parent) |
void | setTextureMode (bool onoff) |
void | show () |
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) |
~Display () | |
Public Attributes | |
DisplayGL * | glWidget_ |
Protected Member Functions | |
Display (QWidget *parent, int32_t hPos, int32_t vPos) | |
Private Slots | |
void | on_action_2d_activated () |
void | on_action_3d_activated () |
Private Member Functions | |
void | create (uint32_t width, uint32_t height, displayMode_t mode, int32_t hPos, int32_t vPos, double frameRate, QGLFormat glFormat) |
Private Attributes | |
QGridLayout * | gridLayout |
Definition at line 48 of file display.h.
vlr::Display::Display | ( | QWidget * | parent = NULL |
) |
Definition at line 83 of file display.cpp.
Definition at line 88 of file display.cpp.
Definition at line 93 of file display.cpp.
vlr::Display::Display | ( | uint32_t | width, | |
uint32_t | height, | |||
int32_t | hPos, | |||
int32_t | vPos, | |||
QWidget * | parent | |||
) |
Definition at line 98 of file display.cpp.
vlr::Display::Display | ( | uint32_t | width, | |
uint32_t | height, | |||
displayMode_t | mode, | |||
int32_t | hPos, | |||
int32_t | vPos, | |||
double | frameRate, | |||
QWidget * | parent, | |||
QGLFormat | glFormat | |||
) |
Definition at line 104 of file display.cpp.
vlr::Display::Display | ( | ImageBase & | img | ) |
Definition at line 111 of file display.cpp.
vlr::Display::Display | ( | ImageBase & | img, | |
int32_t | hPos, | |||
int32_t | vPos | |||
) |
Definition at line 116 of file display.cpp.
vlr::Display::Display | ( | ImageBase & | img, | |
int32_t | hPos, | |||
int32_t | vPos, | |||
QWidget * | parent | |||
) |
Definition at line 121 of file display.cpp.
vlr::Display::Display | ( | ImageBase & | img, | |
displayMode_t | mode, | |||
int32_t | hPos, | |||
int32_t | vPos, | |||
double | frameRate, | |||
QWidget * | parent, | |||
QGLFormat | glFormat | |||
) |
Definition at line 126 of file display.cpp.
vlr::Display::~Display | ( | ) |
Definition at line 142 of file display.cpp.
vlr::Display::Display | ( | QWidget * | parent, | |
int32_t | hPos, | |||
int32_t | vPos | |||
) | [protected] |
Definition at line 133 of file display.cpp.
void vlr::Display::create | ( | uint32_t | width, | |
uint32_t | height, | |||
displayMode_t | mode, | |||
int32_t | hPos, | |||
int32_t | vPos, | |||
double | frameRate, | |||
QGLFormat | glFormat | |||
) | [private] |
Definition at line 146 of file display.cpp.
displayMode_t vlr::Display::displayMode | ( | ) | [inline] |
const DisplayGL* vlr::Display::glWidget | ( | ) | const [inline] |
void vlr::Display::on_action_2d_activated | ( | ) | [private, slot] |
Definition at line 198 of file display.cpp.
void vlr::Display::on_action_3d_activated | ( | ) | [private, slot] |
Definition at line 203 of file display.cpp.
void vlr::Display::resize | ( | int | width, | |
int | height | |||
) | [inline] |
void vlr::Display::resizeEvent | ( | QResizeEvent * | e | ) | [inline] |
void vlr::Display::setCustomGLDisplay | ( | DisplayGL * | customGLWidget | ) |
Definition at line 208 of file display.cpp.
void vlr::Display::setDisplayMode | ( | displayMode_t | mode | ) | [inline] |
void vlr::Display::setHeightScale | ( | float | height_scale | ) | [inline] |
void vlr::Display::setKeyPressFunc | ( | DisplayGL::keyPressFunc * | func | ) | [inline] |
void vlr::Display::setMouseMoveFunc | ( | DisplayGL::mouseMoveFunc * | func | ) | [inline] |
void vlr::Display::setMousePressFunc | ( | DisplayGL::mousePressFunc * | func | ) | [inline] |
void vlr::Display::setMouseReleaseFunc | ( | DisplayGL::mouseReleaseFunc * | func | ) | [inline] |
void vlr::Display::setParent | ( | QWidget * | parent | ) | [inline] |
void vlr::Display::show | ( | ) |
Definition at line 226 of file display.cpp.
bool vlr::Display::snapshot | ( | Image< unsigned char > & | res | ) | [inline] |
bool vlr::Display::updateImage | ( | T * | data, | |
uint32_t | width, | |||
uint32_t | height, | |||
uint32_t | channels, | |||
uint32_t | padded_width, | |||
ImageBase::colorSpace_t | cs | |||
) | [inline] |
bool vlr::Display::updateImage | ( | ImageBase & | img | ) | [inline] |
bool vlr::Display::updateTexture | ( | T * | data, | |
uint32_t | width, | |||
uint32_t | height, | |||
uint32_t | channels, | |||
uint32_t | padded_width, | |||
ImageBase::colorSpace_t | cs | |||
) | [inline] |
bool vlr::Display::updateTexture | ( | ImageBase & | img | ) | [inline] |
QGridLayout* vlr::Display::gridLayout [private] |