47 #ifndef __vtkInteractorObserver_h
48 #define __vtkInteractorObserver_h
75 void On() {this->SetEnabled(1);}
76 void Off() {this->SetEnabled(0);}
98 vtkSetClampMacro(Priority,
float,0.0f,1.0f);
99 vtkGetMacro(Priority,
float);
107 vtkSetMacro(KeyPressActivation,
int);
108 vtkGetMacro(KeyPressActivation,
int);
109 vtkBooleanMacro(KeyPressActivation,
int);
119 vtkSetMacro(KeyPressActivationValue,
char);
120 vtkGetMacro(KeyPressActivationValue,
char);
148 virtual void OnChar();
153 static void ComputeDisplayToWorld(
vtkRenderer *ren,
double x,
double y,
154 double z,
double worldPt[4]);
155 static void ComputeWorldToDisplay(
vtkRenderer *ren,
double x,
double y,
156 double z,
double displayPt[3]);
182 virtual void StartInteraction();
183 virtual void EndInteraction();
189 static void ProcessEvents(
vtkObject*
object,
197 void ComputeDisplayToWorld(
double x,
double y,
double z,
199 void ComputeWorldToDisplay(
double x,
double y,
double z,
200 double displayPt[3]);
229 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 simple class to control print indentation
vtkCallbackCommand * KeyPressCallbackCommand
unsigned long CharObserverTag
char KeyPressActivationValue
vtkRenderer * DefaultRenderer
vtkRenderWindowInteractor * Interactor
vtkCallbackCommand * EventCallbackCommand