jp.digitalmuseum.napkit
クラス NapDetectionResult
java.lang.Object
jp.digitalmuseum.napkit.NapDetectionResult
-
直系の既知のサブクラス:
- NapAssumedDetectionResult
-
public class NapDetectionResult
- extends java.lang.Object
Detection result class. Immutable.
- 作成者:
- Jun KATO
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NapDetectionResult
public NapDetectionResult(NapMarker marker,
ScreenRectangle screenRectangle,
double confidence,
int direction)
NapDetectionResult
public NapDetectionResult(NapMarker marker,
ScreenRectangle screenRectangle,
double confidence,
int direction,
NapTransMat transmat,
jp.nyatla.nyartoolkit.core.squaredetect.NyARSquare square)
getMarker
public NapMarker getMarker()
- Get the detected marker.
getConfidence
public double getConfidence()
- Get confidence of the detected marker.
getLocation
public ScreenLocation getLocation()
- Get location (center position and direction) of the detected marker.
- 戻り値:
getLocationOut
public void getLocationOut(ScreenLocation screenLocation)
- 関連項目:
getLocation()
getPosition
public ScreenPosition getPosition()
- Get center position of the detected marker.
- 戻り値:
getPositionOut
public void getPositionOut(ScreenPosition screenPosition)
- 関連項目:
getPosition()
getDirection
public double getDirection()
- Get direction of the detected marker in [radius].
getSquare
public ScreenRectangle getSquare()
- Get rectangle positions.
- 戻り値:
getTransformationMatrix
public boolean getTransformationMatrix(double[] transformationMatrix)
getTransformationMatrix
public boolean getTransformationMatrix(double[] transformationMatrix,
boolean continuous)
Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/