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.

Author
peter

Definition at line 39 of file Augment.java.

Constructor & Destructor Documentation

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

Definition at line 51 of file Augment.java.

Member Function Documentation

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

Handles a click on an object in the opengl view.

Parameters
idThe id of the object clicked.

Definition at line 202 of file Augment.java.

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.

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

Definition at line 182 of file Augment.java.

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

Parses the JSON format augment list downloaded from the web.

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

Definition at line 65 of file Augment.java.

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.

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

Definition at line 138 of file Augment.java.

Member Data Documentation

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

Definition at line 43 of file Augment.java.

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

Definition at line 44 of file Augment.java.

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

Definition at line 47 of file Augment.java.

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

Definition at line 46 of file Augment.java.

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

Definition at line 45 of file Augment.java.

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

Definition at line 41 of file Augment.java.

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

Definition at line 49 of file Augment.java.

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

Definition at line 42 of file Augment.java.


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