Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
vcg::vertex::TexCoord< A, TT > Class Template Reference

Generic Component: Per vertex Texture Coords More...

#include <component.h>

Inheritance diagram for vcg::vertex::TexCoord< A, TT >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef A TexCoordType

Public Member Functions

TexCoordType cT () const
template<class RightValueType >
void ImportData (const RightValueType &rVert)
const TexCoordTypeT () const
 Return a const reference to the Texture Coordinate.
TexCoordTypeT ()

Static Public Member Functions

static bool HasTexCoord ()
static void Name (std::vector< std::string > &name)

Private Attributes

TexCoordType _t

Detailed Description

template<class A, class TT>
class vcg::vertex::TexCoord< A, TT >

Generic Component: Per vertex Texture Coords

Note that to have multiple different TexCoord for a single vertex (as it happens on atlas where a vertex can belong to two triangles mapped on different portionof the texture) you have two options:

It is templated on the TextureCoord type. Usually you use the specialized classes TexCoord2f or TexCoord2d; See the TexCoord2 class to see how to access to texture coordinate values.

Definition at line 286 of file vertex/component.h.


Member Typedef Documentation

template<class A, class TT>
typedef A vcg::vertex::TexCoord< A, TT >::TexCoordType

Definition at line 288 of file vertex/component.h.


Member Function Documentation

template<class A, class TT>
TexCoordType vcg::vertex::TexCoord< A, TT >::cT ( ) const [inline]

Definition at line 293 of file vertex/component.h.

template<class A, class TT>
static bool vcg::vertex::TexCoord< A, TT >::HasTexCoord ( ) [inline, static]

Definition at line 296 of file vertex/component.h.

template<class A, class TT>
template<class RightValueType >
void vcg::vertex::TexCoord< A, TT >::ImportData ( const RightValueType &  rVert) [inline]

Reimplemented in vcg::vertex::VFAdj< Arity4< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f > >, vcg::vertex::VFAdj< Arity3< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f > >, vcg::vertex::Quality< float, Arity5< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj > >, vcg::vertex::Quality< float, Arity4< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj > >, vcg::vertex::Quality< double, Arity5< vertex::EmptyCore< MyUsedTypes >, vertex::Coord3d, vertex::Normal3d, vertex::BitFlags, vertex::VFAdj, vertex::TexCoord2d > >, vcg::vertex::Color< vcg::Color4b, Arity5< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf > >, vcg::vertex::Color< vcg::Color4b, Arity6< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf > >, vcg::vertex::BitFlags< Arity7< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf, vertex::Color4b > >, vcg::vertex::BitFlags< Arity6< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf, vertex::Color4b > >, and vcg::vertex::BitFlags< Arity3< vertex::EmptyCore< MyUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f > >.

Definition at line 295 of file vertex/component.h.

template<class A, class TT>
static void vcg::vertex::TexCoord< A, TT >::Name ( std::vector< std::string > &  name) [inline, static]

Reimplemented in vcg::vertex::VFAdj< Arity4< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f > >, vcg::vertex::VFAdj< Arity3< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f > >, vcg::vertex::Qualityd< Arity5< vertex::EmptyCore< MyUsedTypes >, vertex::Coord3d, vertex::Normal3d, vertex::BitFlags, vertex::VFAdj, vertex::TexCoord2d > >, vcg::vertex::Qualityf< Arity5< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj > >, vcg::vertex::Qualityf< Arity4< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj > >, vcg::vertex::Quality< float, Arity5< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj > >, vcg::vertex::Quality< float, Arity4< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj > >, vcg::vertex::Quality< double, Arity5< vertex::EmptyCore< MyUsedTypes >, vertex::Coord3d, vertex::Normal3d, vertex::BitFlags, vertex::VFAdj, vertex::TexCoord2d > >, vcg::vertex::Color4b< Arity6< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf > >, vcg::vertex::Color4b< Arity5< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf > >, vcg::vertex::Color< vcg::Color4b, Arity5< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf > >, vcg::vertex::Color< vcg::Color4b, Arity6< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf > >, vcg::vertex::BitFlags< Arity7< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf, vertex::Color4b > >, vcg::vertex::BitFlags< Arity6< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f, vertex::VFAdj, vertex::Qualityf, vertex::Color4b > >, vcg::vertex::BitFlags< Arity3< vertex::EmptyCore< MyUsedTypes >, vertex::Coord3f, vertex::Normal3f, vertex::TexCoord2f > >, vcg::vertex::TexCoord2d< TT >, vcg::vertex::TexCoord2d< Arity4< vertex::EmptyCore< MyUsedTypes >, vertex::Coord3d, vertex::Normal3d, vertex::BitFlags, vertex::VFAdj > >, vcg::vertex::TexCoord2f< TT >, vcg::vertex::TexCoord2f< Arity2< vertex::EmptyCore< VoroUsedTypes >, vertex::Coord3f, vertex::Normal3f > >, vcg::vertex::TexCoord2f< Arity3< vertex::EmptyCore< MyUsedTypes >, vertex::InfoOcf, vertex::Coord3f, vertex::Normal3f > >, vcg::vertex::TexCoord2f< Arity2< vertex::EmptyCore< MyUsedTypes >, vertex::Coord3f, vertex::Normal3f > >, and vcg::vertex::TexCoord2s< TT >.

Definition at line 297 of file vertex/component.h.

template<class A, class TT>
const TexCoordType& vcg::vertex::TexCoord< A, TT >::T ( ) const [inline]

Return a const reference to the Texture Coordinate.

Definition at line 291 of file vertex/component.h.

template<class A, class TT>
TexCoordType& vcg::vertex::TexCoord< A, TT >::T ( ) [inline]

Definition at line 292 of file vertex/component.h.


Member Data Documentation

template<class A, class TT>
TexCoordType vcg::vertex::TexCoord< A, TT >::_t [private]

Definition at line 300 of file vertex/component.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:44:14