VTK
|
define widget events More...
#include <vtkWidgetEvent.h>
Public Types | |
enum | WidgetEventIds { NoEvent = 0, Select, EndSelect, Delete, Translate, EndTranslate, Scale, EndScale, Resize, EndResize, Rotate, EndRotate, Move, SizeHandles, AddPoint, AddFinalPoint, Completed, TimedOut, ModifyEvent, Reset, Up, Down, Left, Right } |
Static Public Member Functions | |
static vtkWidgetEvent * | New () |
static const char * | GetStringFromEventId (unsigned long event) |
static unsigned long | GetEventIdFromString (const char *event) |
Protected Member Functions | |
vtkWidgetEvent () | |
virtual | ~vtkWidgetEvent () |
typedef vtkObject | Superclass |
static int | IsTypeOf (const char *type) |
static vtkWidgetEvent * | SafeDownCast (vtkObjectBase *o) |
virtual int | IsA (const char *type) |
vtkWidgetEvent * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkObjectBase * | NewInstanceInternal () const |
define widget events
vtkWidgetEvent defines widget events. These events are processed by subclasses of vtkInteractorObserver.
Definition at line 31 of file vtkWidgetEvent.h.
typedef vtkObject vtkWidgetEvent::Superclass |
All the widget events are defined here.
NoEvent | |
Select | |
EndSelect | |
Delete | |
Translate | |
EndTranslate | |
Scale | |
EndScale | |
Resize | |
EndResize | |
Rotate | |
EndRotate | |
Move | |
SizeHandles | |
AddPoint | |
AddFinalPoint | |
Completed | |
TimedOut | |
ModifyEvent | |
Reset | |
Up | |
Down | |
Left | |
Right |
Definition at line 46 of file vtkWidgetEvent.h.
vtkWidgetEvent::vtkWidgetEvent | ( | ) | [inline, protected] |
Definition at line 83 of file vtkWidgetEvent.h.
virtual vtkWidgetEvent::~vtkWidgetEvent | ( | ) | [inline, protected, virtual] |
Definition at line 84 of file vtkWidgetEvent.h.
static vtkWidgetEvent* vtkWidgetEvent::New | ( | ) | [static] |
The object factory constructor.
Reimplemented from vtkObject.
static int vtkWidgetEvent::IsTypeOf | ( | const char * | type | ) | [static] |
Standard macros.
Reimplemented from vtkObject.
virtual int vtkWidgetEvent::IsA | ( | const char * | type | ) | [virtual] |
Standard macros.
Reimplemented from vtkObject.
static vtkWidgetEvent* vtkWidgetEvent::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Standard macros.
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkWidgetEvent::NewInstanceInternal | ( | ) | const [protected, virtual] |
Standard macros.
Reimplemented from vtkObject.
vtkWidgetEvent* vtkWidgetEvent::NewInstance | ( | ) | const |
Standard macros.
Reimplemented from vtkObject.
void vtkWidgetEvent::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Standard macros.
Reimplemented from vtkObject.
static const char* vtkWidgetEvent::GetStringFromEventId | ( | unsigned long | event | ) | [static] |
Convenience methods for translating between event names and event ids.
static unsigned long vtkWidgetEvent::GetEventIdFromString | ( | const char * | event | ) | [static] |
Convenience methods for translating between event names and event ids.