36#ifndef vtkAndroidRenderWindowInteractor_h
37#define vtkAndroidRenderWindowInteractor_h
40#include "vtkRenderingUIModule.h"
109 int actionType,
int actionId,
int numPtrs,
int* xPtr,
int* yPtr,
int* idPtr,
int metaState);
123 vtkSetMacro(OwnWindow,
bool);
124 vtkGetMacro(OwnWindow,
bool);
145 static void (*ClassExitMethod)(
void*);
146 static void (*ClassExitMethodArgDelete)(
void*);
implements Win32 specific functions required by vtkRenderWindowInteractor.
void TerminateApp(void) override
Android specific application terminate, calls ClassExitMethod then calls PostQuitMessage(0) to termin...
vtkAndroidRenderWindowInteractor()
static void * ClassExitMethodArg
Class variables so an exit method can be defined for this class (used to set different exit methods f...
void HandleCommand(int32_t cmd)
~vtkAndroidRenderWindowInteractor() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ExitCallback() override
These methods correspond to the Exit, User and Pick callbacks.
void HandleKeyEvent(bool down, int nChar, int metaState, int nRepCnt)
Handle key up/down events.
int InternalDestroyTimer(int platformTimerId) override
Win32-specific internal timer methods.
void HandleMotionEvent(int actionType, int actionId, int numPtrs, int *xPtr, int *yPtr, int *idPtr, int metaState)
Handle motion events.
const char * GetKeySym(int keyCode)
used for converting keyCodes on Android
void Enable() override
Enable/Disable interactions.
static vtkAndroidRenderWindowInteractor * New()
Construct object so that light follows camera motion.
void Initialize() override
Initialize the event handler.
const char ** KeyCodeToKeySymTable
void StartEventLoop() override
This will start up the event loop and never return.
virtual void SetAndroidApplication(struct android_app *app)
static void SetClassExitMethod(void(*f)(void *), void *arg)
Methods to set the default exit method for the class.
static void SetClassExitMethodArgDelete(void(*f)(void *))
Methods to set the default exit method for the class.
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
Win32-specific internal timer methods.
int32_t HandleInput(AInputEvent *event)
void Disable() override
Enable/Disable interactions.
struct android_app * AndroidApplication
a simple class to control print indentation
platform-independent render window interaction including picking and frame rate control.