//
//  ARCaptureView.h
//  UnretekFace3D
//
//  Created by JasWorkSpace on 2018/9/20.
//  Copyright © 2018年 JasWorkSpace. All rights reserved.
//

#ifndef ARCaptureView_h
#define ARCaptureView_h

#import <UIKit/UIKit.h>
#include "Unre3DAR3DCaptureInfo.h"
#include "AR3DCapture.h"

@protocol ARCaptureViewDegelate
- (BOOL) onCaptureFinish:(Unre3DAR3DCaptureInfo *)captureinfo;
- (void) onCaptureStateChangeOldState:(AR3DCAPTURESTATETYPE)oldstate andNewState:(AR3DCAPTURESTATETYPE) newstate;
@end
////////////////
@interface ARCaptureView : UIView
@property(nonatomic,assign) BOOL debug;
@property(nonatomic,weak)id<ARCaptureViewDegelate> delegate;
///////////
- (void) viewWillAppear:(BOOL)animated;
- (void) viewDidAppear:(BOOL)animated;
- (void) viewDidDisappear:(BOOL)animated;
- (void) viewWillDisappear:(BOOL)animated;
/////////////////////////////////////////
- (BOOL) captureARKit;
- (BOOL) onCaptureFinish:(Unre3DAR3DCaptureInfo *)captureinfo;
- (void) onCaptureStateChangeOldState:(AR3DCAPTURESTATETYPE)oldstate andNewState:(AR3DCAPTURESTATETYPE) newstate;
@end
#endif /* ARCaptureView_h */
