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 tx, unsigned int ty)
 Constructor.

Public Attributes

float m_x
 3D vertex coordinates.
float m_y
float m_z
unsigned int m_tx
 2D texture coordinates.
unsigned int m_ty


Detailed Description

Triangle vertex.

This structure encapsulates the vertex coordinates and the image pixels.

Definition at line 54 of file CSetOfTexturedTriangles.h.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 58 of file CSetOfTexturedTriangles.h.

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

Constructor.

Definition at line 62 of file CSetOfTexturedTriangles.h.


Member Data Documentation

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 66 of file CSetOfTexturedTriangles.h.

Definition at line 66 of file CSetOfTexturedTriangles.h.

Definition at line 66 of file CSetOfTexturedTriangles.h.




Page generated by Doxygen 1.5.7.1 for MRPT 0.7.1 SVN: at Mon Aug 17 23:10:56 EDT 2009