Triangle vertex.
This structure encapsulates the vertex coordinates and the image pixels.
Definition at line 35 of file CSetOfTexturedTriangles.h.
#include <mrpt/opengl/CSetOfTexturedTriangles.h>
Public Member Functions | |
| TVertex () | |
| Default constructor More... | |
| TVertex (float x, float y, float z, uint32_t u, uint32_t v) | |
| void | writeToStream (mrpt::utils::CStream &out) const |
| void | readFromStream (mrpt::utils::CStream &in) |
Public Attributes | |
| float | m_x |
| float | m_y |
| float | m_z |
| 3D vertex coordinates. More... | |
| uint32_t | m_u |
| uint32_t | m_v |
| 2D texture coordinates. Notice that the texture coordinates are 2D pixels!!! More... | |
| mrpt::opengl::CSetOfTexturedTriangles::TVertex::TVertex | ( | ) |
Default constructor
| mrpt::opengl::CSetOfTexturedTriangles::TVertex::TVertex | ( | float | x, |
| float | y, | ||
| float | z, | ||
| uint32_t | u, | ||
| uint32_t | v | ||
| ) |
| void mrpt::opengl::CSetOfTexturedTriangles::TVertex::readFromStream | ( | mrpt::utils::CStream & | in | ) |
| void mrpt::opengl::CSetOfTexturedTriangles::TVertex::writeToStream | ( | mrpt::utils::CStream & | out | ) | const |
| uint32_t mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_u |
Definition at line 40 of file CSetOfTexturedTriangles.h.
| uint32_t mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_v |
2D texture coordinates. Notice that the texture coordinates are 2D pixels!!!
Definition at line 40 of file CSetOfTexturedTriangles.h.
| float mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_x |
Definition at line 39 of file CSetOfTexturedTriangles.h.
| float mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_y |
Definition at line 39 of file CSetOfTexturedTriangles.h.
| float mrpt::opengl::CSetOfTexturedTriangles::TVertex::m_z |
3D vertex coordinates.
Definition at line 39 of file CSetOfTexturedTriangles.h.
| Page generated by Doxygen 1.9.1 for MRPT 1.4.0 SVN: at Fri Sep 3 01:11:30 UTC 2021 |