Viewer
display a stack of images
Functions | Variables
viewer.cpp File Reference

Definitions for the Viewer class. More...

#include <iostream>
#include <cassert>
#include <qgl.h>
#include <jwsc/image/image.h>
#include <jwsc/imgblock/imgblock.h>
#include <jwsc/imgblock/imgblock_io.h>
#include <jwsc++/base/option.h>
#include <jwsc++/base/exception.h>
#include "viewer.h"

Go to the source code of this file.

Functions

void clean_up ()
 Cleans up the program to prepare for exit.
void print_usage (void)
 Prints the usage of the program.
void process_help_opt (void)
 Processes the 'help' program options.
void process_version_opt (void)
 Processes the 'version' program options.
int main (int argc, char **argv)
 The main program.

Variables

jwscxx::base::Optionsopts = 0
 Program options.

Detailed Description

Definitions for the Viewer class.

Author:
Joseph Schlecht
License:
Creative Commons BY-NC-SA 3.0

The main program is contained in this file.

Definition in file viewer.cpp.


Function Documentation

void clean_up ( )

Cleans up the program to prepare for exit.

Definition at line 798 of file viewer.cpp.

void print_usage ( void  )

Prints the usage of the program.

Definition at line 805 of file viewer.cpp.

void process_help_opt ( void  )

Processes the 'help' program options.

Definition at line 814 of file viewer.cpp.

void process_version_opt ( void  )

Processes the 'version' program options.

Definition at line 823 of file viewer.cpp.

int main ( int  argc,
char **  argv 
)

The main program.

Bug:
When a new viewer is created and then closed, its memory is not freed.

Definition at line 835 of file viewer.cpp.


Variable Documentation

Program options.

Definition at line 65 of file viewer.cpp.