#include <vtkCommand.h>
Inheritance diagram for vtkCommand:
Public Types | |
enum | EventIds { NoEvent = 0, AnyEvent, DeleteEvent, StartEvent, EndEvent, ProgressEvent, PickEvent, StartPickEvent, EndPickEvent, AbortCheckEvent, ExitEvent, LeftButtonPressEvent, LeftButtonReleaseEvent, MiddleButtonPressEvent, MiddleButtonReleaseEvent, RightButtonPressEvent, RightButtonReleaseEvent, EnterEvent, LeaveEvent, KeyPressEvent, KeyReleaseEvent, CharEvent, ConfigureEvent, TimerEvent, MouseMoveEvent, ResetCameraEvent, ResetCameraClippingRangeEvent, UserEvent = 1000 } |
Public Methods | |
vtkCommand () | |
virtual | ~vtkCommand () |
void | Delete () |
virtual void | Execute (vtkObject *caller, unsigned long, void *callData)=0 |
Static Public Methods | |
vtkCommand * | New () |
const char * | GetStringFromEventId (unsigned long event) |
unsigned long | GetEventIdFromString (const char *event) |
vtkCommand is an implementation of the command design pattern that is used in callbacks (such as StartMethod(), ProgressMethod(), and EndMethod()) in VTK. vtkObject implements a Subject/Observer pattern. When a subject needs to notify a observer, it does so using a vtkCommand.
Definition at line 59 of file vtkCommand.h.
|
Definition at line 77 of file vtkCommand.h. |
|
Definition at line 62 of file vtkCommand.h. |
|
Definition at line 63 of file vtkCommand.h. |
|
Reimplemented in vtkCallbackCommand, vtkOldStyleCallbackCommand, vtkJavaCommand, vtkPythonCommand, and vtkTclCommand. |
|
Definition at line 65 of file vtkCommand.h. |
|
Reimplemented in vtkCallbackCommand, vtkOldStyleCallbackCommand, vtkJavaCommand, vtkPythonCommand, and vtkTclCommand. |
|
|
|
|