#include <tango_3d_reconstruction_api.h>
Public Attributes | |
Tango3DR_Color * | colors |
Color buffer stored in RGBA order. More... | |
Tango3DR_Face * | faces |
Index buffer stored as a triangle list of 32 bit integers. More... | |
uint32_t | max_num_faces |
Maximum capacity of the faces array. More... | |
uint32_t | max_num_textures |
Maximum capacity of the textures More... | |
uint32_t | max_num_vertices |
Tango3DR_Vector3 * | normals |
Normal buffer stored in XYZ order. More... | |
uint32_t | num_faces |
Number of valid faces stored in the faces array. More... | |
uint32_t | num_textures |
Number of valid textures stored in the textures array. More... | |
uint32_t | num_vertices |
Tango3DR_TexCoord * | texture_coords |
Texture coordinate buffer stored in UV order. More... | |
int32_t * | texture_ids |
Mapping of faces to texture images. -1 means no texture assigned. More... | |
Tango3DR_ImageBuffer * | textures |
Array of texture images. More... | |
double | timestamp |
The timestamp of mesh generation (in seconds). More... | |
Tango3DR_Vector3 * | vertices |
Vertex buffer stored in XYZ order. More... | |
A mesh, described by vertices and face indices, with optional per-vertex normals, colors, and textures.
Definition at line 274 of file tango_3d_reconstruction_api.h.
Tango3DR_Color* Tango3DR_Mesh::colors |
Color buffer stored in RGBA order.
Definition at line 314 of file tango_3d_reconstruction_api.h.
Tango3DR_Face* Tango3DR_Mesh::faces |
Index buffer stored as a triangle list of 32 bit integers.
Definition at line 308 of file tango_3d_reconstruction_api.h.
uint32_t Tango3DR_Mesh::max_num_faces |
Maximum capacity of the faces
array.
Definition at line 299 of file tango_3d_reconstruction_api.h.
uint32_t Tango3DR_Mesh::max_num_textures |
Maximum capacity of the textures
Definition at line 302 of file tango_3d_reconstruction_api.h.
uint32_t Tango3DR_Mesh::max_num_vertices |
Maximum capacity of the vertices
array.
If normals
, colors
, or texture_coords
is nonnull, this corresponds to the maximum capacity in those arrays as well.
Definition at line 296 of file tango_3d_reconstruction_api.h.
Tango3DR_Vector3* Tango3DR_Mesh::normals |
Normal buffer stored in XYZ order.
Definition at line 311 of file tango_3d_reconstruction_api.h.
uint32_t Tango3DR_Mesh::num_faces |
Number of valid faces stored in the faces
array.
Definition at line 286 of file tango_3d_reconstruction_api.h.
uint32_t Tango3DR_Mesh::num_textures |
Number of valid textures stored in the textures
array.
Definition at line 289 of file tango_3d_reconstruction_api.h.
uint32_t Tango3DR_Mesh::num_vertices |
Number of valid vertices stored in the vertices
array.
If normals
, colors
, or texture_coords
is nonnull, this corresponds to the number of valid elements in those arrays as well.
Definition at line 283 of file tango_3d_reconstruction_api.h.
Tango3DR_TexCoord* Tango3DR_Mesh::texture_coords |
Texture coordinate buffer stored in UV order.
Definition at line 317 of file tango_3d_reconstruction_api.h.
int32_t* Tango3DR_Mesh::texture_ids |
Mapping of faces to texture images. -1 means no texture assigned.
Definition at line 320 of file tango_3d_reconstruction_api.h.
Tango3DR_ImageBuffer* Tango3DR_Mesh::textures |
Array of texture images.
Definition at line 323 of file tango_3d_reconstruction_api.h.
double Tango3DR_Mesh::timestamp |
The timestamp of mesh generation (in seconds).
Definition at line 276 of file tango_3d_reconstruction_api.h.
Tango3DR_Vector3* Tango3DR_Mesh::vertices |
Vertex buffer stored in XYZ order.
Definition at line 305 of file tango_3d_reconstruction_api.h.