C# Class Tango.TangoUnityDepth

Like TangoXYZij, but more Unity friendly.
Afficher le fichier Open project: stetro/project-tango-poc Class Usage Examples

Méthodes publiques

Свойство Type Description
MAX_IJ_ARRAY_SIZE int
MAX_POINTS_ARRAY_SIZE int
m_ij int[]
m_ijColumns int
m_ijRows int
m_pointCount int
m_points float[]
m_timestamp double
m_version int

Méthodes publiques

Méthode Description
TangoUnityDepth ( ) : System

Initializes an empty instance of the Tango.TangoUnityDepth class, with no points.

Method Details

TangoUnityDepth() public méthode

Initializes an empty instance of the Tango.TangoUnityDepth class, with no points.
public TangoUnityDepth ( ) : System
Résultat System

Property Details

MAX_IJ_ARRAY_SIZE public_oe static_oe property

Max IJ array size is currently defined by the largest single mesh supported by Unity. This number is multiplied by 2 to account for the i/j components.
public static int MAX_IJ_ARRAY_SIZE
Résultat int

MAX_POINTS_ARRAY_SIZE public_oe static_oe property

Max point array size is currently defined by the largest single mesh supported by Unity. This array is multiplied by 3 to account for the x/y/z components.
public static int MAX_POINTS_ARRAY_SIZE
Résultat int

m_ij public_oe property

A 2D buffer, of size ij_rows x ij_cols in raster ordering that contains the index of a point in the xyz array that was generated at this "ij" location. A value of -1 denotes there was no corresponding point generated at that position. This buffer can be used to find neighbouring points in the point cloud. For more information, see our developer overview on depth perception.
public int[] m_ij
Résultat int[]

m_ijColumns public_oe property

The dimensions of the ij index buffer.
public int m_ijColumns
Résultat int

m_ijRows public_oe property

The dimensions of the ij index buffer.
public int m_ijRows
Résultat int

m_pointCount public_oe property

The number of points in the m_points array. Because the points array always contains 3D points, this is m_points.Count / 3.
public int m_pointCount
Résultat int

m_points public_oe property

An array of packed coordinate triplets, x,y,z as floating point values.
public float[] m_points
Résultat float[]

m_timestamp public_oe property

Time of capture of the depth data for this struct (in seconds).
public double m_timestamp
Résultat double

m_version public_oe property

An integer denoting the version of the structure.
public int m_version
Résultat int