DatasetViewer Class Reference
[Graphics]

Utility for viewing a dataset. More...

#include <DatasetViewer.hpp>

Inherits CanvasListener.

List of all members.

Public Member Functions

void goToNext ()
void goToPrevious ()
void load ()
void onCanvasEvent (const CanvasEvent &event)
void onCanvasEventButton (const CanvasEvent &event)
void onCanvasEventDisplay (const CanvasEvent &event)
void onCanvasEventKey (const CanvasEvent &event)
void setCanvas (Canvas *canvas)
void setDataset (Dataset *dataset)

Private Attributes

Datasetdataset
GLenum type
int slice
int width
int height
int depth
Canvascanvas

Detailed Description

Utility for viewing a dataset.


Member Function Documentation

void goToNext (  ) 

Shows the next slice in the dataset.

void goToPrevious (  ) 

Shows the previous slice in the dataset.

void load (  ) 

Copies attributes from the dataset and adds listeners to the canvas.

void onCanvasEvent ( const CanvasEvent &  event  ) 

Handles the incoming canvas event.

void onCanvasEventButton ( const CanvasEvent &  event  ) 

Prints the value in the volume under the cursor.

void onCanvasEventDisplay ( const CanvasEvent &  event  ) 

Draws a slice to the screen.

void onCanvasEventKey ( const CanvasEvent &  event  ) 

Changes the slice.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:35 2010 for Gander by  doxygen 1.6.3