VCG Library
Public Member Functions | List of all members
vcg::vertex::TexCoord< A, TT > Class Template Reference

Generic Component: Per vertex Texture Coords More...

#include <component.h>

Inherits TT.

Public Member Functions

const TexCoordType & T () const
 Return a const reference to the Texture Coordinate.
 

Detailed Description

template<class A, class TT>
class vcg::vertex::TexCoord< A, TT >

Generic Component: Per vertex Texture Coords

Note that to have multiple different TexCoord for a single vertex (as it happens on atlas where a vertex can belong to two triangles mapped on different portionof the texture) you have two options:

It is templated on the TextureCoord type. Usually you use the specialized classes TexCoord2f or TexCoord2d; See the TexCoord2 class to see how to access to texture coordinate values.

Definition at line 286 of file vertex/component.h.

Member Function Documentation

template<class A, class TT>
const TexCoordType& vcg::vertex::TexCoord< A, TT >::T ( ) const
inline

Return a const reference to the Texture Coordinate.

Definition at line 291 of file vertex/component.h.


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