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,
supports function callbacks
a simple class to control print indentation
record and play VTK events passing through a vtkRenderWindowInteractor
virtual void WriteEvent(const char *event, int pos[2], int ctrlKey, int shiftKey, int keyCode, int repeatCount, char *keySym)
void Record()
Invoke this method to begin recording events.
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
static void ProcessCharEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
void Rewind()
Rewind to the beginning of the file.
~vtkInteractorEventRecorder()
static float StreamVersion
void Play()
Invoke this method to begin playing events from the current position.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkInteractorEventRecorder()
virtual void SetInteractor(vtkRenderWindowInteractor *iren)
This method is used to associate the widget with the render window interactor.
void Stop()
Invoke this method to stop recording/playing events.
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
static void ProcessDeleteEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
vtkCallbackCommand * DeleteEventCallbackCommand
static vtkInteractorEventRecorder * New()
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor
abstract base class for most VTK objects
platform-independent render window interaction including picking and frame rate control.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.