VCG Library
Static Public Member Functions | List of all members
vcg::tri::UpdateTexture< ComputeMeshType > Class Template Reference

This class is used to update/generate texcoord position according to various critera. . More...

#include <vcg/complex/algorithms/update/texture.h>

Static Public Member Functions

static void WedgeTexRemoveNull (ComputeMeshType &m, const std::string &texturename)
 

Detailed Description

template<class ComputeMeshType>
class vcg::tri::UpdateTexture< ComputeMeshType >

This class is used to update/generate texcoord position according to various critera. .

Definition at line 39 of file texture.h.

Member Function Documentation

template<class ComputeMeshType >
static void vcg::tri::UpdateTexture< ComputeMeshType >::WedgeTexRemoveNull ( ComputeMeshType &  m,
const std::string &  texturename 
)
inlinestatic

Currently texture coords are kept for ALL the triangles of a mesh. The texture id is stored with each face. if a given face should not have tex coord it has the default -1 value for texture ID. This function will add an new fake texture, add that to the list of textures and change all the -1 id to that value.

Definition at line 118 of file texture.h.


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