Go to the documentation of this file.
45 #ifndef vtkInteractorObserver_h
46 #define vtkInteractorObserver_h
48 #include "vtkRenderingCoreModule.h"
77 void On() {this->SetEnabled(1);}
78 void Off() {this->SetEnabled(0);}
104 vtkSetClampMacro(Priority,
float,0.0f,1.0f);
105 vtkGetMacro(Priority,
float);
115 vtkGetMacro(PickingManaged,
bool);
126 vtkGetMacro(KeyPressActivation,
int);
139 vtkGetMacro(KeyPressActivationValue,
char);
174 virtual void OnChar();
181 static void ComputeDisplayToWorld(
vtkRenderer *ren,
double x,
double y,
182 double z,
double worldPt[4]);
183 static void ComputeWorldToDisplay(
vtkRenderer *ren,
double x,
double y,
184 double z,
double displayPt[3]);
212 virtual void StartInteraction();
213 virtual void EndInteraction();
219 static void ProcessEvents(
vtkObject*
object,
228 void ComputeDisplayToWorld(
double x,
double y,
double z,
230 void ComputeWorldToDisplay(
double x,
double y,
double z,
231 double displayPt[3]);
253 virtual void RegisterPickers();
258 void UnRegisterPickers();
264 virtual void PickersModified();
295 int RequestCursorShape(
int requestedShape);
superclass for callback/observer methods
char KeyPressActivationValue
vtkCallbackCommand * EventCallbackCommand
unsigned long DeleteObserverTag
abstract base class for most VTK objects
unsigned long CharObserverTag
a list of nodes that form an assembly path
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
a simple class to control print indentation
vtkRenderer * CurrentRenderer
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
platform-independent render window interaction including picking and frame rate control.
abstract API for pickers that can pick an instance of vtkProp
vtkRenderer * DefaultRenderer
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkRenderWindowInteractor * Interactor
abstract specification for renderers
supports function callbacks
vtkCallbackCommand * KeyPressCallbackCommand
vtkObserverMediator * ObserverMediator