![]() |
SLProject 4.0.000
|
#include <SLScene.h>#include <SLSceneView.h>#include <CVCapture.h>#include <CVTracked.h>#include <CVTrackedAruco.h>#include <SLGLTexture.h>#include <CVCalibrationEstimator.h>#include <AppDemoSceneView.h>#include <AppDemo.h>#include <GlobalTimer.h>#include <Profiler.h>#include <FtpUtils.h>Functions | |
| void | updateTrackingSceneCamera (CVCamera *ac) |
| void | runCalibrationEstimator (CVCamera *ac, SLScene *s, SLSceneView *sv) |
| void | ensureValidCalibration (CVCamera *ac, SLSceneView *sv) |
| logic that ensures that we have a valid calibration state More... | |
| bool | onUpdateVideo () |
| Implements the update per frame for video update and feature tracking. More... | |
Variables | |
| SLGLTexture * | videoTexture = nullptr |
| CVTracked * | tracker = nullptr |
| SLNode * | trackedNode = nullptr |
| void ensureValidCalibration | ( | CVCamera * | ac, |
| SLSceneView * | sv | ||
| ) |
logic that ensures that we have a valid calibration state
| bool onUpdateVideo | ( | ) |
Implements the update per frame for video update and feature tracking.
This routine is called once per frame before any other update within the the main rendering loop (see: AppDemoMainGLFW::onPaint or GLES3View::onDrawFrame). See the documentation within SLCVTracked and in all of its inheritants.
| void runCalibrationEstimator | ( | CVCamera * | ac, |
| SLScene * | s, | ||
| SLSceneView * | sv | ||
| ) |
| void updateTrackingSceneCamera | ( | CVCamera * | ac | ) |
| SLNode* trackedNode = nullptr |
Global pointer to a node that from witch the tracker changes the pose. it gets updated in the following onUpdateTracking routine
| CVTracked* tracker = nullptr |
Global pointer for a tracker that is set in AppDemoLoad for video scenes It gets updated in the following onUpdateTracking routine
| SLGLTexture* videoTexture = nullptr |
Global pointer for the video texture defined in AppDemoLoad for video scenes It gets updated in the following onUpdateTracking routine