VCG Library 0.1
vcg::tri::UpdateTexture< ComputeMeshType > Class Template Reference

This class is used to update vertex position according to a transformation matrix. More...

#include <vcg/complex/trimesh/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 vertex position according to a transformation matrix.

Member Function Documentation

◆ WedgeTexRemoveNull()

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.


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

Generated on Mon Sep 27 08:13:16 2004 for VCG Library by doxygen 1.3.7