|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metaio.sdk.jni.Pose
public class Pose
Structure that defines a 3D pose.
Constructor Summary | |
---|---|
Pose()
|
|
Pose(float _tx,
float _ty,
float _tz,
float _q1,
float _q2,
float _q3,
float _q4,
float qual,
int _cosID,
String _cosName)
|
|
Pose(long cPtr,
boolean cMemoryOwn)
|
|
Pose(Pose other)
|
Method Summary | |
---|---|
void |
delete()
|
String |
getAdditionalValues()
Room for additional values provided by a sensor that cannot be expressed with translation and rotation properly. |
int |
getCosID()
The ID of the coordinate system. |
String |
getCosName()
The name of the coordinate system (configured via SensorCOSID or COSName) |
static long |
getCPtr(Pose obj)
|
LLACoordinate |
getLlaCoordinate()
if we have gloval coordinate frame; |
float |
getQuality()
Value between 0 and 1 defining the tracking quality. |
Vector4d |
getRotation()
|
double |
getTimeElapsed()
Time lapsed (in ms) since current tracking state (determined from quality) |
Vector3d |
getTranslation()
Translation component of the pose. |
boolean |
isDetected()
|
boolean |
isLost()
|
void |
setAdditionalValues(String value)
Room for additional values provided by a sensor that cannot be expressed with translation and rotation properly. |
void |
setCosID(int value)
The ID of the coordinate system. |
void |
setCosName(String value)
The name of the coordinate system (configured via SensorCOSID or COSName) |
void |
setLlaCoordinate(LLACoordinate value)
if we have gloval coordinate frame; |
void |
setQuality(float value)
Value between 0 and 1 defining the tracking quality. |
void |
setRotation(Vector4d value)
|
void |
setTimeElapsed(double value)
Time lapsed (in ms) since current tracking state (determined from quality) |
void |
setTranslation(Vector3d value)
Translation component of the pose. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pose(long cPtr, boolean cMemoryOwn)
public Pose()
public Pose(float _tx, float _ty, float _tz, float _q1, float _q2, float _q3, float _q4, float qual, int _cosID, String _cosName)
_tx
- Translation in x direction_ty
- Translation in y direction_tz
- Translation in z direction_q1
- First component of the rotation quaternion_q2
- Second component of the rotation quaternion_q3
- Third component of the rotation quaternion_q4
- Fourth component of the rotation quaternionqual
- Value between 0 and 1 defining the tracking_cosID
- the coordinate system ID quality. (1=tracking, 0=not tracking)_cosName
- Name of the coordinate system.public Pose(Pose other)
Method Detail |
---|
public static long getCPtr(Pose obj)
public void delete()
public boolean isLost()
public boolean isDetected()
public void setTranslation(Vector3d value)
public Vector3d getTranslation()
public void setRotation(Vector4d value)
public Vector4d getRotation()
public void setLlaCoordinate(LLACoordinate value)
public LLACoordinate getLlaCoordinate()
public void setQuality(float value)
public float getQuality()
public void setTimeElapsed(double value)
public double getTimeElapsed()
public void setCosID(int value)
public int getCosID()
public void setCosName(String value)
public String getCosName()
public void setAdditionalValues(String value)
public String getAdditionalValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |