a complete specification of a VTK event including all modifiers
More...
#include <vtkEvent.h>
Inherits vtkObject.
a complete specification of a VTK event including all modifiers
vtkEvent is a class that fully describes a VTK event. It is used by the widgets to help specify the mapping between VTK events and widget events.
- Tests:
- vtkEvent (Tests)
Definition at line 33 of file vtkEvent.h.
Ways to specify modifiers to VTK events. These can be logical OR'd to produce combinations of modifiers.
Enumerator |
---|
AnyModifier |
|
NoModifier |
|
ShiftModifier |
|
ControlModifier |
|
AltModifier |
|
Definition at line 49 of file vtkEvent.h.
virtual vtkEvent::~vtkEvent |
( |
| ) |
|
|
protectedvirtual |
The object factory constructor.
static int vtkEvent::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkEvent::IsA |
( |
const char * |
type | ) |
|
|
virtual |
static vtkEvent* vtkEvent::SafeDownCast |
( |
vtkObjectBase * |
o | ) |
|
|
static |
virtual vtkObjectBase* vtkEvent::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
vtkEvent* vtkEvent::NewInstance |
( |
| ) |
const |
void vtkEvent::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkEvent::SetEventId |
( |
unsigned |
long | ) |
|
|
virtual |
Set the modifier for the event.
virtual unsigned long vtkEvent::GetEventId |
( |
| ) |
|
|
virtual |
Set the modifier for the event.
virtual void vtkEvent::SetModifier |
( |
int |
| ) |
|
|
virtual |
Set the modifier for the event.
virtual int vtkEvent::GetModifier |
( |
| ) |
|
|
virtual |
Set the modifier for the event.
virtual void vtkEvent::SetKeyCode |
( |
char |
| ) |
|
|
virtual |
Set the KeyCode for the event.
virtual char vtkEvent::GetKeyCode |
( |
| ) |
|
|
virtual |
Set the KeyCode for the event.
virtual void vtkEvent::SetRepeatCount |
( |
int |
| ) |
|
|
virtual |
Set the repease count for the event.
virtual int vtkEvent::GetRepeatCount |
( |
| ) |
|
|
virtual |
Set the repease count for the event.
virtual void vtkEvent::SetKeySym |
( |
const char * |
| ) |
|
|
virtual |
Set the complex key symbol (compound key strokes) for the event.
virtual char* vtkEvent::GetKeySym |
( |
| ) |
|
|
virtual |
Set the complex key symbol (compound key strokes) for the event.
static int vtkEvent::GetModifier |
( |
vtkRenderWindowInteractor * |
| ) |
|
|
static |
Convenience method computes the event modifier from an interactor.
Used to compare whether two events are equal. Takes into account the EventId as well as the various modifiers.
int vtkEvent::operator== |
( |
unsigned long |
VTKEvent | ) |
|
Used to compare whether two events are equal. Takes into account the EventId as well as the various modifiers.
unsigned long vtkEvent::EventId |
|
protected |
int vtkEvent::RepeatCount |
|
protected |
The documentation for this class was generated from the following file: