47 #ifndef __vtkInteractorObserver_h
48 #define __vtkInteractorObserver_h
75 void On() {this->SetEnabled(1);}
76 void Off() {this->SetEnabled(0);}
98 vtkSetClampMacro(Priority,
float,0.0f,1.0f);
99 vtkGetMacro(Priority,
float);
107 vtkSetMacro(KeyPressActivation,
int);
108 vtkGetMacro(KeyPressActivation,
int);
109 vtkBooleanMacro(KeyPressActivation,
int);
119 vtkSetMacro(KeyPressActivationValue,
char);
120 vtkGetMacro(KeyPressActivationValue,
char);
148 virtual void OnChar();
153 static void ComputeDisplayToWorld(
vtkRenderer *ren,
double x,
double y,
154 double z,
double worldPt[4]);
155 static void ComputeWorldToDisplay(
vtkRenderer *ren,
double x,
double y,
156 double z,
double displayPt[3]);
182 virtual void StartInteraction();
183 virtual void EndInteraction();
189 static void ProcessEvents(
vtkObject*
object,
197 void ComputeDisplayToWorld(
double x,
double y,
double z,
199 void ComputeWorldToDisplay(
double x,
double y,
double z,
200 double displayPt[3]);
229 int RequestCursorShape(
int requestedShape);