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

コンストラクタの概要
NapDetectionResult(NapMarker marker, ScreenRectangle screenRectangle, double confidence, int direction)
           
NapDetectionResult(NapMarker marker, ScreenRectangle screenRectangle, double confidence, int direction, NapTransMat transmat, jp.nyatla.nyartoolkit.core.squaredetect.NyARSquare square)
           
 
メソッドの概要
 double getConfidence()
          Get confidence of the detected marker.
 double getDirection()
          Get direction of the detected marker in [radius].
 ScreenLocation getLocation()
          Get location (center position and direction) of the detected marker.
 void getLocationOut(ScreenLocation screenLocation)
           
 NapMarker getMarker()
          Get the detected marker.
 ScreenPosition getPosition()
          Get center position of the detected marker.
 void getPositionOut(ScreenPosition screenPosition)
           
 ScreenRectangle getSquare()
          Get rectangle positions.
 boolean getTransformationMatrix(double[] transformationMatrix)
           
 boolean getTransformationMatrix(double[] transformationMatrix, boolean continuous)
           
 
クラス 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 http://mr.digitalmuseum.jp/