Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
vcg::edge::VertexRef< T > Class Template Reference

The references to the two vertexes of a edge. More...

#include <component.h>

Inheritance diagram for vcg::edge::VertexRef< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T::VertexType::CoordType CoordType
typedef T::VertexType::ScalarType ScalarType

Public Member Functions

const CoordTypecP (const int j) const
const CoordTypecP0 (const int j) const
const CoordTypecP1 (const int j) const
T::VertexType * cV (const int j) const
const T::VertexType *const & cV0 (const int j) const
const T::VertexType *const & cV1 (const int j) const
template<class LeftF >
void ImportData (const LeftF &leftF)
CoordTypeP (const int j)
CoordTypeP0 (const int j)
 Shortcut per accedere ai punti delle facce.
const CoordTypeP0 (const int j) const
CoordTypeP1 (const int j)
const CoordTypeP1 (const int j) const
T::VertexType *& V (const int j)
T::VertexType *const & V (const int j) const
T::VertexType *& V0 (const int j)
const T::VertexType *const & V0 (const int j) const
T::VertexType *& V1 (const int j)
const T::VertexType *const & V1 (const int j) const
 VertexRef ()

Static Public Member Functions

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

Private Attributes

T::VertexType * v [2]

Detailed Description

template<class T>
class vcg::edge::VertexRef< T >

The references to the two vertexes of a edge.

Stored as pointers to the VertexType

Definition at line 109 of file edge/component.h.


Member Typedef Documentation

template<class T>
typedef T::VertexType::CoordType vcg::edge::VertexRef< T >::CoordType

Constructor & Destructor Documentation

template<class T>
vcg::edge::VertexRef< T >::VertexRef ( ) [inline]

Member Function Documentation

template<class T>
const CoordType& vcg::edge::VertexRef< T >::cP ( const int  j) const [inline]
template<class T>
const CoordType& vcg::edge::VertexRef< T >::cP0 ( const int  j) const [inline]
template<class T>
const CoordType& vcg::edge::VertexRef< T >::cP1 ( const int  j) const [inline]
template<class T>
T::VertexType* vcg::edge::VertexRef< T >::cV ( const int  j) const [inline]
template<class T>
const T::VertexType* const& vcg::edge::VertexRef< T >::cV0 ( const int  j) const [inline]
template<class T>
const T::VertexType* const& vcg::edge::VertexRef< T >::cV1 ( const int  j) const [inline]
template<class T>
static bool vcg::edge::VertexRef< T >::HasEVAdjacency ( ) [inline, static]
template<class T>
static bool vcg::edge::VertexRef< T >::HasVertexRef ( ) [inline, static]
template<class T>
template<class LeftF >
void vcg::edge::VertexRef< T >::ImportData ( const LeftF &  leftF) [inline]
template<class T>
static void vcg::edge::VertexRef< T >::Name ( std::vector< std::string > &  name) [inline, static]
template<class T>
CoordType& vcg::edge::VertexRef< T >::P ( const int  j) [inline]
template<class T>
CoordType& vcg::edge::VertexRef< T >::P0 ( const int  j) [inline]

Shortcut per accedere ai punti delle facce.

Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.

Definition at line 138 of file edge/component.h.

template<class T>
const CoordType& vcg::edge::VertexRef< T >::P0 ( const int  j) const [inline]
template<class T>
CoordType& vcg::edge::VertexRef< T >::P1 ( const int  j) [inline]
template<class T>
const CoordType& vcg::edge::VertexRef< T >::P1 ( const int  j) const [inline]
template<class T>
T::VertexType* & vcg::edge::VertexRef< T >::V ( const int  j) [inline]
template<class T>
T::VertexType* const& vcg::edge::VertexRef< T >::V ( const int  j) const [inline]
template<class T>
T::VertexType* & vcg::edge::VertexRef< T >::V0 ( const int  j) [inline]

Return the pointer to the ((j+1)%3)-th vertex of the face.

Parameters:
jIndex of the face vertex.

Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.

Definition at line 130 of file edge/component.h.

template<class T>
const T::VertexType* const& vcg::edge::VertexRef< T >::V0 ( const int  j) const [inline]
template<class T>
T::VertexType* & vcg::edge::VertexRef< T >::V1 ( const int  j) [inline]
template<class T>
const T::VertexType* const& vcg::edge::VertexRef< T >::V1 ( const int  j) const [inline]

Member Data Documentation

template<class T>
T::VertexType* vcg::edge::VertexRef< T >::v[2] [private]

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:41:26