public class RecognizedTarget
extends java.lang.Object
Constructor and Description |
---|
RecognizedTarget() |
Modifier and Type | Method and Description |
---|---|
int |
getDistanceToTarget()
Getter for the distance from the device to this target in the current camera frame.
|
float[] |
getModelViewProjectionMatrix()
Getter for the model view projection matrix
|
java.lang.String |
getName()
Getter for the name of the target
|
float[] |
getProjectionMatrix()
Getter for the projection matrix
|
Rectangle |
getTargetPositionInCameraFrame()
Getter for a Rectangle object, defining the position of this target in the current camera frame.
|
float[] |
getViewMatrix()
Getter for the model view matrix, of this target
|
void |
setDistanceToTarget(int distanceToTarget) |
void |
setModelViewProjectionMatrix(float[] modelViewProjectionMatrix) |
void |
setName(java.lang.String name) |
void |
setProjectionMatrix(float[] projectionMatrix) |
void |
setTargetPositionInCameraFrame(Rectangle targetPositionInCameraFrame) |
void |
setViewMatrix(float[] viewMatrix) |
public java.lang.String getName()
public float[] getModelViewProjectionMatrix()
public float[] getProjectionMatrix()
public float[] getViewMatrix()
public int getDistanceToTarget()
public Rectangle getTargetPositionInCameraFrame()
public void setName(java.lang.String name)
public void setModelViewProjectionMatrix(float[] modelViewProjectionMatrix)
public void setProjectionMatrix(float[] projectionMatrix)
public void setViewMatrix(float[] viewMatrix)
public void setDistanceToTarget(int distanceToTarget)
public void setTargetPositionInCameraFrame(Rectangle targetPositionInCameraFrame)