//
//  ALFaceFittingView.h
//  GMAlpha
//
//  Created by Jing on 2018/11/26.
//  Copyright © 2018 Gengmei. All rights reserved.
//

#import <UIKit/UIKit.h>
#include "SDKHelper.h"

@class ALFaceFittingView;
@protocol ALFaceFittingViewDelegate <NSObject>

@required
- (void)rescanInFaceFittingView:(ALFaceFittingView *)view;
- (void)fittingInFaceFittingView:(ALFaceFittingView *)view;
- (void)gridInFaceFittingView:(ALFaceFittingView *)view;
@end

@interface ALFaceFittingView : UIView
@property (nonatomic, strong) SDKHelper *sdkHelper;
@property (nonatomic, weak) id<ALFaceFittingViewDelegate> delegate;
- (void)reloadData;
// 点击去拟合
- (void)modifyDetails;
//将要去修改
- (void)willModifyDetailsAtFilePath:(NSString *)filePath starUV:(NSString *)starUV;
- (void)refreshObj:(NSString *)goalObjPath startUv:(NSString *)goalStarUV;

@property (nonatomic, assign) BOOL isGrid;
@end
