36 consumedEvents |= device->poll();
38 return consumedEvents;
57 SLbool eventConsumed =
false;
155 SLstring pathFilename = path + filename;
167 return eventConsumed;
Specialized SLInput class for all keypress related input events.
Specialized SLInput class for all mouse related input events.
Specialized SLInput class for window resize events.
SceneView class represents a dynamic real time 3D view onto the scene.
virtual SLbool onDoubleClick(SLMouseButton button, SLint x, SLint y, SLKey mod)
virtual SLbool onCharInput(SLuint c)
void onResize(SLint width, SLint height)
virtual SLbool onMouseMove(SLint x, SLint y)
virtual SLbool onKeyRelease(SLKey key, SLKey mod)
void saveFrameBufferAsImage(SLstring pathFilename, cv::Size targetSize=cv::Size(-1, -1))
Saves after n wait frames the front frame buffer as a PNG image.
virtual SLbool onMouseWheel(SLint delta, SLKey mod)
virtual SLbool onTouch2Move(SLint scrX1, SLint scrY1, SLint scrX2, SLint scrY2)
virtual SLbool onMouseUp(SLMouseButton button, SLint scrX, SLint scrY, SLKey mod)
virtual SLbool onKeyPress(SLKey key, SLKey mod)
virtual SLbool onMouseDown(SLMouseButton button, SLint scrX, SLint scrY, SLKey mod)
virtual SLbool onTouch2Up(SLint scrX1, SLint scrY1, SLint scrX2, SLint scrY2)
virtual SLbool onTouch2Down(SLint scrX1, SLint scrY1, SLint scrX2, SLint scrY2)
Specialized SLInput class to trigger a screen capture.
Specialized SLInput class for touch related input events.
string getDateTime2String()
Returns local time as string like "20190213-154611".
bool dirExists(const string &path)
Returns true if a directory exists.
bool makeDirRecurse(std::string path)