MaxstARSDK
maxstAR.BackgroundRenderer Class Reference

Do background rendering. Background rendering includes camera image, feature point, slam initialization progress bar, watermark, surface mesh More...

Collaboration diagram for maxstAR.BackgroundRenderer:
Collaboration graph

Public Types

enum  RenderingOption {
  RenderingOption.FEATURE_RENDERER = 0x01, RenderingOption.PROGRESS_RENDERER = 0x02, RenderingOption.AXIS_RENDERER = 0x04, RenderingOption.SURFACE_MESH_RENDERER = 0x08,
  RenderingOption.VIEW_FINDER_RENDERER = 0x10
}
 Additional rendering option in native rendering. Slam feature point, Surface mesh, etc. (Supported only Opengl mode(ES20, ES30, GLCore)) 1 : Feature point rendering.(Object Tracker and Visual SLAM) 2 : Creating slam map progress rendering.(Visual SLAM only) 4 : Slam initial pose coordinate rendering.(Code Tracker is not supported) 8 : Slam surface mesh rendering.(Object Tracker and Visual SLAM) 10 : Scan view finder rendering.(Code Tracker Only) More...
 

Public Member Functions

void SetRenderingOption (params RenderingOption [] options)
 Set additional rendering option. Slam feature point, Surface mesh, etc. Should be called after initRendering More...
 
void SetClippingPlane (float nearClipPlane, float farClipPlane)
 Set view frustrum's near and far clipping plane distance. More...
 

Static Public Member Functions

static BackgroundRenderer GetInstance ()
 Get a BackgroundRenderer instance. More...
 

Detailed Description

Do background rendering. Background rendering includes camera image, feature point, slam initialization progress bar, watermark, surface mesh

Member Enumeration Documentation

◆ RenderingOption

Additional rendering option in native rendering. Slam feature point, Surface mesh, etc. (Supported only Opengl mode(ES20, ES30, GLCore)) 1 : Feature point rendering.(Object Tracker and Visual SLAM) 2 : Creating slam map progress rendering.(Visual SLAM only) 4 : Slam initial pose coordinate rendering.(Code Tracker is not supported) 8 : Slam surface mesh rendering.(Object Tracker and Visual SLAM) 10 : Scan view finder rendering.(Code Tracker Only)

Enumerator
FEATURE_RENDERER 

Show feature point

PROGRESS_RENDERER 

Show slam initialization progress bar

AXIS_RENDERER 

Show slam initial pose coordinate axis

SURFACE_MESH_RENDERER 

Show slam surface mesh

VIEW_FINDER_RENDERER 

Code scan view finder rendering

Member Function Documentation

◆ GetInstance()

static BackgroundRenderer maxstAR.BackgroundRenderer.GetInstance ( )
static

Get a BackgroundRenderer instance.

Returns
Return the BackgroundRenderer instance
Here is the caller graph for this function:

◆ SetClippingPlane()

void maxstAR.BackgroundRenderer.SetClippingPlane ( float  nearClipPlane,
float  farClipPlane 
)

Set view frustrum's near and far clipping plane distance.

Parameters
nearClipPlanenear clipping plane distance
farClipPlanefar end of camera frustum over which background is rendered
Here is the caller graph for this function:

◆ SetRenderingOption()

void maxstAR.BackgroundRenderer.SetRenderingOption ( params RenderingOption []  options)

Set additional rendering option. Slam feature point, Surface mesh, etc. Should be called after initRendering

Parameters
optionsRenderingOption values

The documentation for this class was generated from the following file: