com.metaio.sdk.jni
Class Correspondence2D3D

java.lang.Object
  extended by com.metaio.sdk.jni.Correspondence2D3D

public class Correspondence2D3D
extends Object

Struct for corresponding 2D and 3D points.


Constructor Summary
Correspondence2D3D()
           
Correspondence2D3D(float observed_x, float observed_y, float reference_x, float reference_y, float reference_z)
           
Correspondence2D3D(long cPtr, boolean cMemoryOwn)
           
Correspondence2D3D(Vector2d observed, Vector3d reference)
           
 
Method Summary
 void delete()
           
static long getCPtr(Correspondence2D3D obj)
           
 Vector2d getObservedPoint()
          observed 2D point (e.g. on the image screen)
 Vector3d getReferencePoint()
          reference 3D point (e.g. point in world coordinates)
 void setObservedPoint(Vector2d value)
          observed 2D point (e.g. on the image screen)
 void setReferencePoint(Vector3d value)
          reference 3D point (e.g. point in world coordinates)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Correspondence2D3D

public Correspondence2D3D(long cPtr,
                          boolean cMemoryOwn)

Correspondence2D3D

public Correspondence2D3D()

Correspondence2D3D

public Correspondence2D3D(float observed_x,
                          float observed_y,
                          float reference_x,
                          float reference_y,
                          float reference_z)
Parameters:
observed_x - Coordinate in x of the 2D point
observed_y - Coordinate in y of the 2D point
reference_x - Coordinate in x of the 3D point
reference_y - Coordinate in y of the 3D point
reference_z - Coordinate in z of the 3D point

Correspondence2D3D

public Correspondence2D3D(Vector2d observed,
                          Vector3d reference)
Parameters:
observed - Observed point in 2D
reference - Reference point in 3D
Method Detail

getCPtr

public static long getCPtr(Correspondence2D3D obj)

delete

public void delete()

setObservedPoint

public void setObservedPoint(Vector2d value)
observed 2D point (e.g. on the image screen)


getObservedPoint

public Vector2d getObservedPoint()
observed 2D point (e.g. on the image screen)


setReferencePoint

public void setReferencePoint(Vector3d value)
reference 3D point (e.g. point in world coordinates)


getReferencePoint

public Vector3d getReferencePoint()
reference 3D point (e.g. point in world coordinates)