com.metaio.sdk.jni
Class ARELInterpreterAndroid

java.lang.Object
  extended by com.metaio.sdk.jni.ARELInterpreterAndroid
Direct Known Subclasses:
ARELInterpreterAndroidJava

public class ARELInterpreterAndroid
extends Object


Constructor Summary
ARELInterpreterAndroid()
           
ARELInterpreterAndroid(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void delete()
           
 IARELInterpreterCallback getCallback()
           
static long getCPtr(ARELInterpreterAndroid obj)
           
 void initialize(IMetaioSDKAndroid metaioSDK, GestureHandler pGestureHandler)
           
 void initialize(IMetaioSDK unifeyeMobile, GestureHandler pGestureHandler)
           
 void loadARELFile(String file)
           
 void loadChannel(int channelID)
          Note: This function is not included in the SDK release
 void loadFinished()
          Some platforms handle web page callbacks on application side (e.g. for Qt)
 void processURL(String url)
           
 void registerCallback(IARELInterpreterCallback callback)
           
 void setRadarProperties(int anchor, Vector3d translation, Vector3d scale)
           
 void swigReleaseOwnership()
           
 void swigTakeOwnership()
           
 void update()
          Update should be called each render cycle, it will capture, track, render and handle other events within this loop.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARELInterpreterAndroid

public ARELInterpreterAndroid(long cPtr,
                              boolean cMemoryOwn)

ARELInterpreterAndroid

public ARELInterpreterAndroid()
Method Detail

getCPtr

public static long getCPtr(ARELInterpreterAndroid obj)

delete

public void delete()

swigReleaseOwnership

public void swigReleaseOwnership()

swigTakeOwnership

public void swigTakeOwnership()

processURL

public void processURL(String url)

update

public void update()
Update should be called each render cycle, it will capture, track, render and handle other events within this loop.


initialize

public void initialize(IMetaioSDK unifeyeMobile,
                       GestureHandler pGestureHandler)
Parameters:
metaioSDK - the metaio SDK instance
pGestureHandler - Pointer to the gesture handler

initialize

public void initialize(IMetaioSDKAndroid metaioSDK,
                       GestureHandler pGestureHandler)

loadARELFile

public void loadARELFile(String file)
Parameters:
file - the filename to load

loadChannel

public void loadChannel(int channelID)
Note: This function is not included in the SDK release

Parameters:
channelID - the channel to load

loadFinished

public void loadFinished()
Some platforms handle web page callbacks on application side (e.g. for Qt)


setRadarProperties

public void setRadarProperties(int anchor,
                               Vector3d translation,
                               Vector3d scale)
Parameters:
anchor - position relative to screen from metaio::IGeometry
translation - metaio::Vector3d translation vector
scale - metaio::Vector3d scale vector

registerCallback

public void registerCallback(IARELInterpreterCallback callback)

getCallback

public IARELInterpreterCallback getCallback()