48 #ifndef vtkInteractorObserver_h 49 #define vtkInteractorObserver_h 52 #include "vtkRenderingCoreModule.h" 80 void On() { this->SetEnabled(1); }
81 void Off() { this->SetEnabled(0); }
107 vtkSetClampMacro(Priority,
float, 0.0f, 1.0f);
108 vtkGetMacro(Priority,
float);
116 vtkBooleanMacro(PickingManaged,
bool);
117 virtual void SetPickingManaged(
bool managed);
118 vtkGetMacro(PickingManaged,
bool);
141 vtkSetMacro(KeyPressActivationValue,
char);
142 vtkGetMacro(KeyPressActivationValue,
char);
177 virtual void OnChar();
184 static void ComputeDisplayToWorld(
185 vtkRenderer* ren,
double x,
double y,
double z,
double worldPt[4]);
186 static void ComputeWorldToDisplay(
187 vtkRenderer* ren,
double x,
double y,
double z,
double displayPt[3]);
215 virtual void StartInteraction();
216 virtual void EndInteraction();
222 static void ProcessEvents(
223 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
229 void ComputeDisplayToWorld(
double x,
double y,
double z,
double worldPt[4]);
230 void ComputeWorldToDisplay(
double x,
double y,
double z,
double displayPt[3]);
252 virtual void RegisterPickers();
257 void UnRegisterPickers();
287 int RequestCursorShape(
int requestedShape);
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