51 #ifndef vtkInteractorObserver_h
52 #define vtkInteractorObserver_h
55 #include "vtkRenderingCoreModule.h"
83 void On() { this->SetEnabled(1); }
84 void Off() { this->SetEnabled(0); }
110 vtkSetClampMacro(Priority,
float, 0.0f, 1.0f);
111 vtkGetMacro(Priority,
float);
119 vtkBooleanMacro(PickingManaged,
bool);
120 virtual void SetPickingManaged(
bool managed);
121 vtkGetMacro(PickingManaged,
bool);
144 vtkSetMacro(KeyPressActivationValue,
char);
145 vtkGetMacro(KeyPressActivationValue,
char);
180 virtual void OnChar();
187 static void ComputeDisplayToWorld(
188 vtkRenderer* ren,
double x,
double y,
double z,
double worldPt[4]);
189 static void ComputeWorldToDisplay(
190 vtkRenderer* ren,
double x,
double y,
double z,
double displayPt[3]);
218 virtual void StartInteraction();
219 virtual void EndInteraction();
225 static void ProcessEvents(
226 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
232 void ComputeDisplayToWorld(
double x,
double y,
double z,
double worldPt[4]);
233 void ComputeWorldToDisplay(
double x,
double y,
double z,
double displayPt[3]);
255 virtual void RegisterPickers();
260 void UnRegisterPickers();
290 int RequestCursorShape(
int requestedShape);