Pikkart AR SDK  3.5
iOS SDK references
PKTMarker.h
1 /* ===============================================================================
2  * Copyright (c) 2016 Pikkart S.r.l. All Rights Reserved.
3  * Pikkart is a trademark of Pikkart S.r.l., registered in Europe,
4  * the United States and other countries.
5  *
6  * This file is part of Pikkart AR Recognition SDK.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ===============================================================================*/
20 
21 #import <Foundation/Foundation.h>
22 #import <QuartzCore/QuartzCore.h>
23 #import "PKTMarkerDatabase.h"
24 
34 @interface PKTMarker : NSObject
35 
46 +(PKTMarker *)PKTMarker:(NSString *)markerId
47  withInternalId:(NSNumber *)internalId
48  andCustomData:(NSString *)customData
49  andMarkerDatabase:(PKTMarkerDatabase *)markerDatabase
50  andWidth:(float)width
51  andHeight:(float)height;
52 
63 -(instancetype)initWithMarker:(NSString *)markerId
64  withInternalId:(NSNumber *)internalId
65  andCustomData:(NSString *)customData
66  andMarkerDatabase:(PKTMarkerDatabase *)markerDatabase
67  andWidth:(float)width
68  andHeight:(float)height;
69 
74 @property (nonatomic, readonly) NSString * markerId;
75 
80 @property (nonatomic, readonly) NSNumber * internalId;
81 
82 
87 @property (nonatomic,readonly) float width;
88 
93 @property (nonatomic,readonly) float height;
94 
99 @property (nonatomic, strong) NSString * customData;
100 
105 @property (nonatomic, strong) PKTMarkerDatabase * markerDatabase;
106 
107 @property (nonatomic, getter=isTracking) bool tracking;
108 @property (nonatomic,getter=isArLogoEnabled) bool arLogoEnabled;
109 @property (nonatomic) int patternCode;
110 
111 @end
float width
width property
Definition: PKTMarker.h:87
NSNumber * internalId
internalId property
Definition: PKTMarker.h:80
NSString * markerId
markerId property
Definition: PKTMarker.h:74
PKTMarkerDatabase class.
Definition: PKTMarkerDatabase.h:32
PKTMarker class.
Definition: PKTMarker.h:34
float height
height property
Definition: PKTMarker.h:93
NSString * customData
customData property
Definition: PKTMarker.h:99