Go to the documentation of this file.
37 #ifndef vtkInteractorEventRecorder_h
38 #define vtkInteractorEventRecorder_h
40 #include "vtkRenderingCoreModule.h"
59 vtkSetStringMacro(FileName);
91 vtkGetMacro(ReadFromInputString,
int);
99 vtkSetStringMacro(InputString);
123 void* clientdata,
void* calldata);
125 void* clientdata,
void* calldata);
127 void* clientdata,
void* calldata);
129 virtual void WriteEvent(
const char* event,
int pos[2],
int ctrlKey,
130 int shiftKey,
int keyCode,
int repeatCount,
record and play VTK events passing through a vtkRenderWindowInteractor
static void ProcessDeleteEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
static float StreamVersion
abstract base class for most VTK objects
vtkInteractorEventRecorder()
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
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
virtual void SetInteractor(vtkRenderWindowInteractor *iren)
This method is used to associate the widget with the render window interactor.
vtkCallbackCommand * DeleteEventCallbackCommand
void Play()
Invoke this method to begin playing events from the current position.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
platform-independent render window interaction including picking and frame rate control.
static void ProcessCharEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void Stop()
Invoke this method to stop recording/playing events.
void Record()
Invoke this method to begin recording events.
void Rewind()
Rewind to the beginning of the file.
virtual void WriteEvent(const char *event, int pos[2], int ctrlKey, int shiftKey, int keyCode, int repeatCount, char *keySym)
~vtkInteractorEventRecorder()
supports function callbacks
static vtkInteractorEventRecorder * New()