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.

Public Types

typedef MeshType::FaceIterator FaceIterator
typedef MeshType::FacePointer FacePointer
typedef MeshType::FaceType FaceType
typedef ComputeMeshType MeshType
typedef MeshType::ScalarType ScalarType
typedef MeshType::VertexIterator VertexIterator
typedef MeshType::VertexPointer VertexPointer
typedef MeshType::VertexType VertexType

Static Public Member Functions

static void WedgeTexFromCamera (ComputeMeshType &m, Plane3< ScalarType > &pl)
static void WedgeTexFromPlanar (ComputeMeshType &m, Plane3< ScalarType > &pl)
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.

Definition at line 43 of file texture.h.


Member Typedef Documentation

template<class ComputeMeshType >
typedef MeshType::FaceIterator vcg::tri::UpdateTexture< ComputeMeshType >::FaceIterator

Definition at line 54 of file texture.h.

template<class ComputeMeshType >
typedef MeshType::FacePointer vcg::tri::UpdateTexture< ComputeMeshType >::FacePointer

Definition at line 53 of file texture.h.

template<class ComputeMeshType >
typedef MeshType::FaceType vcg::tri::UpdateTexture< ComputeMeshType >::FaceType

Definition at line 52 of file texture.h.

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

Definition at line 47 of file texture.h.

template<class ComputeMeshType >
typedef MeshType::ScalarType vcg::tri::UpdateTexture< ComputeMeshType >::ScalarType

Definition at line 48 of file texture.h.

template<class ComputeMeshType >
typedef MeshType::VertexIterator vcg::tri::UpdateTexture< ComputeMeshType >::VertexIterator

Definition at line 51 of file texture.h.

template<class ComputeMeshType >
typedef MeshType::VertexPointer vcg::tri::UpdateTexture< ComputeMeshType >::VertexPointer

Definition at line 50 of file texture.h.

template<class ComputeMeshType >
typedef MeshType::VertexType vcg::tri::UpdateTexture< ComputeMeshType >::VertexType

Definition at line 49 of file texture.h.


Member Function Documentation

template<class ComputeMeshType >
static void vcg::tri::UpdateTexture< ComputeMeshType >::WedgeTexFromCamera ( ComputeMeshType &  m,
Plane3< ScalarType > &  pl 
) [inline, static]

Definition at line 66 of file texture.h.

template<class ComputeMeshType >
static void vcg::tri::UpdateTexture< ComputeMeshType >::WedgeTexFromPlanar ( ComputeMeshType &  m,
Plane3< ScalarType > &  pl 
) [inline, static]

Definition at line 56 of file texture.h.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:36 2013