Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ImageViewer< TInputImage > Class Template Reference
[Input and Output Filters]

Simple implemementation of a GLUT based image viewer. More...

#include <itkImageViewer.h>

Inheritance diagram for itk::ImageViewer:

Inheritance graph
[legend]
Collaboration diagram for itk::ImageViewer< TInputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ImageViewer Self
typedef ProcessObject Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::PixelType PixelType
typedef ImageViewerWindow::BufferPixelType BufferPixelType
typedef itk::MinimumMaximumImageCalculator<
InputImageType
CalculatorType

Public Methods

virtual const char * GetClassName () const
void SetInput (const TInputImage *input)
const InputImageTypeGetInput (void)
void Show ()
void Update ()
virtual void SetLabel (const char *label)
void KeyPressedCallback ()
void MouseCallback ()
void NextSlice ()
void PreviousSlice ()
virtual void SetSliceNumber (unsigned int _arg)
virtual void SetDirection (unsigned int _arg)
virtual unsigned int GetSliceNumber ()
virtual unsigned int GetDirection ()

Static Public Methods

Pointer New ()
void StartInteraction ()

Protected Methods

 ImageViewer ()
virtual ~ImageViewer ()
void PrintSelf (std::ostream &os, Indent indent) const
void GenerateOutputInformation (void)
void GenerateData (void)
void PrepareBuffer ()

Detailed Description

template<class TInputImage>
class itk::ImageViewer< TInputImage >

Simple implemementation of a GLUT based image viewer.

Definition at line 37 of file itkImageViewer.h.


Member Typedef Documentation

template<class TInputImage>
typedef ImageViewerWindow::BufferPixelType itk::ImageViewer< TInputImage >::BufferPixelType
 

Definition at line 50 of file itkImageViewer.h.

template<class TInputImage>
typedef itk::MinimumMaximumImageCalculator< InputImageType> itk::ImageViewer< TInputImage >::CalculatorType
 

Definition at line 52 of file itkImageViewer.h.

template<class TInputImage>
typedef SmartPointer<const Self> itk::ImageViewer< TInputImage >::ConstPointer
 

Reimplemented from itk::ProcessObject.

Definition at line 44 of file itkImageViewer.h.

template<class TInputImage>
typedef InputImageType::Pointer itk::ImageViewer< TInputImage >::InputImagePointer
 

Definition at line 48 of file itkImageViewer.h.

template<class TInputImage>
typedef TInputImage itk::ImageViewer< TInputImage >::InputImageType
 

Some convenience typedefs.

Definition at line 47 of file itkImageViewer.h.

template<class TInputImage>
typedef InputImageType::PixelType itk::ImageViewer< TInputImage >::PixelType
 

Definition at line 49 of file itkImageViewer.h.

template<class TInputImage>
typedef SmartPointer<Self> itk::ImageViewer< TInputImage >::Pointer
 

Reimplemented from itk::ProcessObject.

Definition at line 43 of file itkImageViewer.h.

template<class TInputImage>
typedef ImageViewer itk::ImageViewer< TInputImage >::Self
 

Standard class typedefs.

Reimplemented from itk::ProcessObject.

Definition at line 41 of file itkImageViewer.h.

template<class TInputImage>
typedef ProcessObject itk::ImageViewer< TInputImage >::Superclass
 

Reimplemented from itk::ProcessObject.

Definition at line 42 of file itkImageViewer.h.


Constructor & Destructor Documentation

template<class TInputImage>
itk::ImageViewer< TInputImage >::ImageViewer   [protected]
 

template<class TInputImage>
virtual itk::ImageViewer< TInputImage >::~ImageViewer   [protected, virtual]
 


Member Function Documentation

template<class TInputImage>
void itk::ImageViewer< TInputImage >::GenerateData void    [protected, virtual]
 

Configures the size of window and prepares the buffer to be displayed.

Reimplemented from itk::ProcessObject.

template<class TInputImage>
void itk::ImageViewer< TInputImage >::GenerateOutputInformation void    [protected, virtual]
 

Generate the information decribing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

template<class TInputImage>
virtual const char* itk::ImageViewer< TInputImage >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

template<class TInputImage>
virtual unsigned int itk::ImageViewer< TInputImage >::GetDirection   [virtual]
 

Methods related with the selection of slices in 3D images

template<class TInputImage>
const InputImageType* itk::ImageViewer< TInputImage >::GetInput void   
 

Get the input image of this writer.

template<class TInputImage>
virtual unsigned int itk::ImageViewer< TInputImage >::GetSliceNumber   [virtual]
 

Methods related with the selection of slices in 3D images

template<class TInputImage>
void itk::ImageViewer< TInputImage >::KeyPressedCallback  
 

Callback member for Key pressed in the Window

template<class TInputImage>
void itk::ImageViewer< TInputImage >::MouseCallback  
 

Callback member for mouse button pressed in the Window

template<class TInputImage>
Pointer itk::ImageViewer< TInputImage >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage>
void itk::ImageViewer< TInputImage >::NextSlice  
 

Methods related with the selection of slices in 3D images

template<class TInputImage>
void itk::ImageViewer< TInputImage >::PrepareBuffer   [protected]
 

Prepare the buffer in the Window using image data

template<class TInputImage>
void itk::ImageViewer< TInputImage >::PreviousSlice  
 

Methods related with the selection of slices in 3D images

template<class TInputImage>
void itk::ImageViewer< TInputImage >::PrintSelf std::ostream &    os,
Indent    indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ProcessObject.

template<class TInputImage>
virtual void itk::ImageViewer< TInputImage >::SetDirection unsigned int    _arg [virtual]
 

Methods related with the selection of slices in 3D images

template<class TInputImage>
void itk::ImageViewer< TInputImage >::SetInput const TInputImage *    input
 

Set the input image of this writer.

template<class TInputImage>
virtual void itk::ImageViewer< TInputImage >::SetLabel const char *    label [virtual]
 

Set the label (title) for the window

template<class TInputImage>
virtual void itk::ImageViewer< TInputImage >::SetSliceNumber unsigned int    _arg [virtual]
 

Methods related with the selection of slices in 3D images

template<class TInputImage>
void itk::ImageViewer< TInputImage >::Show  
 

Display the image in a window. It generates Start/End events and calls GenerateData

template<class TInputImage>
void itk::ImageViewer< TInputImage >::StartInteraction   [static]
 

Initialize the event loop

template<class TInputImage>
void itk::ImageViewer< TInputImage >::Update   [virtual]
 

An alias for Show()

Reimplemented from itk::ProcessObject.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:20:18 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000