Pikkart AR SDK  3.1
iOS SDK references
PKTGeoElement.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 Geolocalization 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 "PKTGeoLocation.h"
23 
26 typedef NS_ENUM(int, PKTGeoElementVisibility) {
27  ON_MAP = 0,
28  ON_AUGMENTED_REALITY,
29  ON_NEITHER,
30  ON_ALL
31 };
32 
33 #define PKTGeoElementOnMap(visibility) (((visibility)==ON_MAP) ||\
34  (visibility)==ON_ALL)
35 #define PKTGeoElementOnAR(visibility) (((visibility)==ON_AUGMENTED_REALITY) ||\
36  (visibility)==ON_ALL)
37 
45 @interface PKTGeoElement : NSObject
46 
53 -(instancetype)initWithLocation:(PKTGeoLocation *)geoLocation
54  andIdLocation:(NSString *)Id
55  andName:(NSString *)name;
56 
64 -(instancetype)initWithLocation:(PKTGeoLocation *)geoLocation
65  andIdLocation:(NSString *)Id
66  andName:(NSString *)name
67  andVisibility:(PKTGeoElementVisibility)visibility;
68 
73 @property (nonatomic,strong) PKTGeoLocation * geoLocation;
78 @property (nonatomic,strong) NSString * Id;
83 @property (nonatomic,strong) NSString * name;
88 @property (nonatomic) PKTGeoElementVisibility visibility;
89 
90 @end
91 
NSString * Id
Get idLocation parameter.
Definition: PKTGeoElement.h:78
PKTGeoElement models information associated to a point of interest showed either on camera or Google ...
Definition: PKTGeoElement.h:45
PKTGeoElementVisibility visibility
Get visibility parameter.
Definition: PKTGeoElement.h:88
PKTGeoLocation models point of interest geographic coordinates.
Definition: PKTGeoLocation.h:28
NSString * name
Get name parameter.
Definition: PKTGeoElement.h:83