34#ifndef vtkInteractorEventRecorder_h
35#define vtkInteractorEventRecorder_h
38#include "vtkRenderingCoreModule.h"
96 vtkSetStringMacro(InputString);
97 vtkGetStringMacro(InputString);
120 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
122 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
124 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
127 const char* event,
int pos[2],
int modifiers,
int keyCode,
int repeatCount,
char* keySym);
supports function callbacks
a simple class to control print indentation
record and play VTK events passing through a vtkRenderWindowInteractor
void Record()
Invoke this method to begin recording events.
vtkGetFilePathMacro(FileName)
Set/Get the name of a file events should be written to/from.
virtual void WriteEvent(const char *event, int pos[2], int modifiers, int keyCode, int repeatCount, char *keySym)
static void ProcessCharEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
void SetEnabled(int) override
Methods for turning the interactor observer on and off, and determining its state.
void Rewind()
Rewind to the beginning of the file.
static float StreamVersion
void Play()
Invoke this method to begin playing events from the current position.
void SetInteractor(vtkRenderWindowInteractor *iren) override
This method is used to associate the widget with the render window interactor.
vtkInteractorEventRecorder()
~vtkInteractorEventRecorder() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool ReadFromInputString
void Stop()
Invoke this method to stop recording/playing events.
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
vtkSetFilePathMacro(FileName)
Set/Get the name of a file events should be written to/from.
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.