Triangle vertex.
This structure encapsulates the vertex coordinates and the image pixels.
Definition at line 53 of file CSetOfTexturedTriangles.h.
#include <mrpt/opengl/CSetOfTexturedTriangles.h>
Public Member Functions | |
TVertex () | |
Default constructor. | |
TVertex (float x, float y, float z, uint32_t u, uint32_t v) | |
Constructor. | |
void | writeToStream (CStream &out) const |
void | readFromStream (CStream &in) |
Public Attributes | |
float | m_x |
3D vertex coordinates. | |
float | m_y |
float | m_z |
uint32_t | m_u |
2D texture coordinates. | |
uint32_t | m_v |
mrpt::opengl::CSetOfTexturedTriangles::TVertex::TVertex | ( | ) | [inline] |
Default constructor.
Definition at line 56 of file CSetOfTexturedTriangles.h.
mrpt::opengl::CSetOfTexturedTriangles::TVertex::TVertex | ( | float | x, |
float | y, | ||
float | z, | ||
uint32_t | u, | ||
uint32_t | v | ||
) | [inline] |
Constructor.
Definition at line 59 of file CSetOfTexturedTriangles.h.
void mrpt::opengl::CSetOfTexturedTriangles::TVertex::readFromStream | ( | CStream & | in | ) | [inline] |
Definition at line 67 of file CSetOfTexturedTriangles.h.
void mrpt::opengl::CSetOfTexturedTriangles::TVertex::writeToStream | ( | CStream & | out | ) | const [inline] |
Definition at line 66 of file CSetOfTexturedTriangles.h.
2D texture coordinates.
Notice that the texture coordinates are 2D pixels!!!
Definition at line 64 of file CSetOfTexturedTriangles.h.
Definition at line 64 of file CSetOfTexturedTriangles.h.
3D vertex coordinates.
Definition at line 62 of file CSetOfTexturedTriangles.h.
Definition at line 62 of file CSetOfTexturedTriangles.h.
Definition at line 62 of file CSetOfTexturedTriangles.h.
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011 |