javaclient.structures
Class PlayerFiducialItem

java.lang.Object
  extended by javaclient.structures.PlayerFiducialItem

public class PlayerFiducialItem
extends java.lang.Object

Info on a single detected fiducial.
(see the player_fiducial_item structure from player.h)

Version:
Author:
Maxim A. Batalin & Radu Bogdan Rusu

Constructor Summary
PlayerFiducialItem()
           
 
Method Summary
 int getID()
           
 int[] getPos()
           
 int[] getRot()
           
 int[] getUPos()
           
 int[] getURot()
           
 void setID(int newID)
           
 void setPos(int[] newPos)
           
 void setRot(int[] newRot)
           
 void setUPos(int[] newUPos)
           
 void setURot(int[] newURot)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerFiducialItem

public PlayerFiducialItem()
Method Detail

getID

public int getID()
Returns:
The fiducial id. Fiducials that cannot be identified get id -1.

setID

public void setID(int newID)
Parameters:
newID - the fiducial id

getPos

public int[] getPos()
Returns:
Fiducial position relative to the detector (x, y, z) in mm.

setPos

public void setPos(int[] newPos)
Parameters:
newPos - fiducial position relative to the detector (x, y, z) in mm

getRot

public int[] getRot()
Returns:
Fiducial orientation relative to the detector (r, p, y) in millirad.

setRot

public void setRot(int[] newRot)
Parameters:
newRot - fiducial orientation relative to the detector (r, p, y) in millirad

getUPos

public int[] getUPos()
Returns:
Uncertainty in the measured pose (x, y, z) in mm.

setUPos

public void setUPos(int[] newUPos)
Parameters:
newUPos - Uncertainty in the measured pose (x, y, z) in mm

getURot

public int[] getURot()
Returns:
Uncertainty in fiducial orientation relative to the detector (r, p, y) in millirad.

setURot

public void setURot(int[] newURot)
Parameters:
newURot - uncertainty in fiducial orientation relative to the detector (r, p, y) in millirad