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

View a block of images. More...

#include <viewer.h>

Collaboration diagram for Viewer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Viewer (QWidget *parent=0, const char *name=0)
 Constructs the Viewer.

Protected Slots

void set_xz_view (bool on)
void set_yz_view (bool on)
void file_close ()
void file_open ()
void new_viewer ()
void update_gl_xy_scroll_view (int x, int y)
void update_gl_xz_scroll_view (int x, int y)
void update_gl_yz_scroll_view (int x, int y)
void update_xy_line_edit (int x, int y, int z, const jwsc::Pixel_f *px)
void update_xz_line_edit (int x, int y, int z, const jwsc::Pixel_f *px)
void update_yz_line_edit (int x, int y, int z, const jwsc::Pixel_f *px)
void update_xy_fname_line_edit (int i)

Protected Attributes

QSlider * x_axis_slider
QSpinBox * x_axis_spin_box
QSlider * y_axis_slider
QSpinBox * y_axis_spin_box
QSlider * xz_z_axis_slider
QSlider * yz_z_axis_slider
QSpinBox * xz_z_axis_spin_box
QSpinBox * yz_z_axis_spin_box
char ** fnames
jwsc::Imgblock_fimg_blk
GLImagePanelXYxy_view
GLImagePanelXZxz_view
GLImagePanelYZyz_view
QScrollView * gl_xy_scroll_view
QScrollView * gl_xz_scroll_view
QScrollView * gl_yz_scroll_view
int updating_gl_scroll_view
QMutex * mutex
QLineEdit * xy_line_edit
QLineEdit * xz_line_edit
QLineEdit * yz_line_edit
QLineEdit * xy_fname_line_edit
bool show_xz_view
bool show_yz_view

Detailed Description

View a block of images.

Given a block of images composing a 3D image, the Viewer produces a window that enables visualization of the 3D image by giving three perspectives: (1) the xy-axis, (2) the xz-axis, and (3) the yz-axis of the image block.

Definition at line 100 of file viewer.h.


Constructor & Destructor Documentation

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

Constructs the Viewer.

Constructs a QWidget-like panel used for visualizing a block of images.

Parameters:
parentIf parent is 0, the new widget becomes a top-level window. If parent is another widget, this widget becomes a child window inside parent. The new widget is deleted when its parent is deleted.
nameUnique identifier used for debugging.

Definition at line 77 of file viewer.cpp.


Member Function Documentation

void Viewer::set_xz_view ( bool  on) [protected, slot]

Definition at line 268 of file viewer.cpp.

void Viewer::set_yz_view ( bool  on) [protected, slot]

Definition at line 421 of file viewer.cpp.

void Viewer::file_close ( ) [protected, slot]

Definition at line 570 of file viewer.cpp.

void Viewer::file_open ( ) [protected, slot]

Definition at line 618 of file viewer.cpp.

void Viewer::new_viewer ( ) [protected, slot]

Definition at line 689 of file viewer.cpp.

void Viewer::update_gl_xy_scroll_view ( int  x,
int  y 
) [protected, slot]

Definition at line 695 of file viewer.cpp.

void Viewer::update_gl_xz_scroll_view ( int  x,
int  y 
) [protected, slot]

Definition at line 712 of file viewer.cpp.

void Viewer::update_gl_yz_scroll_view ( int  x,
int  y 
) [protected, slot]

Definition at line 729 of file viewer.cpp.

void Viewer::update_xy_line_edit ( int  x,
int  y,
int  z,
const jwsc::Pixel_f px 
) [protected, slot]

Definition at line 746 of file viewer.cpp.

void Viewer::update_xz_line_edit ( int  x,
int  y,
int  z,
const jwsc::Pixel_f px 
) [protected, slot]

Definition at line 755 of file viewer.cpp.

void Viewer::update_yz_line_edit ( int  x,
int  y,
int  z,
const jwsc::Pixel_f px 
) [protected, slot]

Definition at line 764 of file viewer.cpp.

void Viewer::update_xy_fname_line_edit ( int  i) [protected, slot]

Definition at line 773 of file viewer.cpp.


Member Data Documentation

QSlider* Viewer::x_axis_slider [protected]

Definition at line 138 of file viewer.h.

QSpinBox* Viewer::x_axis_spin_box [protected]

Definition at line 140 of file viewer.h.

QSlider* Viewer::y_axis_slider [protected]

Definition at line 142 of file viewer.h.

QSpinBox* Viewer::y_axis_spin_box [protected]

Definition at line 144 of file viewer.h.

QSlider* Viewer::xz_z_axis_slider [protected]

Definition at line 146 of file viewer.h.

QSlider* Viewer::yz_z_axis_slider [protected]

Definition at line 147 of file viewer.h.

QSpinBox* Viewer::xz_z_axis_spin_box [protected]

Definition at line 149 of file viewer.h.

QSpinBox* Viewer::yz_z_axis_spin_box [protected]

Definition at line 150 of file viewer.h.

char** Viewer::fnames [protected]

Definition at line 152 of file viewer.h.

Definition at line 154 of file viewer.h.

Definition at line 156 of file viewer.h.

Definition at line 158 of file viewer.h.

Definition at line 160 of file viewer.h.

QScrollView* Viewer::gl_xy_scroll_view [protected]

Definition at line 162 of file viewer.h.

QScrollView* Viewer::gl_xz_scroll_view [protected]

Definition at line 164 of file viewer.h.

QScrollView* Viewer::gl_yz_scroll_view [protected]

Definition at line 166 of file viewer.h.

Definition at line 168 of file viewer.h.

QMutex* Viewer::mutex [protected]

Definition at line 170 of file viewer.h.

QLineEdit* Viewer::xy_line_edit [protected]

Definition at line 172 of file viewer.h.

QLineEdit* Viewer::xz_line_edit [protected]

Definition at line 174 of file viewer.h.

QLineEdit* Viewer::yz_line_edit [protected]

Definition at line 176 of file viewer.h.

QLineEdit* Viewer::xy_fname_line_edit [protected]

Definition at line 178 of file viewer.h.

bool Viewer::show_xz_view [protected]

Definition at line 180 of file viewer.h.

bool Viewer::show_yz_view [protected]

Definition at line 181 of file viewer.h.


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