VTK
Static Public Member Functions | Protected Member Functions
vtkWidgetEvent Class Reference

define widget events More...

#include <vtkWidgetEvent.h>

Inheritance diagram for vtkWidgetEvent:
Inheritance graph
[legend]
Collaboration diagram for vtkWidgetEvent:
Collaboration graph
[legend]

List of all members.

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 vtkWidgetEventNew ()
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 vtkWidgetEventSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkWidgetEventNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

Detailed Description

define widget events

vtkWidgetEvent defines widget events. These events are processed by subclasses of vtkInteractorObserver.

Tests:
vtkWidgetEvent (Tests)

Definition at line 31 of file vtkWidgetEvent.h.


Member Typedef Documentation

Standard macros.

Reimplemented from vtkObject.

Definition at line 39 of file vtkWidgetEvent.h.


Member Enumeration Documentation

All the widget events are defined here.

Enumerator:
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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Standard macros.

Reimplemented from vtkObject.

virtual vtkObjectBase* vtkWidgetEvent::NewInstanceInternal ( ) const [protected, virtual]

Standard macros.

Reimplemented from vtkObject.

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.


The documentation for this class was generated from the following file: