Static Public Member Functions | |
| static | createLocationBasedModel3D ($id, $title, $model, $texture, $location, $scale, $rotation, $icon=NULL) |
| Create a basic Location Based 3D Model. | |
| static | createLocationBasedModel3DFromMovie ($id, $title, $moviePath, $location, $scale, $rotation, $icon=NULL) |
| Create a basic Location Based 3D Movie Texture. | |
| static | createLocationBasedModel3DFromImage ($id, $title, $imagePath, $location, $scale, $rotation, $icon=NULL) |
| Create a basic Location Based 3D Image. | |
| static | createLocationBasedPOI ($id, $title, $location, $thumbnail, $icon, $description, $buttons) |
| Create a basic Location Based POI (Textual representation with default design) | |
| static | create360Object ($id, $model, $texture, $translation, $scale, $rotation, $renderPosition=NULL) |
| Create a 360 degree Object (3D Model) | |
| static | createGLUEModel3D ($id, $model, $texture, $translation, $scale, $rotation, $coordinateSystemID) |
| Create a basic Glue 3D Model. | |
| static | createGLUEModel3DFromMovie ($id, $moviePath, $translation, $scale, $rotation, $coordinateSystemID) |
| Create a Glue Movie Texture (Movie overlaid a real world object) | |
| static | createGLUEModel3DFromImage ($id, $imagePath, $translation, $scale, $rotation, $coordinateSystemID) |
| Create a Glue Movie Texture (Movie overlaid a real world object) | |
| static | createScreenFixedModel3D ($id, $model, $texture, $screenAnchor, $scale, $rotation) |
| Create a screen fixed 3D Model, meaning it is always stuck to the devices screen. | |
| static | start ($resourcesPath=NULL, $arelPath=NULL, $trackingXML=null) |
| Start output to junaio. | |
| static | end () |
| End the XML output to junaio. | |
| static | outputObject ($oObject) |
| Create the XML output of the AREL Object and send it to the junaio server. | |
Data Fields | |
| const | TRACKING_GPS = "GPS" |
| Tracking type GPS. | |
| const | TRACKING_LLA_MARKER = "LLA" |
| Tracking type LLA Marker. | |
| const | TRACKING_BARCODE_QR = "Code" |
| Tracking type bar code and QR codes. | |
All rights reserved.
A helper class to create correct junaio AREL output (XML).
|
static |
Create a 360 degree Object (3D Model)
| String | $id | Id of the AREL Object |
| String | $model | Path to the model of the Object or to the zip package holding all the information |
| String | $texture | Path to the texture of the Object (jpg or png file) |
| Array | $translation | An array given all translation parameters x,y,z |
| Array | $scale | An array providing scale values along three axis (x, y, z) |
| ArelRotation | $rotation | Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix |
| Int | $renderPosition | If you have multiple 360Objects created with transparencies |
|
static |
Create a basic Glue 3D Model.
| String | $id | Id of the AREL Object |
| String | $model | Path to the model of the Object or to the zip package holding all the information |
| String | $texture | Path to the texture of the Object (jpg or png file) |
| Array | $translation | An array given all translation parameters x,y,z |
| Array | $scale | An array providing scale values along three axis (x, y, z) |
| ArelRotation | $rotation | Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix |
| Int | $coordinateSystemID | ID of the corrdinateSystem the model shall be attached to |
|
static |
Create a Glue Movie Texture (Movie overlaid a real world object)
| String | $id | Id of the AREL Object |
| String | $imagePath | Path to the JPG or PNG image that shall be displayed in the real world |
| Array | $translation | An array given all translation parameters x,y,z |
| Array | $scale | An array providing scale values along three axis (x, y, z) |
| ArelRotation | $rotation | Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix |
| Int | $coordinateSystemID | ID of the corrdinateSystem the model shall be attached to |
|
static |
Create a Glue Movie Texture (Movie overlaid a real world object)
| String | $id | Id of the AREL Object |
| String | $moviePath | Path to the 3G2 movie that shall be displayed on the reference (coordinate system) |
| Array | $translation | An array given all translation parameters x,y,z |
| Array | $scale | An array providing scale values along three axis (x, y, z) |
| ArelRotation | $rotation | Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix |
| Int | $coordinateSystemID | ID of the corrdinateSystem the model shall be attached to |
|
static |
Create a basic Location Based 3D Model.
| String | $id | Id of the AREL Object |
| String | $title | Title of the AREL Object to be displayed in the popup (if added) as well as list and map |
| String | $model | Path to the model of the Object or to the zip package holding all the information |
| String | $texture | Path to the texture of the Object (jpg or png file) |
| Array | $location | An array given all location parameters (latitude, longitude and altitude) |
| Array | $scale | An array providing scale values along three axis (x, y, z) |
| ArelRotation | $rotation | Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix |
| String | $icon | provides an icon how the model will be displayed on a map (optional) |
|
static |
Create a basic Location Based 3D Image.
| String | $id | Id of the AREL Object |
| String | $title | Title of the AREL Object to be displayed in the popup (if added) as well as list and map |
| String | $imagePath | Path to the JPG or PNG image that shall be displayed in the real world |
| Array | $location | An array given all location parameters (latitude, longitude and altitude) |
| Array | $scale | An array providing scale values along three axis (x, y, z) |
| ArelRotation | $rotation | Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix |
| String | $icon | provides an icon how the model will be displayed on a map (optional) |
|
static |
Create a basic Location Based 3D Movie Texture.
| String | $id | Id of the AREL Object |
| String | $title | Title of the AREL Object to be displayed in the popup (if added) as well as list and map |
| String | $moviePath | Path to the 3G2 movie that shall be displayed in the real world |
| Array | $location | An array given all location parameters (latitude, longitude and altitude) |
| Array | $scale | An array providing scale values along three axis (x, y, z) |
| ArelRotation | $rotation | Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix |
| String | $icon | provides an icon how the model will be displayed on a map (optional) |
|
static |
Create a basic Location Based POI (Textual representation with default design)
| String | $id | Id of the AREL Object |
| String | $title | Title of the AREL Object to be displayed in the popup (if added) as well as list and map |
| Array | $location | An array given all location parameters (latitude, longitude and altitude) |
| String | $thumbnail | provides an thumbnail to be displayed in the liveview and on the list |
| String | $icon | provides an icon how the model will be displayed on a map (optional) |
| String | $description | The description to be written in the pop up or the additional information |
| Array | $buttons | An array defining buttons to be shown in the pop up / detail display |
|
static |
Create a screen fixed 3D Model, meaning it is always stuck to the devices screen.
| String | $id | Id of the AREL Object |
| String | $model | Path to the model of the Object or to the zip package holding all the information |
| String | $texture | Path to the texture of the Object (jpg or png file) |
| int | $screenAnchor | A constant defining the screen anchor |
| Array | $scale | An array providing scale values along three axis (x, y, z) |
| ArelRotation | $rotation | Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix |
|
static |
Create the XML output of the AREL Object and send it to the junaio server.
| ArelObject | $oObject | Object to be sent out |
|
static |
Start output to junaio.
| string | $resourcesPath | Path to a zip holding all resources (models, images, shader, materials) [NOT SUPPORTED AT THE MOMENT) |
| string | $arelPath | Path to a an HTML defining the GUI and hosting the arel JS |
| string | $trackingXML | Path to the tracking xml or identifier of what shall be done (LLA Marker, Barcode / QR code). If nothing is provided, GPS is assumed. |
1.8.2