vcg::tri::UpdateTexture< ComputeMeshType > Class Template Reference
[Trimesh]
This class is used to update vertex position according to a transformation matrix.
More...
#include <vcg/complex/trimesh/update/texture.h>
List of all members.
Detailed Description
template<class ComputeMeshType>
class vcg::tri::UpdateTexture< ComputeMeshType >
This class is used to update vertex position according to a transformation matrix.
Definition at line 43 of file texture.h.
Member Typedef Documentation
template<class ComputeMeshType >
template<class ComputeMeshType >
template<class ComputeMeshType >
template<class ComputeMeshType >
template<class ComputeMeshType >
template<class ComputeMeshType >
template<class ComputeMeshType >
template<class ComputeMeshType >
Member Function Documentation
template<class ComputeMeshType >
template<class ComputeMeshType >
template<class ComputeMeshType >
static void vcg::tri::UpdateTexture< ComputeMeshType >::WedgeTexRemoveNull |
( |
ComputeMeshType & |
m, |
|
|
const std::string & |
texturename | |
|
) |
| | [inline, static] |
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 75 of file texture.h.
The documentation for this class was generated from the following file: