Main MRPT website > C++ reference
MRPT logo

mrpt::opengl::CSetOfTexturedTriangles::TVertex Struct Reference

Triangle vertex. More...

#include <mrpt/opengl/CSetOfTexturedTriangles.h>

List of all members.

Public Member Functions

 TVertex ()
 Default constructor.
 TVertex (float x, float y, float z, unsigned int u, unsigned int v)
 Constructor.

Public Attributes

float m_x
 3D vertex coordinates.
float m_y
float m_z
unsigned int m_u
 2D texture coordinates.
unsigned int m_v

Detailed Description

Triangle vertex.

This structure encapsulates the vertex coordinates and the image pixels.

Definition at line 53 of file CSetOfTexturedTriangles.h.


Constructor & Destructor Documentation

mrpt::opengl::CSetOfTexturedTriangles::TVertex::TVertex (  )  [inline]

Default constructor.

Definition at line 57 of file CSetOfTexturedTriangles.h.

mrpt::opengl::CSetOfTexturedTriangles::TVertex::TVertex ( float  x,
float  y,
float  z,
unsigned int  u,
unsigned int  v 
) [inline]

Constructor.

Definition at line 61 of file CSetOfTexturedTriangles.h.


Member Data Documentation

2D texture coordinates.

Notice that the texture coordinates are 2D pixels!!!

Definition at line 68 of file CSetOfTexturedTriangles.h.

Definition at line 68 of file CSetOfTexturedTriangles.h.

3D vertex coordinates.

Definition at line 65 of file CSetOfTexturedTriangles.h.

Definition at line 65 of file CSetOfTexturedTriangles.h.

Definition at line 65 of file CSetOfTexturedTriangles.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010