MRPT  1.9.9
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 30 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

◆ TTriangle() [1/2]

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

Definition at line 32 of file CSetOfTriangles.h.

◆ TTriangle() [2/2]

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

Definition at line 39 of file CSetOfTriangles.h.

References ASSERT_.

Member Data Documentation

◆ a

float mrpt::opengl::CSetOfTriangles::TTriangle::a[3]

◆ b

float mrpt::opengl::CSetOfTriangles::TTriangle::b[3]

◆ g

float mrpt::opengl::CSetOfTriangles::TTriangle::g[3]

◆ r

float mrpt::opengl::CSetOfTriangles::TTriangle::r[3]

◆ x

float mrpt::opengl::CSetOfTriangles::TTriangle::x[3]

◆ y

float mrpt::opengl::CSetOfTriangles::TTriangle::y[3]

◆ z

float mrpt::opengl::CSetOfTriangles::TTriangle::z[3]



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 45d659fbb Tue Dec 10 18:21:14 2019 +0100 at mar dic 10 18:30:09 CET 2019