Go to the documentation of this file.
37 #ifndef vtkInteractorEventRecorder_h
38 #define vtkInteractorEventRecorder_h
40 #include "vtkRenderingCoreModule.h"
59 vtkSetStringMacro(FileName);
60 vtkGetStringMacro(FileName);
99 vtkSetStringMacro(InputString);
100 vtkGetStringMacro(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 modifiers,
130 int keyCode,
int repeatCount,
char* keySym);
record and play VTK events passing through a vtkRenderWindowInteractor
~vtkInteractorEventRecorder() override
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
void SetEnabled(int) override
Methods for turning the interactor observer on and off, and determining its state.
virtual void WriteEvent(const char *event, int pos[2], int modifiers, int keyCode, int repeatCount, char *keySym)
a simple class to control print indentation
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
vtkCallbackCommand * DeleteEventCallbackCommand
void Play()
Invoke this method to begin playing events from the current position.
platform-independent render window interaction including picking and frame rate control.
static void ProcessCharEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
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.
supports function callbacks
vtkTypeBool ReadFromInputString
void SetInteractor(vtkRenderWindowInteractor *iren) override
This method is used to associate the widget with the render window interactor.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkInteractorEventRecorder * New()