KudanAR - Unity  1.6.0
Kudan.AR.ITracker Interface Reference

The tracker class that TrackerBase inherits from More...

Inherited by Kudan.AR.TrackerBase.

Public Member Functions

bool InitPlugin ()
 Initialisess the plugin. More...
 
void DeinitPlugin ()
 Deinitialises the plugin. More...
 
string GetPluginVersion ()
 Gets the current plugin version. More...
 
float GetNativePluginVersion ()
 Gets the native plugin version. More...
 
int GetNumCameras ()
 Gets the number of cameras. More...
 
void SetupRenderingCamera (float cameraNearPlane, float cameraFarPlane)
 Sets up the rendering camera. More...
 
bool StartInputFromImage (Texture2D image)
 Starts the input from a given image. More...
 
bool StartInputFromCamera (int deviceIndex, int targetWidth, int targetHeight)
 Starts the input from a given camera device. More...
 
void StopInput ()
 Stops all input. More...
 
bool AddTrackableSet (string path, string id)
 Adds a trackable at a given path with a given ID. More...
 
bool AddTrackableSet (byte[] data, string id)
 Adds a trackable with a given data set and ID. More...
 
int GetNumTrackables ()
 Gets the number of trackables. More...
 
Trackable GetTrackable (int index)
 Gets a trackable at given index. More...
 
void RemoveTrackable (string name)
 Removes a trackable with a given name. More...
 
void ClearTrackables ()
 Clears trackables. More...
 
void UpdateTracking ()
 Updates tracking. More...
 
void StartTracking ()
 Starts tracking. More...
 
bool IsTrackingRunning ()
 Determines whether tracking is running. More...
 
void StopTracking ()
 Stops tracking. More...
 
bool EnableTrackingMethod (int trackingMethodId)
 Enables the given tracking method. More...
 
bool DisableTrackingMethod (int trackingMethodId)
 Disables the given tracking method. More...
 
Texture GetTrackingTexture ()
 Gets the tracking texture. More...
 
int GetNumDetectedTrackables ()
 Gets the number of detected trackables. More...
 
Trackable GetDetectedTrackable (int index)
 Gets detected trackable at the given index. More...
 
Matrix4x4 GetProjectionMatrix ()
 Gets the projection matrix. More...
 
void updateCam ()
 Updates the camera. More...
 
bool GetMarkerRecoveryStatus ()
 
void SetMarkerRecoveryStatus (bool status)
 
bool GetMarkerExtensibilityStatus ()
 
void SetMarkerExtensibilityStatus (bool status)
 
void SetMaximumSimultaneousTracking (int maxToTrack)
 

Detailed Description

The tracker class that TrackerBase inherits from

Member Function Documentation

◆ AddTrackableSet() [1/2]

bool Kudan.AR.ITracker.AddTrackableSet ( byte[]  data,
string  id 
)

Adds a trackable with a given data set and ID.

Returns
true, if trackable was added, false otherwise.
Parameters
dataData.
idIdentifier.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ AddTrackableSet() [2/2]

bool Kudan.AR.ITracker.AddTrackableSet ( string  path,
string  id 
)

Adds a trackable at a given path with a given ID.

Returns
true, if trackable was added, false otherwise.
Parameters
pathPath.
idIdentifier.

Implemented in Kudan.AR.TrackerBase.

◆ ClearTrackables()

void Kudan.AR.ITracker.ClearTrackables ( )

Clears trackables.

Implemented in Kudan.AR.TrackerBase.

◆ DeinitPlugin()

void Kudan.AR.ITracker.DeinitPlugin ( )

Deinitialises the plugin.

Implemented in Kudan.AR.TrackerBase, and Kudan.AR.Tracker.

◆ DisableTrackingMethod()

bool Kudan.AR.ITracker.DisableTrackingMethod ( int  trackingMethodId)

Disables the given tracking method.

Returns
true, if tracking method was disabled, false otherwise.
Parameters
trackingMethodIdTracking method identifier.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ EnableTrackingMethod()

bool Kudan.AR.ITracker.EnableTrackingMethod ( int  trackingMethodId)

Enables the given tracking method.

Returns
true, if tracking method was enabled, false otherwise.
Parameters
trackingMethodIdTracking method identifier.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ GetDetectedTrackable()

