/**
* @fileoverview Enumerations for the core BlomURBEX Web API.
* Created 23/03/2017.
* @author josea.hernandez@blom.no (Jose Antonio Hernandez)
* @copyright Blom Data S.L. 2017
*/
goog.provide('bu.Orientation');
goog.provide('bu.WorkspaceProperty');
goog.provide('bu.ViewerType');
goog.provide('bu.ViewerProperty');
goog.provide('bu.Point2D');
goog.provide('bu.Point3D');
/**
* Orientation of the baselayer, one of 'ortho', 'north', 'south', 'east' or 'west'.
* ortho value has no meaning in oblique or panorama views.
* @enum {string}
* @api
*/
bu.Orientation = {
ORTHO: 'ortho',
NORTH: 'north',
SOUTH: 'south',
EAST: 'east',
WEST: 'west'
};
/**
* Properties of a {@link bu.Workspace} that are tracked.
* @enum {string}
* @api
*/
bu.WorkspaceProperty = {
//SIZE: 'size',
/** Div element where we load the workspace */
TARGET: 'target',
/** Layout of workspace */
LAYOUT: 'layout'
};
/**
* Types of views that a {@link bu.Viewer} can contain.
* @enum {string}
* @api
*/
bu.ViewType = {
EMPTY: 'empty',
ORTHO: 'ortho',
STREET: 'street',
VIEW3D: 'view3d',
OBLIQUE: 'oblique',
TABLE: 'table'
};
/**
* Properties of a {@link bu.Viewer} that are tracked.
* @enum {string}
* @api
*/
bu.ViewerProperty = {
TARGET: 'target',
SIZE: 'size'
};
/**
* Properties of a {@link bu.2dPoint} that are tracked.
* @enum {string}
* @api
*/
bu.Point2D = {
X : 'x',
Y : 'y'
};
/**
* Properties of a {@link bu.3dPoint} that are tracked.
* @enum {string}
* @api
*/
bu.Point3D = {
X : 'x',
Y : 'y',
Z : 'z'
};