39 #ifndef vtkInteractorObserver_h
40 #define vtkInteractorObserver_h
43 #include "vtkRenderingCoreModule.h"
46 VTK_ABI_NAMESPACE_BEGIN
86 void On() { this->SetEnabled(1); }
87 void Off() { this->SetEnabled(0); }
100 vtkSetClampMacro(Priority,
float, 0.0f, 1.0f);
101 vtkGetMacro(Priority,
float);
109 vtkBooleanMacro(PickingManaged,
bool);
110 virtual void SetPickingManaged(
bool managed);
111 vtkGetMacro(PickingManaged,
bool);
134 vtkSetMacro(KeyPressActivationValue,
char);
135 vtkGetMacro(KeyPressActivationValue,
char);
170 virtual void OnChar();
177 static void ComputeDisplayToWorld(
178 vtkRenderer* ren,
double x,
double y,
double z,
double worldPt[4]);
179 static void ComputeWorldToDisplay(
180 vtkRenderer* ren,
double x,
double y,
double z,
double displayPt[3]);
208 virtual void StartInteraction();
209 virtual void EndInteraction();
215 static void ProcessEvents(
216 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
222 void ComputeDisplayToWorld(
double x,
double y,
double z,
double worldPt[4]);
223 void ComputeWorldToDisplay(
double x,
double y,
double z,
double displayPt[3]);
245 virtual void RegisterPickers();
250 void UnRegisterPickers();
280 int RequestCursorShape(
int requestedShape);
287 VTK_ABI_NAMESPACE_END
abstract base class for most VTK objects
Class defines API to manage the picking process.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObserverMediator * ObserverMediator
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
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
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
vtkRenderer * DefaultRenderer
vtkTypeBool KeyPressActivation
vtkRenderWindowInteractor * Interactor
vtkCallbackCommand * EventCallbackCommand