Mobile device location class declaration.
Mobile device rotation class declaration.
int SLSceneID
Scene identifier.
typedef void(SL_STDCALL *cbOnImGuiBuild)(SLScene *s
Callback function typedef for ImGui build function.
SLScene SLSceneView SLint sceneID
vector< SLSceneView * > SLVSceneView
Top level class for the major global instances off an SLProject app.
static void handleParallelJob()
Starts parallel job if one is queued.
static SLstring asciiLabel
SLProject ascii label string.
static const string CALIB_FTP_HOST
ftp host for calibration up and download
static CVCalibrationEstimator * calibrationEstimator
static SLstring version
SLProject version string.
static SLDeviceRotation devRot
Mobile device rotation from IMU.
static int jobProgressMax()
static SLstring name
Application name.
static void registerCoreAssetsLoad()
static SLIOBuffer fontDataProp
static const string CALIB_FTP_USER
ftp login user for calibration up and download
static SLstring fontPath
Path to font images.
static atomic< int > _jobProgressMax
Max. integer progress value.
static deque< function< void(void)> > jobsToBeThreaded
Queue of functions to be executed in a thread.
static const string CALIB_FTP_DIR
ftp directory for calibration up and download
static SLstring configPath
Default path for calibration files.
static SLstring calibIniPath
That's where data/calibrations folder is located.
static optional< SLSceneID > sceneToLoad
Scene id to load at start up.
static string jobProgressMsg()
Thread-safe getter of the progress message.
static string _jobProgressMsg
Text message to show during progress.
static SLAssetManager * assetManager
asset manager is the owner of all assets
static SLstring exePath
executable root path
static const string CALIB_FTP_PWD
ftp login pwd for calibration up and download
static SLstring gitCommit
Current GIT commit short hash id.
static atomic< bool > jobIsRunning
True if a parallel job is running.
static SLDeviceLocation devLoc
Mobile device location from GPS.
static SLUiInterface * gui
Pointer to the GUI.
static const string PROFILE_FTP_DIR
ftp directory for profiles upload
static SLstring modelPath
Path to 3D models.
static SLstring gitBranch
Current GIT branch.
static int jobProgressNum()
static atomic< int > _jobProgressNum
Integer value to show progress.
static SLVSceneView sceneViews
Vector of sceneview pointers.
static SLIOBuffer fontDataFixed
static SLstring texturePath
Path to texture images.
static deque< function< void(void)> > jobsToFollowInMain
Queue of function to follow in the main thread.
static void onDoneLoading(SLSceneView *sv, SLScene *s, SLfloat startLoadMS)
static void switchScene(SLSceneView *sv, SLSceneID sceneID)
static CVCalibrationEstimatorParams calibrationEstimatorParams
static SLstring videoPath
Path to video files.
static SLstring gitDate
Current GIT commit date.
static SLstring configuration
Debug or Release configuration.
static void jobProgressMax(int max)
static void createApp(SLstring appName)
Application creation function.
static SLstring shaderPath
Path to GLSL shader programs.
static SLAssetLoader * assetLoader
Asset-loader for async asset loading.
static SLInputManager inputManager
Input events manager.
static void onDoneAssembling(SLSceneView *sv, SLScene *s, SLfloat startLoadMS)
static mutex _jobMutex
Mutex to protect parallel access.
static SLstring appTag
Tag string used in logging.
static SLstring externalPath
Default path for external file storage.
static SLSceneID sceneID
ID of currently loaded scene.
static void jobProgressNum(int num)
static SLScene * scene
Pointer to the one and only SLScene instance.
static map< string, string > deviceParameter
Generic device parameter.
static SLstring calibFilePath
That's where calibrations are stored and loaded from.
static SLstring dataPath
Path to data directory (it is set platform dependent)
static void deleteApp()
Calls the destructor of the single scene instance.
Toplevel holder of the assets meshes, materials, textures and shaders.
Encapsulation of a mobile device location set by the device's GPS sensor.
Encapsulation of a mobile device rotation set by the device's IMU sensor.
ImGui Interface class for forwarding all events to the original ImGui Handlers.
The SLScene class represents the top level instance holding the scene structure.
SceneView class represents a dynamic real time 3D view onto the scene.
Interface for ui integration in SLSceneView.
Utility struct that holds a pointer and its length.