47 #ifndef vtkInteractorObserver_h
48 #define vtkInteractorObserver_h
78 void On() {this->SetEnabled(1);}
79 void Off() {this->SetEnabled(0);}
102 vtkSetClampMacro(Priority,
float,0.0f,1.0f);
103 vtkGetMacro(Priority,
float);
109 vtkBooleanMacro(PickingManaged,
bool);
110 vtkSetMacro(PickingManaged,
bool);
111 vtkGetMacro(PickingManaged,
bool);
119 vtkSetMacro(KeyPressActivation,
int);
120 vtkGetMacro(KeyPressActivation,
int);
121 vtkBooleanMacro(KeyPressActivation,
int);
131 vtkSetMacro(KeyPressActivationValue,
char);
132 vtkGetMacro(KeyPressActivationValue,
char);
161 virtual void OnChar();
166 static void ComputeDisplayToWorld(
vtkRenderer *ren,
double x,
double y,
167 double z,
double worldPt[4]);
168 static void ComputeWorldToDisplay(
vtkRenderer *ren,
double x,
double y,
169 double z,
double displayPt[3]);
195 virtual void StartInteraction();
196 virtual void EndInteraction();
202 static void ProcessEvents(
vtkObject*
object,
210 void ComputeDisplayToWorld(
double x,
double y,
double z,
212 void ComputeWorldToDisplay(
double x,
double y,
double z,
213 double displayPt[3]);
232 virtual void RegisterPickers();
235 void UnRegisterPickers();
239 virtual void PickersModified();
269 int RequestCursorShape(
int requestedShape);
abstract base class for most VTK objects
vtkObserverMediator * ObserverMediator
virtual void SetEnabled(int)
unsigned long DeleteObserverTag
vtkRenderer * CurrentRenderer
abstract specification for renderers
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor ...
platform-independent render window interaction including picking and frame rate control.
superclass for callback/observer methods
supports function callbacks
virtual void PrintSelf(ostream &os, vtkIndent indent)
a list of nodes that form an assembly path
a simple class to control print indentation
vtkCallbackCommand * KeyPressCallbackCommand
unsigned long CharObserverTag
abstract API for pickers that can pick an instance of vtkProp
char KeyPressActivationValue
#define VTKRENDERINGCORE_EXPORT
vtkRenderer * DefaultRenderer
vtkRenderWindowInteractor * Interactor
vtkCallbackCommand * EventCallbackCommand