MaxstARSDK
All Classes Files Functions Variables Enumerations Enumerator Macros
MasBackgroundRenderer.h
Go to the documentation of this file.
1 //
2 // MasBackgroundRenderer.h
3 // MaxstAR
4 //
5 // Created by Kimseunglee on 2017. 11. 23..
6 // Copyright © 2017년 Maxst. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "MasBackgroundTexture.h"
11 
17 @interface MasBackgroundRenderer : NSObject
18 
28 typedef NS_OPTIONS(NSUInteger, MasRenderingOption)
29 {
32  AXIS_RENDERER = 0x04,
35 };
36 
41 - (void) setRenderingOption:(MasRenderingOption) option;
42 
48 - (void) setClippingPlane:(float) nearClipPlane Far:(float) farClipPlane;
49 
55 
60 - (void) begin:(MasBackgroundTexture*)texture;
61 
66 
70 - (void) end;
71 
72 @end
Do background rendering. Background rendering includes camera image, feature point, slam initialization progress bar, watermark, surface mesh.
Definition: MasBackgroundRenderer.h:17
Definition: MasBackgroundRenderer.h:34
void renderBackgroundToTexture()
Render background to BackgroundTexture. Background can include camera image, feature point...
MasBackgroundTexture * getBackgroundTexture()
Get texture for background rendering.
MasRenderingOption
Additional rendering option. Slam feature point, Surface mesh, etc. FEATURE_RENDERER Feature point r...
Definition: MasBackgroundRenderer.h:28
Definition: MasBackgroundRenderer.h:30
void end()
End background rendering to BackgroundTexture.
Contains information of background rendering texture.
Definition: MasBackgroundTexture.h:14
Definition: MasBackgroundRenderer.h:31
Definition: MasBackgroundRenderer.h:33
Definition: MasBackgroundRenderer.h:32