![]() |
ArViewer
Android Version
Arvos - Augmented reality viewer open source
|
Public Member Functions | |
Activity | getActivity () |
int | getOrientation () |
int | getRotationDegrees () |
void | onResume () |
void | onPause () |
void | startWebViewer (String url) |
Static Public Member Functions | |
static Arvos | getInstance () |
static Arvos | getInstance (Activity activity) |
static float | toDegrees (float radians) |
static void | log (String tag, String message) |
Public Attributes | |
boolean | mSimulateWeb = true |
boolean | mUseCache = true |
boolean | mIsAuthor = false |
String | mAuthorKey |
String | mDeveloperKey |
String | mSessionId |
float | mLongitude = -1000f |
float | mLatitude = -1000f |
int | mVersion = 1 |
Augment | mAugment |
String | mAugmentsUrl = "http://www.mission-base.com/arvos/augments.json" |
float | mAzimuth = 0 |
float | mCorrectedAzimuth = 0 |
float | mPitch = 0 |
float | mRoll = 0 |
long | mFPS = 0 |
int | mWidth |
int | mHeight |
volatile boolean | mHandleTouch = false |
volatile boolean | mModelViewMatrixesRequested = false |
float[] | mProjectionMatrix = null |
final HashMap< Integer, float[]> | mModelViewMatrixes = new HashMap<Integer, float[]>() |
final List< ArvosObject > | mArvosObjects = Collections.synchronizedList(new LinkedList<ArvosObject>()) |
Static Arvos instance, used to keep static values during the lifetime of the application.
Definition at line 49 of file Arvos.java.
Activity com.mission_base.arviewer_android.Arvos.getActivity | ( | ) |
Returns the ArvosViewer activity.
Definition at line 148 of file Arvos.java.
|
static |
|
static |
Returns the static Arvos instance.
activity | The viewer activity to use. |
Definition at line 133 of file Arvos.java.
int com.mission_base.arviewer_android.Arvos.getOrientation | ( | ) |
Gets the device orientation as reported by the SensorManager.
Definition at line 180 of file Arvos.java.
int com.mission_base.arviewer_android.Arvos.getRotationDegrees | ( | ) |
Gets the device rotation derived from the SensorManager, 0, 90, 180 or 270.
Definition at line 192 of file Arvos.java.
|
static |
Logs to the action bar subtitle.
tag | The tag word used for the log. |
message | The message shown. |
Definition at line 250 of file Arvos.java.
void com.mission_base.arviewer_android.Arvos.onPause | ( | ) |
Definition at line 219 of file Arvos.java.
void com.mission_base.arviewer_android.Arvos.onResume | ( | ) |
Definition at line 214 of file Arvos.java.
void com.mission_base.arviewer_android.Arvos.startWebViewer | ( | String | url | ) |
Starts the web viewer.
url | The url to display in the web viewer. |
Definition at line 268 of file Arvos.java.
|
static |
Converts the radians given as parameter to degrees.
radians | The radians to be converted. |
Definition at line 234 of file Arvos.java.
final List<ArvosObject> com.mission_base.arviewer_android.Arvos.mArvosObjects = Collections.synchronizedList(new LinkedList<ArvosObject>()) |
The objects drawn.
Created and used by the renderer. Stored in the static instance so the radar view can also use it.
Definition at line 100 of file Arvos.java.
Augment com.mission_base.arviewer_android.Arvos.mAugment |
Definition at line 70 of file Arvos.java.
String com.mission_base.arviewer_android.Arvos.mAugmentsUrl = "http://www.mission-base.com/arvos/augments.json" |
Definition at line 71 of file Arvos.java.
String com.mission_base.arviewer_android.Arvos.mAuthorKey |
Definition at line 55 of file Arvos.java.
float com.mission_base.arviewer_android.Arvos.mAzimuth = 0 |
Definition at line 73 of file Arvos.java.
float com.mission_base.arviewer_android.Arvos.mCorrectedAzimuth = 0 |
Definition at line 74 of file Arvos.java.
String com.mission_base.arviewer_android.Arvos.mDeveloperKey |
Definition at line 56 of file Arvos.java.
long com.mission_base.arviewer_android.Arvos.mFPS = 0 |
Definition at line 77 of file Arvos.java.
volatile boolean com.mission_base.arviewer_android.Arvos.mHandleTouch = false |
Definition at line 81 of file Arvos.java.
int com.mission_base.arviewer_android.Arvos.mHeight |
Definition at line 80 of file Arvos.java.
boolean com.mission_base.arviewer_android.Arvos.mIsAuthor = false |
Definition at line 54 of file Arvos.java.
float com.mission_base.arviewer_android.Arvos.mLatitude = -1000f |
Definition at line 67 of file Arvos.java.
float com.mission_base.arviewer_android.Arvos.mLongitude = -1000f |
Definition at line 66 of file Arvos.java.
final HashMap<Integer, float[]> com.mission_base.arviewer_android.Arvos.mModelViewMatrixes = new HashMap<Integer, float[]>() |
The model view matrixes created by the renderer for the touch handler.
Definition at line 92 of file Arvos.java.
volatile boolean com.mission_base.arviewer_android.Arvos.mModelViewMatrixesRequested = false |
Definition at line 82 of file Arvos.java.
float com.mission_base.arviewer_android.Arvos.mPitch = 0 |
Definition at line 75 of file Arvos.java.
float [] com.mission_base.arviewer_android.Arvos.mProjectionMatrix = null |
The model view matrixes created by the renderer for the touch handler.
Definition at line 87 of file Arvos.java.
float com.mission_base.arviewer_android.Arvos.mRoll = 0 |
Definition at line 76 of file Arvos.java.
String com.mission_base.arviewer_android.Arvos.mSessionId |
Definition at line 65 of file Arvos.java.
boolean com.mission_base.arviewer_android.Arvos.mSimulateWeb = true |
Definition at line 51 of file Arvos.java.
boolean com.mission_base.arviewer_android.Arvos.mUseCache = true |
Definition at line 53 of file Arvos.java.
int com.mission_base.arviewer_android.Arvos.mVersion = 1 |
Definition at line 68 of file Arvos.java.
int com.mission_base.arviewer_android.Arvos.mWidth |
Definition at line 79 of file Arvos.java.