ArViewer  Android Version
Arvos - Augmented reality viewer open source
 All Classes Namespaces Files Functions Variables
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
com.mission_base.arviewer_android.viewer.Augment Class Reference

Public Member Functions

 Augment ()
String parse (String input)
List< ArvosObjectgetObjects (long time, List< ArvosObject > arvosObjects)
void addClick (int id)

Static Public Member Functions

static String parse (String input, List< Augment > result)

Public Attributes

String mName
String mUrl
String mAuthor
String mDescription
Float mLongitude
Float mLatitude
String mDeveloperKey
LinkedList< PoimPois

Detailed Description

An augment as shown in the augment viewer.

Contains a list of pois.


Definition at line 39 of file

Constructor & Destructor Documentation

com.mission_base.arviewer_android.viewer.Augment.Augment ( )

Definition at line 51 of file

Member Function Documentation

void com.mission_base.arviewer_android.viewer.Augment.addClick ( int  id)

Handles a click on an object in the opengl view.

idThe id of the object clicked.

Definition at line 202 of file

List<ArvosObject> com.mission_base.arviewer_android.viewer.Augment.getObjects ( long  time,
List< ArvosObject arvosObjects 

Returns the list of all objects to be drawn for the augment in the opengl view.

timeThe current time.
arvosObjectsThe previous list of objects.
Returns the list of all objects.

Definition at line 182 of file

static String com.mission_base.arviewer_android.viewer.Augment.parse ( String  input,
List< Augment result 

Parses the JSON format augment list downloaded from the web.

inputThe input in JSON format.
resultThe list of augments to parse to.
"OK" or "ER" followed by the error message.

Definition at line 65 of file

String com.mission_base.arviewer_android.viewer.Augment.parse ( String  input)

Fills the properties of one augment by parsing a description in JSON format downloaded from the web.

inputThe augment description in JSON format.
"OK" or "ER" followed by the error message.

Definition at line 138 of file

Member Data Documentation

String com.mission_base.arviewer_android.viewer.Augment.mAuthor

Definition at line 43 of file

String com.mission_base.arviewer_android.viewer.Augment.mDescription

Definition at line 44 of file

String com.mission_base.arviewer_android.viewer.Augment.mDeveloperKey

Definition at line 47 of file

Float com.mission_base.arviewer_android.viewer.Augment.mLatitude

Definition at line 46 of file

Float com.mission_base.arviewer_android.viewer.Augment.mLongitude

Definition at line 45 of file

String com.mission_base.arviewer_android.viewer.Augment.mName

Definition at line 41 of file

LinkedList<Poi> com.mission_base.arviewer_android.viewer.Augment.mPois

Definition at line 49 of file

String com.mission_base.arviewer_android.viewer.Augment.mUrl

Definition at line 42 of file

The documentation for this class was generated from the following file: