Adding ViroKit. Needs AWSCore :(
This commit is contained in:
46
mobile/ios/ViroKit.framework/Headers/VROARImageTargetiOS.h
Normal file
46
mobile/ios/ViroKit.framework/Headers/VROARImageTargetiOS.h
Normal file
@@ -0,0 +1,46 @@
|
||||
//
|
||||
// VROARImageTargetiOS.h
|
||||
// ViroKit
|
||||
//
|
||||
// Created by Andy Chu on 1/30/18.
|
||||
// Copyright © 2018 Viro Media. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef VROARImageTargetiOS_h
|
||||
#define VROARImageTargetiOS_h
|
||||
|
||||
#include "VROARImageTarget.h"
|
||||
#include <UIKit/UIKit.h>
|
||||
|
||||
@class ARReferenceImage;
|
||||
|
||||
class VROARImageTargetiOS : public VROARImageTarget {
|
||||
public:
|
||||
VROARImageTargetiOS(UIImage *sourceImage, VROImageOrientation orientation, float physicalWidth);
|
||||
|
||||
virtual ~VROARImageTargetiOS();
|
||||
|
||||
void initWithTrackingImpl(VROImageTrackingImpl impl);
|
||||
|
||||
UIImage *getSourceImage() {
|
||||
return _sourceImage;
|
||||
}
|
||||
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110300
|
||||
ARReferenceImage *getARReferenceImage();
|
||||
#endif
|
||||
private:
|
||||
UIImage *_sourceImage;
|
||||
VROImageOrientation _orientation;
|
||||
float _physicalWidth;
|
||||
|
||||
VROImageTrackingImpl _currentImpl;
|
||||
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110300
|
||||
ARReferenceImage *_referenceImage;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
#endif /* VROARImageTargetiOS_h */
|
||||
|
||||
Reference in New Issue
Block a user