Trackable Kudan.AR.ITracker.GetDetectedTrackable ( int  index)

Gets detected trackable at the given index.

Returns
The detected trackable.
Parameters
indexIndex.

Implemented in Kudan.AR.TrackerBase.

◆ GetNativePluginVersion()

float Kudan.AR.ITracker.GetNativePluginVersion ( )

Gets the native plugin version.

Returns
The native plugin version.

Implemented in Kudan.AR.TrackerBase, and Kudan.AR.Tracker.

◆ GetNumCameras()

int Kudan.AR.ITracker.GetNumCameras ( )

Gets the number of cameras.

Returns
The number of cameras.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ GetNumDetectedTrackables()

int Kudan.AR.ITracker.GetNumDetectedTrackables ( )

Gets the number of detected trackables.

Returns
The number of detected trackables.

Implemented in Kudan.AR.TrackerBase.

◆ GetNumTrackables()

int Kudan.AR.ITracker.GetNumTrackables ( )

Gets the number of trackables.

Returns
The number of trackables.

Implemented in Kudan.AR.TrackerBase.

◆ GetPluginVersion()

string Kudan.AR.ITracker.GetPluginVersion ( )

Gets the current plugin version.

Returns
The plugin version.

Implemented in Kudan.AR.TrackerBase.

◆ GetProjectionMatrix()

Matrix4x4 Kudan.AR.ITracker.GetProjectionMatrix ( )

Gets the projection matrix.

Returns
The projection matrix.

Implemented in Kudan.AR.TrackerBase.

◆ GetTrackable()

Trackable Kudan.AR.ITracker.GetTrackable ( int  index)

Gets a trackable at given index.

Returns
A trackable.
Parameters
indexIndex.

Implemented in Kudan.AR.TrackerBase.

◆ GetTrackingTexture()

Texture Kudan.AR.ITracker.GetTrackingTexture ( )

Gets the tracking texture.

Returns
The tracking texture.

Implemented in Kudan.AR.TrackerBase.

◆ InitPlugin()

bool Kudan.AR.ITracker.InitPlugin ( )

Initialisess the plugin.

Returns
true, if plugin was initialised, false otherwise.

Implemented in Kudan.AR.TrackerBase, and Kudan.AR.Tracker.

◆ IsTrackingRunning()

bool Kudan.AR.ITracker.IsTrackingRunning ( )

Determines whether tracking is running.

Returns
true if tracking is running; otherwise, false.

Implemented in Kudan.AR.TrackerBase.

◆ RemoveTrackable()

void Kudan.AR.ITracker.RemoveTrackable ( string  name)

Removes a trackable with a given name.

Parameters
nameName.

Implemented in Kudan.AR.TrackerBase.

◆ SetupRenderingCamera()

void Kudan.AR.ITracker.SetupRenderingCamera ( float  cameraNearPlane,
float  cameraFarPlane 
)

Sets up the rendering camera.

Parameters
cameraNearPlaneCamera near plane.
cameraFarPlaneCamera far plane.

Implemented in Kudan.AR.TrackerBase.

◆ StartInputFromCamera()

bool Kudan.AR.ITracker.StartInputFromCamera ( int  deviceIndex,
int  targetWidth,
int  targetHeight 
)

Starts the input from a given camera device.

Returns
true, if input from camera was started, false otherwise.
Parameters
deviceIndexDevice index.
targetWidthTarget width.
targetHeightTarget height.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ StartInputFromImage()

bool Kudan.AR.ITracker.StartInputFromImage ( Texture2D  image)

Starts the input from a given image.

Returns
true, if input from image was started, false otherwise.
Parameters
imageImage.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ StartTracking()

void Kudan.AR.ITracker.StartTracking ( )

Starts tracking.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ StopInput()

void Kudan.AR.ITracker.StopInput ( )

Stops all input.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ StopTracking()

void Kudan.AR.ITracker.StopTracking ( )

Stops tracking.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ updateCam()

void Kudan.AR.ITracker.updateCam ( )

Updates the camera.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.

◆ UpdateTracking()

void Kudan.AR.ITracker.UpdateTracking ( )

Updates tracking.

Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.


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