Triangle vertex.
This structure encapsulates the vertex coordinates and the image pixels.
Definition at line 58 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 |
|
inline |
Default constructor.
Definition at line 61 of file CSetOfTexturedTriangles.h.
|
inline |
Constructor.
Definition at line 64 of file CSetOfTexturedTriangles.h.
|
inline |
Definition at line 72 of file CSetOfTexturedTriangles.h.
|
inline |
Definition at line 71 of file CSetOfTexturedTriangles.h.
| uint32_t mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_u |
2D texture coordinates.
Notice that the texture coordinates are 2D pixels!!!
Definition at line 69 of file CSetOfTexturedTriangles.h.
| uint32_t mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_v |
Definition at line 69 of file CSetOfTexturedTriangles.h.
| float mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_x |
3D vertex coordinates.
Definition at line 67 of file CSetOfTexturedTriangles.h.
| float mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_y |
Definition at line 67 of file CSetOfTexturedTriangles.h.
| float mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_z |
Definition at line 67 of file CSetOfTexturedTriangles.h.
| Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013 |