Public Types | Static Public Member Functions
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>

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 WedgeTexFromPlane (ComputeMeshType &m, const Point3< ScalarType > &uVec, const Point3< ScalarType > &vVec, bool aspectRatio, ScalarType sideGutter=0.0)
static void WedgeTexFromVertexTex (ComputeMeshType &m)
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 vcg/complex/algorithms/update/texture.h.


Member Typedef Documentation

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

Definition at line 50 of file vcg/complex/algorithms/update/texture.h.

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

Definition at line 49 of file vcg/complex/algorithms/update/texture.h.

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

Definition at line 48 of file vcg/complex/algorithms/update/texture.h.

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

Definition at line 43 of file vcg/complex/algorithms/update/texture.h.

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

Definition at line 44 of file vcg/complex/algorithms/update/texture.h.

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

Definition at line 47 of file vcg/complex/algorithms/update/texture.h.

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

Definition at line 46 of file vcg/complex/algorithms/update/texture.h.

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

Definition at line 45 of file vcg/complex/algorithms/update/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 100 of file vcg/complex/algorithms/update/texture.h.

template<class ComputeMeshType >
static void vcg::tri::UpdateTexture< ComputeMeshType >::WedgeTexFromPlane ( ComputeMeshType &  m,
const Point3< ScalarType > &  uVec,
const Point3< ScalarType > &  vVec,
bool  aspectRatio,
ScalarType  sideGutter = 0.0 
) [inline, static]

Definition at line 52 of file vcg/complex/algorithms/update/texture.h.

template<class ComputeMeshType >
static void vcg::tri::UpdateTexture< ComputeMeshType >::WedgeTexFromVertexTex ( ComputeMeshType &  m) [inline, static]

Definition at line 105 of file vcg/complex/algorithms/update/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 122 of file vcg/complex/algorithms/update/texture.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:43:54