Viewer
display a stack of images
|
#include <gl_image_panel.h>
Public Slots | |
virtual void | set_current_x_index (int index) |
virtual void | set_current_y_index (int index) |
virtual void | set_current_z_index (int index) |
virtual void | set_draw_line (bool b) |
Signals | |
void | mouse_position_changed (int x, int y, int z, const jwsc::Pixel_f *px) |
Public Member Functions | |
GLImagePanel (QWidget *parent=0, const char *name=0) | |
virtual void | set_imgblock (jwsc::Imgblock_f *img_blk) |
Protected Member Functions | |
virtual void | initializeGL () |
virtual void | paintGL ()=0 |
virtual void | resizeGL (int w, int h)=0 |
virtual void | mouseMoveEvent (QMouseEvent *event)=0 |
Protected Attributes | |
jwsc::Imgblock_f * | img_blk |
int | current_x_index |
int | current_y_index |
int | current_z_index |
int | default_width |
int | default_height |
bool | draw_line |
Definition at line 56 of file gl_image_panel.h.
GLImagePanel::GLImagePanel | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Definition at line 56 of file gl_image_panel.cpp.
virtual void GLImagePanel::set_imgblock | ( | jwsc::Imgblock_f * | img_blk | ) | [virtual] |
Reimplemented in GLImagePanelXY, GLImagePanelXZ, and GLImagePanelYZ.
void GLImagePanel::set_current_x_index | ( | int | index | ) | [virtual, slot] |
Reimplemented in GLImagePanelYZ.
Definition at line 69 of file gl_image_panel.cpp.
void GLImagePanel::set_current_y_index | ( | int | index | ) | [virtual, slot] |
Reimplemented in GLImagePanelXZ.
Definition at line 75 of file gl_image_panel.cpp.
void GLImagePanel::set_current_z_index | ( | int | index | ) | [virtual, slot] |
Reimplemented in GLImagePanelXY.
Definition at line 81 of file gl_image_panel.cpp.
void GLImagePanel::set_draw_line | ( | bool | b | ) | [virtual, slot] |
Definition at line 87 of file gl_image_panel.cpp.
void GLImagePanel::mouse_position_changed | ( | int | x, |
int | y, | ||
int | z, | ||
const jwsc::Pixel_f * | px | ||
) | [signal] |
Definition at line 111 of file moc_gl_image_panel.cpp.
void GLImagePanel::initializeGL | ( | ) | [protected, virtual] |
Definition at line 99 of file gl_image_panel.cpp.
virtual void GLImagePanel::paintGL | ( | ) | [protected, pure virtual] |
Implemented in GLImagePanelXY, GLImagePanelXZ, and GLImagePanelYZ.
virtual void GLImagePanel::resizeGL | ( | int | w, |
int | h | ||
) | [protected, pure virtual] |
Implemented in GLImagePanelXY, GLImagePanelXZ, and GLImagePanelYZ.
virtual void GLImagePanel::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, pure virtual] |
Implemented in GLImagePanelXY, GLImagePanelXZ, and GLImagePanelYZ.
jwsc::Imgblock_f* GLImagePanel::img_blk [protected] |
Definition at line 82 of file gl_image_panel.h.
int GLImagePanel::current_x_index [protected] |
Definition at line 84 of file gl_image_panel.h.
int GLImagePanel::current_y_index [protected] |
Definition at line 86 of file gl_image_panel.h.
int GLImagePanel::current_z_index [protected] |
Definition at line 88 of file gl_image_panel.h.
int GLImagePanel::default_width [protected] |
Definition at line 90 of file gl_image_panel.h.
int GLImagePanel::default_height [protected] |
Definition at line 92 of file gl_image_panel.h.
bool GLImagePanel::draw_line [protected] |
Definition at line 94 of file gl_image_panel.h.