Do background rendering. Background rendering includes camera image, feature point, slam initialization progress bar, watermark, surface mesh.
More...
#include <BackgroundRenderer.h>
|
| enum | RenderingOption {
FEATURE_RENDERER = 0x01,
PROGRESS_RENDERER = 0x02,
AXIS_RENDERER = 0x04,
SURFACE_MESH_RENDERER = 0x08,
VIEW_FINDER_RENDERER = 0X10
} |
| | Additional rendering option. Slam feature point, Surface mesh, etc. 0x01 : Feature point rendering.(Object Tracker and Visual SLAM) 0x02 : Creating slam map progress rendering.(Visual SLAM only) 0x04 : Slam initial pose coordinate rendering.(Code Tracker is not supported) 0x08 : Slam surface mesh rendering.(Object Tracker and Visual SLAM) 0x10 : Scan view finder rendering.(Code Tracker Only) More...
|
| |
Do background rendering. Background rendering includes camera image, feature point, slam initialization progress bar, watermark, surface mesh.
◆ RenderingOption
Additional rendering option. Slam feature point, Surface mesh, etc. 0x01 : Feature point rendering.(Object Tracker and Visual SLAM) 0x02 : Creating slam map progress rendering.(Visual SLAM only) 0x04 : Slam initial pose coordinate rendering.(Code Tracker is not supported) 0x08 : Slam surface mesh rendering.(Object Tracker and Visual SLAM) 0x10 : Scan view finder rendering.(Code Tracker Only)
| Enumerator |
|---|
| FEATURE_RENDERER | |
| PROGRESS_RENDERER | |
| AXIS_RENDERER | |
| SURFACE_MESH_RENDERER | |
| VIEW_FINDER_RENDERER | |
◆ begin()
◆ end()
| virtual void maxstAR::BackgroundRenderer::end |
( |
| ) |
|
|
pure virtual |
◆ getBackgroundTexture()
Get texture for background rendering.
- Returns
- BackgroundTexture instance if texture created
◆ getInstance()
◆ renderBackgroundToTexture()
| virtual void maxstAR::BackgroundRenderer::renderBackgroundToTexture |
( |
| ) |
|
|
pure virtual |
Render background to BackgroundTexture. Background can include camera image, feature point, etc.
◆ setClippingPlane()
| virtual void maxstAR::BackgroundRenderer::setClippingPlane |
( |
float |
nearClipPlane, |
|
|
float |
farClipPlane |
|
) |
| |
|
pure virtual |
Set view frustrum's near and far clipping plane distance.
- Parameters
-
| nearClipPlane | near clipping plane distance |
| farClipPlane | far end of camera frustum over which background is rendered |
◆ setRenderingOption()
| virtual void maxstAR::BackgroundRenderer::setRenderingOption |
( |
int |
option = 0 | ) |
|
|
pure virtual |
Set background rendering option. Option can be multiple (FEATURE_RENDERER | SURFACE_MESH_RENDERER) Should be called after initRendering.
- Parameters
-
| 1 | : Feature point 2 : Slam initializing progress bar 4 : Slam pose coordinate 8 : Slam surface mesh |
The documentation for this class was generated from the following file: