 |
VTK
9.1.0
|
Go to the documentation of this file.
40 #ifndef vtkInteractorEventRecorder_h
41 #define vtkInteractorEventRecorder_h
44 #include "vtkRenderingCoreModule.h"
102 vtkSetStringMacro(InputString);
103 vtkGetStringMacro(InputString);
126 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
128 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
130 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
133 const char* event,
int pos[2],
int modifiers,
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)
vtkGetFilePathMacro(FileName)
Set/Get the name of a file events should be written to/from.
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)
vtkSetFilePathMacro(FileName)
Set/Get the name of a file events should be written to/from.
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()