VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | Protected Member Functions | List of all members
vtkWidgetEvent Class Reference

define widget events More...

#include <vtkWidgetEvent.h>

Inherits vtkObject.

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkObject vtkWidgetEvent::Superclass

Standard macros.

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

Definition at line 83 of file vtkWidgetEvent.h.

virtual vtkWidgetEvent::~vtkWidgetEvent ( )
inlineprotectedvirtual

Definition at line 84 of file vtkWidgetEvent.h.

Member Function Documentation

static vtkWidgetEvent* vtkWidgetEvent::New ( )
static

The object factory constructor.

static int vtkWidgetEvent::IsTypeOf ( const char *  type)
static

Standard macros.

virtual int vtkWidgetEvent::IsA ( const char *  type)
virtual

Standard macros.

static vtkWidgetEvent* vtkWidgetEvent::SafeDownCast ( vtkObjectBase *  o)
static

Standard macros.

virtual vtkObjectBase* vtkWidgetEvent::NewInstanceInternal ( ) const
protectedvirtual

Standard macros.

vtkWidgetEvent* vtkWidgetEvent::NewInstance ( ) const

Standard macros.

void vtkWidgetEvent::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Standard macros.

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: