Exchange Toolkit
Classes | Public Member Functions | List of all members
ts3d::TessFaceDataHelper Class Reference

This is a helper class used to more easily provide access to the indexed mesh data for a given face. More...

#include <ExchangeToolkit.h>

Classes

struct  TessEdge
 Index list of vertices for the tessellation of a specific edge. More...
 
struct  TessLoop
 A collection of TessEdge objects representing a single closed series of edges that bound a face. More...
 

Public Member Functions

std::vector< A3DUns32 > const & vertices (void) const
 Gets the list of vertex index values defining the triangles of the mesh for this face. The length of this vector should be a multiple of 3. Index values should be accessed as triplets, each value defining the offset in the TessBaseInstance::coords() array.
 
std::vector< A3DUns32 > const & normals (void) const
 Gets the list of vertex index values defining the normal vectors at each vertex location. The length of this vector should be a multiple of 3. Index values should be accessed as triplets, each value defining the offset in the Tess3DInstance::normals() array.
 
std::vector< A3DUns32 > const & textures (void) const
 Gets the list of texture coordinate values. More...
 
std::vector< TessLoop > const loops (void) const
 Provides a list of TessLoop objects representing the edge loops that bound this face.
 

Detailed Description

This is a helper class used to more easily provide access to the indexed mesh data for a given face.

Member Function Documentation

std::vector<A3DUns32> const& ts3d::TessFaceDataHelper::textures ( void  ) const
inline

Gets the list of texture coordinate values.

Todo:
Explain this better

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