VTK
Classes | Macros
vtkCommand.h File Reference
#include "vtkCommonCoreModule.h"
#include "vtkObjectBase.h"
#include "vtkObject.h"
Include dependency graph for vtkCommand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkCommand
 superclass for callback/observer methods More...
 

Macros

#define vtkAllEventsMacro()
 
#define vtkEventDeclarationMacro(_enum_name)
 
#define _vtk_add_event(Enum)   Enum,
 All the currently defined events are listed here. More...
 

Macro Definition Documentation

#define vtkAllEventsMacro ( )

Definition at line 217 of file vtkCommand.h.

#define vtkEventDeclarationMacro (   _enum_name)
Value:
enum _enum_name{\
NoEvent = 0,\
UserEvent = 1000\
};
#define vtkAllEventsMacro()
Definition: vtkCommand.h:217

Definition at line 332 of file vtkCommand.h.

#define _vtk_add_event (   Enum)    Enum,

All the currently defined events are listed here.

Developers can use – vtkCommand::UserEvent + int to specify their own event ids. Add new events by updating vtkAllEventsMacro.

Definition at line 413 of file vtkCommand.h.