|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.ar.util.LookARUtil
public class LookARUtil
A class with static common functions
Field Summary | |
---|---|
static float |
CAMERA_VIEW_ANGLE
Default camera angle |
Constructor Summary | |
---|---|
LookARUtil()
|
Method Summary | |
---|---|
static LookAR |
getApp()
Returns the main activity |
static Display |
getDisplay()
Returns the display for the app |
static int |
getMinimumSize()
Returns the minimum between the width and the height of the screen |
static View |
getView(int resourceId,
ViewGroup v)
|
static void |
init(LookAR lookAr)
Init the LookARUtil |
static java.nio.FloatBuffer |
makeFloatBuffer(float[] f)
Make a FloatBuffer from an array of floats |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float CAMERA_VIEW_ANGLE
Constructor Detail |
---|
public LookARUtil()
Method Detail |
---|
public static LookAR getApp()
public static Display getDisplay()
public static int getMinimumSize()
public static View getView(int resourceId, ViewGroup v)
public static void init(LookAR lookAr)
lookAr
- Applicationpublic static java.nio.FloatBuffer makeFloatBuffer(float[] f)
f
- The array
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |