54 #ifndef __vtkAbstractWidget_h
55 #define __vtkAbstractWidget_h
57 #include "vtkInteractionWidgetsModule.h"
58 #include "vtkInteractorObserver.h"
71 void PrintSelf(ostream& os, vtkIndent indent);
79 virtual void SetEnabled(
int);
86 vtkSetClampMacro(ProcessEvents,
int, 0, 1);
87 vtkGetMacro(ProcessEvents,
int);
88 vtkBooleanMacro(ProcessEvents,
int);
95 {
return this->EventTranslator;}
102 virtual void CreateDefaultRepresentation() = 0;
126 this->CreateDefaultRepresentation();
127 return this->WidgetRep;
136 vtkSetMacro(ManagesCursor,
int);
137 vtkGetMacro(ManagesCursor,
int);
138 vtkBooleanMacro(ManagesCursor,
int);
144 virtual void SetPriority(
float );
151 static void ProcessEventsHandler(vtkObject*
object,
unsigned long event,
152 void* clientdata,
void* calldata);