vtkWidgetEvent Class Reference

#include <vtkWidgetEvent.h>

Inheritance diagram for vtkWidgetEvent:

Inheritance graph
[legend]
Collaboration diagram for vtkWidgetEvent:

Collaboration graph
[legend]

List of all members.


Detailed Description

define widget events

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

Tests:
vtkWidgetEvent (Tests)

Definition at line 30 of file vtkWidgetEvent.h.

typedef vtkObject Superclass
static int IsTypeOf (const char *type)
static vtkWidgetEventSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

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
}

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 ()

Member Typedef Documentation

Standard macros.

Reimplemented from vtkObject.

Definition at line 38 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 

Definition at line 45 of file vtkWidgetEvent.h.


Constructor & Destructor Documentation

vtkWidgetEvent::vtkWidgetEvent (  )  [inline, protected]

Definition at line 78 of file vtkWidgetEvent.h.

virtual vtkWidgetEvent::~vtkWidgetEvent (  )  [inline, protected, virtual]

Definition at line 79 of file vtkWidgetEvent.h.


Member Function Documentation

static vtkWidgetEvent* vtkWidgetEvent::New (  )  [static]

The object factory constructor.

Reimplemented from vtkObject.

virtual const char* vtkWidgetEvent::GetClassName (  )  [virtual]

Standard macros.

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 ( vtkObject o  )  [static]

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:

Generated on Wed Aug 24 12:19:48 2011 for VTK by  doxygen 1.5.6