![]()  | 
  
    SLProject
    4.2.000
    
   A platform independent 3D computer graphics framework for desktop OS,  Android,  iOS and online in web browsers 
   | 
 
Implements app functionality (e.g. scene description, which camera, how to start and use WAISlam) More...
#include <WAIAppTest.h>
Public Types | |
| using | CloseAppCallback = std::function< void()> | 
Public Member Functions | |
| WAIApp () | |
| void | init (int screenWidth, int screenHeight, int screenDpi, AppDirectories directories) | 
| void | initCloseAppCallback (CloseAppCallback cb) | 
| void | initCamera (SENSCamera *camera) | 
| bool | update () | 
| void | close () | 
| void | goBack () | 
  Public Member Functions inherited from SLInputEventInterface | |
| SLInputEventInterface (SLInputManager &inputManager) | |
| void | resize (int sceneViewIndex, int width, int height) | 
| void | updateScr2fb (int sceneViewIndex) | 
| void | mouseDown (int sceneViewIndex, SLMouseButton button, int x, int y, SLKey modifier) | 
| void | mouseMove (int sceneViewIndex, int x, int y) | 
| void | mouseUp (int sceneViewIndex, SLMouseButton button, int x, int y, SLKey modifier) | 
| void | doubleClick (int sceneViewIndex, SLMouseButton button, int x, int y, SLKey modifier) | 
| void | touch2Down (int sceneViewIndex, int x1, int y1, int x2, int y2) | 
| void | touch2Move (int sceneViewIndex, int x1, int y1, int x2, int y2) | 
| void | touch2Up (int sceneViewIndex, int x1, int y1, int x2, int y2) | 
| void | mouseWheel (int sceneViewIndex, int pos, SLKey modifier) | 
| void | keyPress (int sceneViewIndex, SLKey key, SLKey modifier) | 
| void | keyRelease (int sceneViewIndex, SLKey key, SLKey modifier) | 
| void | charInput (int sceneViewIndex, unsigned int character) | 
| void | longTouch (int sceneViewIndex, int x, int y) | 
| void | scrCaptureRequest (int sceneViewIndex, std::string outputPath) | 
Private Member Functions | |
| void | initSceneCamera () | 
| void | initDirectories (AppDirectories directories) | 
| void | initSceneGraph (int scrWidth, int scrHeight, int dpi) | 
| void | initIntroScene () | 
| void | deleteSceneGraph () | 
Private Attributes | |
| SENSCamera * | _camera = nullptr | 
| SLSceneView * | _sv = nullptr | 
| SLCamera * | _sceneCamera = nullptr | 
| SLGLTexture * | _videoImage = nullptr | 
| AppDirectories | _dirs | 
| CloseAppCallback | _closeAppCallback | 
| bool | _goBackRequested = false | 
| bool | _initSceneGraphDone = false | 
| bool | _initIntroSceneDone = false | 
Implements app functionality (e.g. scene description, which camera, how to start and use WAISlam)
Definition at line 23 of file WAIAppTest.h.
| using WAIApp::CloseAppCallback = std::function<void()> | 
Definition at line 26 of file WAIAppTest.h.
| WAIApp::WAIApp | ( | ) | 
Definition at line 30 of file WAIAppTest.cpp.
| void WAIApp::close | ( | ) | 
Definition at line 196 of file WAIAppTest.cpp.
      
  | 
  private | 
Definition at line 210 of file WAIAppTest.cpp.
| void WAIApp::goBack | ( | ) | 
Definition at line 203 of file WAIAppTest.cpp.
| void WAIApp::init | ( | int | screenWidth, | 
| int | screenHeight, | ||
| int | screenDpi, | ||
| AppDirectories | directories | ||
| ) | 
Definition at line 35 of file WAIAppTest.cpp.
| void WAIApp::initCamera | ( | SENSCamera * | camera | ) | 
Definition at line 58 of file WAIAppTest.cpp.
| void WAIApp::initCloseAppCallback | ( | CloseAppCallback | cb | ) | 
Definition at line 53 of file WAIAppTest.cpp.
      
  | 
  private | 
Definition at line 80 of file WAIAppTest.cpp.
      
  | 
  private | 
Definition at line 236 of file WAIAppTest.cpp.
      
  | 
  private | 
Definition at line 220 of file WAIAppTest.cpp.
      
  | 
  private | 
Definition at line 93 of file WAIAppTest.cpp.
| bool WAIApp::update | ( | ) | 
Definition at line 124 of file WAIAppTest.cpp.
      
  | 
  private | 
Definition at line 52 of file WAIAppTest.h.
      
  | 
  private | 
Definition at line 61 of file WAIAppTest.h.
      
  | 
  private | 
Definition at line 58 of file WAIAppTest.h.
      
  | 
  private | 
Definition at line 63 of file WAIAppTest.h.
      
  | 
  private | 
Definition at line 65 of file WAIAppTest.h.
      
  | 
  private | 
Definition at line 64 of file WAIAppTest.h.
      
  | 
  private | 
Definition at line 55 of file WAIAppTest.h.
      
  | 
  private | 
Definition at line 54 of file WAIAppTest.h.
      
  | 
  private | 
Definition at line 56 of file WAIAppTest.h.