C# Класс Tango.TangoUnityDepth

Like TangoXYZij, but more Unity friendly.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
TangoUnityDepth ( ) : System

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

Описание методов

TangoUnityDepth() публичный Метод

Initializes an empty instance of the Tango.TangoUnityDepth class, with no points.
public TangoUnityDepth ( ) : System
Результат System

Описание свойств

MAX_IJ_ARRAY_SIZE публичное статическое свойство

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
Результат int

MAX_POINTS_ARRAY_SIZE публичное статическое свойство

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
Результат int

m_ij публичное свойство

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
Результат int[]

m_ijColumns публичное свойство

The dimensions of the ij index buffer.
public int m_ijColumns
Результат int

m_ijRows публичное свойство

The dimensions of the ij index buffer.
public int m_ijRows
Результат int

m_pointCount публичное свойство

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
Результат int

m_points публичное свойство

An array of packed coordinate triplets, x,y,z as floating point values.
public float[] m_points
Результат float[]

m_timestamp публичное свойство

Time of capture of the depth data for this struct (in seconds).
public double m_timestamp
Результат double

m_version публичное свойство

An integer denoting the version of the structure.
public int m_version
Результат int