eos  0.7.1
Public Attributes | List of all members
eos::render::Mesh Struct Reference

This class represents a 3D mesh consisting of vertices, vertex colour information and texture coordinates. More...

#include <Mesh.hpp>

Public Attributes

std::vector< cv::Vec4f > vertices
 3D vertex positions.
 
std::vector< cv::Vec3f > colors
 Colour information for each vertex. Expected to be in RGB order.
 
std::vector< cv::Vec2f > texcoords
 Texture coordinates for each vertex.
 
std::vector< std::array< int, 3 > > tvi
 Triangle vertex indices.
 
std::vector< std::array< int, 3 > > tci
 Triangle color indices.
 

Detailed Description

This class represents a 3D mesh consisting of vertices, vertex colour information and texture coordinates.

Additionally it stores the indices that specify which vertices to use to generate the triangle mesh out of the vertices.


The documentation for this struct was generated from the following file: