vcg::TexCoord2< T, NMAX > Class Template Reference
[Space]

#include <texcoord2.h>

List of all members.

Public Types

enum  { n_coords = NMAX }
typedef Point2< T > PointType
typedef T ScalarType

Public Member Functions

short n (const int i) const
short & n (const int i)
short n () const
short & n ()
short N (const int i) const
short & N (const int i)
short N () const
short & N ()
bool operator!= (TexCoord2 const &p) const
bool operator< (TexCoord2 const &p) const
bool operator== (TexCoord2 const &p) const
PointTypeP (const int i)
const PointTypeP (const int i) const
PointTypeP ()
const PointTypeP () const
Point2< T > t () const
Point2< T > & t ()
Point2< T > t (const int i) const
Point2< T > & t (const int i)
 TexCoord2 ()
 TexCoord2 (T u, T v)
const T & u (const int i) const
T & u (const int i)
const T & u () const
T & u ()
const T & U (const int i) const
T & U (const int i)
const T & U () const
T & U ()
const T & v (const int i) const
T & v (const int i)
const T & v () const
T & v ()
const T & V (const int i) const
T & V (const int i)
const T & V () const
T & V ()

Private Attributes

short _n [NMAX]
PointType _t [NMAX]

Detailed Description

template<class T = float, int NMAX = 1>
class vcg::TexCoord2< T, NMAX >

Templated class for a set of 2D texture coord. It for each is templated over two parameters: the type of the tex coord and the number of texcoord to be stored. This class is intended to be used when many textures id are shared over the same surface, so for each coord the id of the texture is stored. If no id is needed see the vcg::TexCoord2Simple class.

Definition at line 40 of file texcoord2.h.


Member Typedef Documentation

template<class T = float, int NMAX = 1>
typedef Point2<T> vcg::TexCoord2< T, NMAX >::PointType

Definition at line 43 of file texcoord2.h.

template<class T = float, int NMAX = 1>
typedef T vcg::TexCoord2< T, NMAX >::ScalarType

Definition at line 44 of file texcoord2.h.


Member Enumeration Documentation

template<class T = float, int NMAX = 1>
anonymous enum
Enumerator:
n_coords 

Definition at line 121 of file texcoord2.h.


Constructor & Destructor Documentation

template<class T = float, int NMAX = 1>
vcg::TexCoord2< T, NMAX >::TexCoord2 ( u,
v 
) [inline]

Definition at line 52 of file texcoord2.h.

template<class T = float, int NMAX = 1>
vcg::TexCoord2< T, NMAX >::TexCoord2 (  )  [inline]

Definition at line 53 of file texcoord2.h.


Member Function Documentation

template<class T = float, int NMAX = 1>
short vcg::TexCoord2< T, NMAX >::n ( const int  i  )  const [inline]

Definition at line 91 of file texcoord2.h.

template<class T = float, int NMAX = 1>
short& vcg::TexCoord2< T, NMAX >::n ( const int  i  )  [inline]

Definition at line 90 of file texcoord2.h.

template<class T = float, int NMAX = 1>
short vcg::TexCoord2< T, NMAX >::n (  )  const [inline]

Definition at line 88 of file texcoord2.h.

template<class T = float, int NMAX = 1>
short& vcg::TexCoord2< T, NMAX >::n (  )  [inline]

Definition at line 87 of file texcoord2.h.

template<class T = float, int NMAX = 1>
short vcg::TexCoord2< T, NMAX >::N ( const int  i  )  const [inline]

Definition at line 74 of file texcoord2.h.

template<class T = float, int NMAX = 1>
short& vcg::TexCoord2< T, NMAX >::N ( const int  i  )  [inline]

Definition at line 73 of file texcoord2.h.

template<class T = float, int NMAX = 1>
short vcg::TexCoord2< T, NMAX >::N (  )  const [inline]

Definition at line 71 of file texcoord2.h.

template<class T = float, int NMAX = 1>
short& vcg::TexCoord2< T, NMAX >::N (  )  [inline]

Definition at line 70 of file texcoord2.h.

template<class T = float, int NMAX = 1>
bool vcg::TexCoord2< T, NMAX >::operator!= ( TexCoord2< T, NMAX > const &  p  )  const [inline]

Definition at line 107 of file texcoord2.h.

template<class T = float, int NMAX = 1>
bool vcg::TexCoord2< T, NMAX >::operator< ( TexCoord2< T, NMAX > const &  p  )  const [inline]

Definition at line 114 of file texcoord2.h.

template<class T = float, int NMAX = 1>
bool vcg::TexCoord2< T, NMAX >::operator== ( TexCoord2< T, NMAX > const &  p  )  const [inline]

Definition at line 100 of file texcoord2.h.

template<class T = float, int NMAX = 1>
PointType& vcg::TexCoord2< T, NMAX >::P ( const int  i  )  [inline]

Definition at line 59 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const PointType& vcg::TexCoord2< T, NMAX >::P ( const int  i  )  const [inline]

Definition at line 58 of file texcoord2.h.

template<class T = float, int NMAX = 1>
PointType& vcg::TexCoord2< T, NMAX >::P (  )  [inline]

Definition at line 56 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const PointType& vcg::TexCoord2< T, NMAX >::P (  )  const [inline]

Definition at line 55 of file texcoord2.h.

template<class T = float, int NMAX = 1>
Point2<T> vcg::TexCoord2< T, NMAX >::t (  )  const [inline]

Definition at line 97 of file texcoord2.h.

template<class T = float, int NMAX = 1>
Point2<T>& vcg::TexCoord2< T, NMAX >::t (  )  [inline]

Definition at line 96 of file texcoord2.h.

template<class T = float, int NMAX = 1>
Point2<T> vcg::TexCoord2< T, NMAX >::t ( const int  i  )  const [inline]

Definition at line 94 of file texcoord2.h.

template<class T = float, int NMAX = 1>
Point2<T>& vcg::TexCoord2< T, NMAX >::t ( const int  i  )  [inline]

Definition at line 93 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const T& vcg::TexCoord2< T, NMAX >::u ( const int  i  )  const [inline]

Definition at line 84 of file texcoord2.h.

template<class T = float, int NMAX = 1>
T& vcg::TexCoord2< T, NMAX >::u ( const int  i  )  [inline]

Definition at line 82 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const T& vcg::TexCoord2< T, NMAX >::u (  )  const [inline]

Definition at line 80 of file texcoord2.h.

template<class T = float, int NMAX = 1>
T& vcg::TexCoord2< T, NMAX >::u (  )  [inline]

Definition at line 78 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const T& vcg::TexCoord2< T, NMAX >::U ( const int  i  )  const [inline]

Definition at line 67 of file texcoord2.h.

template<class T = float, int NMAX = 1>
T& vcg::TexCoord2< T, NMAX >::U ( const int  i  )  [inline]

Definition at line 65 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const T& vcg::TexCoord2< T, NMAX >::U (  )  const [inline]

Definition at line 63 of file texcoord2.h.

template<class T = float, int NMAX = 1>
T& vcg::TexCoord2< T, NMAX >::U (  )  [inline]

Definition at line 61 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const T& vcg::TexCoord2< T, NMAX >::v ( const int  i  )  const [inline]

Definition at line 85 of file texcoord2.h.

template<class T = float, int NMAX = 1>
T& vcg::TexCoord2< T, NMAX >::v ( const int  i  )  [inline]

Definition at line 83 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const T& vcg::TexCoord2< T, NMAX >::v (  )  const [inline]

Definition at line 81 of file texcoord2.h.

template<class T = float, int NMAX = 1>
T& vcg::TexCoord2< T, NMAX >::v (  )  [inline]

Definition at line 79 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const T& vcg::TexCoord2< T, NMAX >::V ( const int  i  )  const [inline]

Definition at line 68 of file texcoord2.h.

template<class T = float, int NMAX = 1>
T& vcg::TexCoord2< T, NMAX >::V ( const int  i  )  [inline]

Definition at line 66 of file texcoord2.h.

template<class T = float, int NMAX = 1>
const T& vcg::TexCoord2< T, NMAX >::V (  )  const [inline]

Definition at line 64 of file texcoord2.h.

template<class T = float, int NMAX = 1>
T& vcg::TexCoord2< T, NMAX >::V (  )  [inline]

Definition at line 62 of file texcoord2.h.


Member Data Documentation

template<class T = float, int NMAX = 1>
short vcg::TexCoord2< T, NMAX >::_n[NMAX] [private]

Definition at line 49 of file texcoord2.h.

template<class T = float, int NMAX = 1>
PointType vcg::TexCoord2< T, NMAX >::_t[NMAX] [private]

Definition at line 48 of file texcoord2.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:07 2013