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 |
| mrpt::opengl::CSetOfTexturedTriangles::TVertex::TVertex | ( | ) | [inline] |
Default constructor.
Definition at line 61 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 64 of file CSetOfTexturedTriangles.h.
| void mrpt::opengl::CSetOfTexturedTriangles::TVertex::readFromStream | ( | CStream & | in | ) | [inline] |
Definition at line 72 of file CSetOfTexturedTriangles.h.
| void mrpt::opengl::CSetOfTexturedTriangles::TVertex::writeToStream | ( | CStream & | out | ) | const [inline] |
Definition at line 71 of file CSetOfTexturedTriangles.h.
2D texture coordinates.
Notice that the texture coordinates are 2D pixels!!!
Definition at line 69 of file CSetOfTexturedTriangles.h.
Definition at line 69 of file CSetOfTexturedTriangles.h.
3D vertex coordinates.
Definition at line 67 of file CSetOfTexturedTriangles.h.
Definition at line 67 of file CSetOfTexturedTriangles.h.
Definition at line 67 of file CSetOfTexturedTriangles.h.
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |