|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectView
es.ucm.look.ar.ar2D.AR2D
public class AR2D
View holding 2D representation of the world
Constructor Summary | |
---|---|
AR2D(LookAR context,
float maxDist)
Creates a 2D view with the given context |
Method Summary | |
---|---|
void |
addHUDElement(HUDElement hudelement)
|
int |
getCanvasHeight()
Returns the canvas height |
int |
getCanvasWidth()
Returns the canvas width |
java.util.List<HUDElement> |
getHUD()
Returns the list of drawables for the HUD |
boolean |
onTouchEvent(MotionEvent event)
|
void |
projectPoint(Point3 p)
Projects the given point with the current situation |
void |
setCameraListening(boolean cameraListening)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AR2D(LookAR context, float maxDist)
context
- the contextmaxDist
- max distance to be shownMethod Detail |
---|
public void addHUDElement(HUDElement hudelement)
public int getCanvasHeight()
public int getCanvasWidth()
public java.util.List<HUDElement> getHUD()
public boolean onTouchEvent(MotionEvent event)
public void projectPoint(Point3 p)
p
- the pointpublic void setCameraListening(boolean cameraListening)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |