//
//  OBJView.h
//  SDKDemo
//
//  Created by JasWorkSpace on 2018/10/19.
//  Copyright © 2018 JasWorkSpace. All rights reserved.
//

#ifndef OBJView_h
#define OBJView_h
#import "ALMatchingModel.h"
#import <UIKit/UIKit.h>
#include "SceneKitUtils.h"

@interface OBJView : UIView
@property(nonatomic,strong) SCNView * scnview;
@property(nonatomic,strong) NSString * objfilename;
@property(nonatomic,strong) NSString * meshfilename;
@property(nonatomic,strong) SCNNode  * faceheadname;
//////////
- (void) reload;
- (void) loadLocalFile:(NSString *) objfile andMesh:(NSString *) file;
///////////zhu
- (void) loadfaceScnnode:(SCNNode *) facehead andMesh:(NSString *) file;
//////////zhu
- (void) showHead:(SCNNode*)head;


- (void)loadMyOBjModel:(ALMatchingModel *)model;
//明星网格装拟合
- (void)reloadWithMyModel:(ALMatchingModel *)model andStarObj:(NSString *)starFile and3DNode:(SCNNode *)node;

@end

#endif /* OBJView_h */
