Viewer
display a stack of images
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes
GLImagePanel Class Reference

#include <gl_image_panel.h>

Inheritance diagram for GLImagePanel:
Inheritance graph
[legend]

List of all members.

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_fimg_blk
int current_x_index
int current_y_index
int current_z_index
int default_width
int default_height
bool draw_line

Detailed Description

Definition at line 56 of file gl_image_panel.h.


Constructor & Destructor Documentation

GLImagePanel::GLImagePanel ( QWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 56 of file gl_image_panel.cpp.


Member Function Documentation

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]
virtual void GLImagePanel::resizeGL ( int  w,
int  h 
) [protected, pure virtual]
virtual void GLImagePanel::mouseMoveEvent ( QMouseEvent *  event) [protected, pure virtual]

Member Data Documentation

Definition at line 82 of file gl_image_panel.h.

Definition at line 84 of file gl_image_panel.h.

Definition at line 86 of file gl_image_panel.h.

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.

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.


The documentation for this class was generated from the following files: