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

itk::ImageViewerWindow Class Reference
[Input and Output Filters]

Simple implemementation of a GLUT controled window. More...

#include <itkImageViewerWindow.h>

List of all members.

Public Types

typedef unsigned char BufferPixelType

Public Methods

 ImageViewerWindow (int setWidth, int setHeight, int setInitPositionX, int setInitPositionY, const char *title)
virtual ~ImageViewerWindow ()
virtual void CallBackDisplayFunc (void)
virtual void CallBackReshapeFunc (int w, int h)
virtual void CallBackKeyboardFunc (unsigned char key, int x, int y)
virtual void CallBackMouseFunc (int button, int state, int x, int y)
virtual void SetBufferSize (int w, int h)
virtual void SetWindowSize (int w, int h)
virtual void SetWindowPosition (int x, int y)
virtual void SetWindowTitle (const char *title)
BufferPixelTypeGetBuffer ()
unsigned char GetLastKeyPressed () const
int GetLastKeyModifiers () const
int GetLastMouseButton () const
int GetLastMouseState () const
int GetLastMousePositionX () const
int GetLastMousePositionY () const
unsigned long AddObserver (const EventObject &event, Command *)
 itkEventMacro (UserInteractionEvent, AnyEvent)
 itkEventMacro (KeyPressedEvent, UserInteractionEvent)
 itkEventMacro (MouseEvent, UserInteractionEvent)
 itkEventMacro (ResizeWindowEvent, UserInteractionEvent)

Static Public Methods

void StartInteraction ()


Detailed Description

Simple implemementation of a GLUT controled window.

Definition at line 37 of file itkImageViewerWindow.h.


Member Typedef Documentation

typedef unsigned char itk::ImageViewerWindow::BufferPixelType
 

Definition at line 62 of file itkImageViewerWindow.h.


Constructor & Destructor Documentation

itk::ImageViewerWindow::ImageViewerWindow int    setWidth,
int    setHeight,
int    setInitPositionX,
int    setInitPositionY,
const char *    title
 

virtual itk::ImageViewerWindow::~ImageViewerWindow   [virtual]
 


Member Function Documentation

unsigned long itk::ImageViewerWindow::AddObserver const EventObject   event,
Command  
 

Connect an observer to the current window

virtual void itk::ImageViewerWindow::CallBackDisplayFunc void    [virtual]
 

virtual void itk::ImageViewerWindow::CallBackKeyboardFunc unsigned char    key,
int    x,
int    y
[virtual]
 

virtual void itk::ImageViewerWindow::CallBackMouseFunc int    button,
int    state,
int    x,
int    y
[virtual]
 

virtual void itk::ImageViewerWindow::CallBackReshapeFunc int    w,
int    h
[virtual]
 

BufferPixelType* itk::ImageViewerWindow::GetBuffer  
 

int itk::ImageViewerWindow::GetLastKeyModifiers   const
 

unsigned char itk::ImageViewerWindow::GetLastKeyPressed   const
 

int itk::ImageViewerWindow::GetLastMouseButton   const
 

int itk::ImageViewerWindow::GetLastMousePositionX   const
 

int itk::ImageViewerWindow::GetLastMousePositionY   const
 

int itk::ImageViewerWindow::GetLastMouseState   const
 

itk::ImageViewerWindow::itkEventMacro ResizeWindowEvent   ,
UserInteractionEvent   
 

Define Events for GUI interaction

itk::ImageViewerWindow::itkEventMacro MouseEvent   ,
UserInteractionEvent   
 

Define Events for GUI interaction

itk::ImageViewerWindow::itkEventMacro KeyPressedEvent   ,
UserInteractionEvent   
 

Define Events for GUI interaction

itk::ImageViewerWindow::itkEventMacro UserInteractionEvent   ,
AnyEvent   
 

Define Events for GUI interaction

virtual void itk::ImageViewerWindow::SetBufferSize int    w,
int    h
[virtual]
 

virtual void itk::ImageViewerWindow::SetWindowPosition int    x,
int    y
[virtual]
 

virtual void itk::ImageViewerWindow::SetWindowSize int    w,
int    h
[virtual]
 

virtual void itk::ImageViewerWindow::SetWindowTitle const char *    title [virtual]
 

void itk::ImageViewerWindow::StartInteraction   [static]
 

This method initiates the event loop enabling interaction with the GUI


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