Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Member Functions | Public Attributes
mrpt::opengl::CSetOfTriangles::TTriangle Struct Reference

Detailed Description

Triangle definition.

Each vertex has three spatial coordinates and four color values.

Definition at line 36 of file CSetOfTriangles.h.

#include <mrpt/opengl/CSetOfTriangles.h>

Public Member Functions

 TTriangle ()
 TTriangle (const mrpt::math::TPolygon3D &p)

Public Attributes

float x [3]
float y [3]
float z [3]
float r [3]
float g [3]
float b [3]
float a [3]

Constructor & Destructor Documentation

mrpt::opengl::CSetOfTriangles::TTriangle::TTriangle ( )

Definition at line 38 of file CSetOfTriangles.h.

mrpt::opengl::CSetOfTriangles::TTriangle::TTriangle ( const mrpt::math::TPolygon3D p)

Definition at line 43 of file CSetOfTriangles.h.

References ASSERT_.

Member Data Documentation

float mrpt::opengl::CSetOfTriangles::TTriangle::a[3]
float mrpt::opengl::CSetOfTriangles::TTriangle::b[3]
float mrpt::opengl::CSetOfTriangles::TTriangle::g[3]
float mrpt::opengl::CSetOfTriangles::TTriangle::r[3]
float mrpt::opengl::CSetOfTriangles::TTriangle::x[3]
float mrpt::opengl::CSetOfTriangles::TTriangle::y[3]
float mrpt::opengl::CSetOfTriangles::TTriangle::z[3]

Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018