 |
VTK
9.1.0
|
Go to the documentation of this file.
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*);
int InternalDestroyTimer(int platformTimerId) override
Win32-specific internal timer methods.
void Enable() override
Enable/Disable interactions.
void ExitCallback() override
These methods correspond to the Exit, User and Pick callbacks.
~vtkAndroidRenderWindowInteractor() override
const char ** KeyCodeToKeySymTable
vtkAndroidRenderWindowInteractor()
struct android_app * AndroidApplication
void HandleMotionEvent(int actionType, int actionId, int numPtrs, int *xPtr, int *yPtr, int *idPtr, int metaState)
Handle motion events.
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
Win32-specific internal timer methods.
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.
void Disable() override
Enable/Disable interactions.
void StartEventLoop() override
This will start up the event loop and never return.
a simple class to control print indentation
void HandleCommand(int32_t cmd)
platform-independent render window interaction including picking and frame rate control.
const char * GetKeySym(int keyCode)
used for converting keyCodes on Android
int32_t HandleInput(AInputEvent *event)
void HandleKeyEvent(bool down, int nChar, int metaState, int nRepCnt)
Handle key up/down events.
void Initialize() override
Initialize the event handler.
static vtkAndroidRenderWindowInteractor * New()
Construct object so that light follows camera motion.
void TerminateApp(void) override
Android specific application terminate, calls ClassExitMethod then calls PostQuitMessage(0) to termin...
static void * ClassExitMethodArg
Class variables so an exit method can be defined for this class (used to set different exit methods f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
implements Win32 specific functions required by vtkRenderWindowInteractor.