 |
VTK
9.0.1
|
Go to the documentation of this file.
36 #ifndef vtkAndroidRenderWindowInteractor_h
37 #define vtkAndroidRenderWindowInteractor_h
40 #include "vtkRenderingUIModule.h"
88 static void SetClassExitMethod(
void (*f)(
void*),
void* arg);
89 static void SetClassExitMethodArgDelete(
void (*f)(
void*));
103 void HandleKeyEvent(
bool down,
int nChar,
int metaState,
int nRepCnt);
108 void HandleMotionEvent(
109 int actionType,
int actionId,
int numPtrs,
int* xPtr,
int* yPtr,
int* idPtr,
int metaState);
116 void HandleCommand(int32_t cmd);
117 int32_t HandleInput(AInputEvent* event);
137 static void (*ClassExitMethod)(
void*);
138 static void (*ClassExitMethodArgDelete)(
void*);
static vtkRenderWindowInteractor * New()
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual void StartEventLoop()
Run the event loop (does not return until TerminateApp is called).
virtual int InternalDestroyTimer(int platformTimerId)
const char ** KeyCodeToKeySymTable
struct android_app * AndroidApplication
virtual void SetAndroidApplication(struct android_app *app)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual char * GetKeySym()
a simple class to control print indentation
platform-independent render window interaction including picking and frame rate control.
virtual void ExitCallback()
These methods correspond to the Exit, User and Pick callbacks.
virtual void TerminateApp(void)
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...
virtual void Enable()
Enable/Disable interactions.
virtual void Initialize()
Prepare for handling events and set the Enabled flag to true.
static void * ClassExitMethodArg
implements Win32 specific functions required by vtkRenderWindowInteractor.