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) |
BufferPixelType * | GetBuffer () |
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 () |