The references to the two vertexes of a edge. More...
#include <component.h>
Public Types | |
typedef T::VertexType::CoordType | CoordType |
typedef T::VertexType::ScalarType | ScalarType |
Public Member Functions | |
const CoordType & | cP (const int j) const |
const CoordType & | cP0 (const int j) const |
const CoordType & | cP1 (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) |
CoordType & | P (const int j) |
CoordType & | P0 (const int j) |
Shortcut per accedere ai punti delle facce. | |
const CoordType & | P0 (const int j) const |
CoordType & | P1 (const int j) |
const CoordType & | P1 (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] |
The references to the two vertexes of a edge.
Stored as pointers to the VertexType
Definition at line 109 of file edge/component.h.
typedef T::VertexType::CoordType vcg::edge::VertexRef< T >::CoordType |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 116 of file edge/component.h.
typedef T::VertexType::ScalarType vcg::edge::VertexRef< T >::ScalarType |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 117 of file edge/component.h.
vcg::edge::VertexRef< T >::VertexRef | ( | ) | [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 111 of file edge/component.h.
const CoordType& vcg::edge::VertexRef< T >::cP | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 125 of file edge/component.h.
const CoordType& vcg::edge::VertexRef< T >::cP0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 142 of file edge/component.h.
const CoordType& vcg::edge::VertexRef< T >::cP1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 143 of file edge/component.h.
T::VertexType* vcg::edge::VertexRef< T >::cV | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 121 of file edge/component.h.
const T::VertexType* const& vcg::edge::VertexRef< T >::cV0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 134 of file edge/component.h.
const T::VertexType* const& vcg::edge::VertexRef< T >::cV1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 135 of file edge/component.h.
static bool vcg::edge::VertexRef< T >::HasEVAdjacency | ( | ) | [inline, static] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 148 of file edge/component.h.
static bool vcg::edge::VertexRef< T >::HasVertexRef | ( | ) | [inline, static] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 149 of file edge/component.h.
void vcg::edge::VertexRef< T >::ImportData | ( | const LeftF & | leftF | ) | [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 146 of file edge/component.h.
static void vcg::edge::VertexRef< T >::Name | ( | std::vector< std::string > & | name | ) | [inline, static] |
Reimplemented in vcg::edge::EEAdj< Arity2< edge::EmptyCore< MyUsedTypes >, edge::VertexRef, edge::VEAdj > >, vcg::edge::EEAdj< Arity2< edge::EmptyCore< MyUsedTypes >, edge::VertexRef, edge::BitFlags > >, vcg::edge::VEAdj< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >, vcg::edge::BitFlags< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >, vcg::edge::BitFlags< Arity3< edge::EmptyCore< MyUsedTypes >, edge::VertexRef, edge::VEAdj, edge::EEAdj > >, and vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 150 of file edge/component.h.
CoordType& vcg::edge::VertexRef< T >::P | ( | const int | j | ) | [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 124 of file edge/component.h.
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.
const CoordType& vcg::edge::VertexRef< T >::P0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 140 of file edge/component.h.
CoordType& vcg::edge::VertexRef< T >::P1 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 139 of file edge/component.h.
const CoordType& vcg::edge::VertexRef< T >::P1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 141 of file edge/component.h.
T::VertexType* & vcg::edge::VertexRef< T >::V | ( | const int | j | ) | [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 119 of file edge/component.h.
T::VertexType* const& vcg::edge::VertexRef< T >::V | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 120 of file edge/component.h.
T::VertexType* & vcg::edge::VertexRef< T >::V0 | ( | const int | j | ) | [inline] |
Return the pointer to the ((j+1)%3)-th vertex of the face.
j | Index of the face vertex. |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 130 of file edge/component.h.
const T::VertexType* const& vcg::edge::VertexRef< T >::V0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 132 of file edge/component.h.
T::VertexType* & vcg::edge::VertexRef< T >::V1 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 131 of file edge/component.h.
const T::VertexType* const& vcg::edge::VertexRef< T >::V1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 133 of file edge/component.h.
T::VertexType* vcg::edge::VertexRef< T >::v[2] [private] |
Reimplemented in vcg::edge::VertexRef< Arity1< edge::EmptyCore< MyUsedTypes >, edge::VertexRef > >.
Definition at line 154 of file edge/component.h.