vcg::edge::Pos< EDGETYPE > Class Template Reference

#include <pos.h>

List of all members.

Public Types

typedef Pos< EDGETYPE > POSTYPE
typedef EDGETYPE::VertexType VertexType
 The vertex type.

Public Member Functions

void Assert ()
void FlipE ()
void FlipV ()
 Changes edge maintaining the same face and the same vertex.
bool IsNull () const
 Check if the half-edge is null.
void NextB ()
 Finds the next half-edge border.
void NextE ()
 Change face via z.
bool operator!= (POSTYPE const &p) const
 Operator to compare two half-edge.
bool operator<= (POSTYPE const &p) const
 Operator to order half-edge; it's compare at the first the face pointers, then the index of the edge and finally the vertex pointers.
POSTYPEoperator= (const POSTYPE &h)
 Assignment operator.
bool operator== (POSTYPE const &p) const
 Operator to compare two half-edge.
 Pos (EDGETYPE *const ep, int const zp, VertexType *const vp)
 Constructor which associates the half-edge elementet with a face, its edge and its vertex.
 Pos ()
 Default constructor.
void Set (EDGETYPE *const ep, VertexType *const vp)
 Checks if the half-edge is of border.
void SetNull ()
 Set to null the half-edge.
VertexTypeVFlip ()
int Z ()

Public Attributes

EDGETYPE * e
 Pointer to the face of the half-edge.
VertexTypev
 Pointer to the vertex.

Detailed Description

template<class EDGETYPE>
class vcg::edge::Pos< EDGETYPE >

Class Pos. This structure is equivalent to a half-edge.

Parameters:
MFTYPE (Template-Parameter) Specifies the type of the edges

Definition at line 83 of file vcg/simplex/edge/pos.h.


Member Typedef Documentation

template<class EDGETYPE >
typedef Pos< EDGETYPE> vcg::edge::Pos< EDGETYPE >::POSTYPE

Definition at line 90 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
typedef EDGETYPE::VertexType vcg::edge::Pos< EDGETYPE >::VertexType

The vertex type.

Definition at line 88 of file vcg/simplex/edge/pos.h.


Constructor & Destructor Documentation

template<class EDGETYPE >
vcg::edge::Pos< EDGETYPE >::Pos (  )  [inline]

Default constructor.

Definition at line 102 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
vcg::edge::Pos< EDGETYPE >::Pos ( EDGETYPE *const   ep,
int const   zp,
VertexType *const   vp 
) [inline]

Constructor which associates the half-edge elementet with a face, its edge and its vertex.

Definition at line 104 of file vcg/simplex/edge/pos.h.


Member Function Documentation

template<class EDGETYPE >
void vcg::edge::Pos< EDGETYPE >::Assert (  )  [inline]

Definition at line 240 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
void vcg::edge::Pos< EDGETYPE >::FlipE (  )  [inline]

Definition at line 162 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
void vcg::edge::Pos< EDGETYPE >::FlipV (  )  [inline]

Changes edge maintaining the same face and the same vertex.

Definition at line 158 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
bool vcg::edge::Pos< EDGETYPE >::IsNull (  )  const [inline]

Check if the half-edge is null.

Definition at line 134 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
void vcg::edge::Pos< EDGETYPE >::NextB (  )  [inline]

Finds the next half-edge border.

Definition at line 189 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
void vcg::edge::Pos< EDGETYPE >::NextE (  )  [inline]

Change face via z.

Definition at line 141 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
bool vcg::edge::Pos< EDGETYPE >::operator!= ( POSTYPE const &  p  )  const [inline]

Operator to compare two half-edge.

Definition at line 113 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
bool vcg::edge::Pos< EDGETYPE >::operator<= ( POSTYPE const &  p  )  const [inline]

Operator to order half-edge; it's compare at the first the face pointers, then the index of the edge and finally the vertex pointers.

Definition at line 117 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
POSTYPE& vcg::edge::Pos< EDGETYPE >::operator= ( const POSTYPE h  )  [inline]

Assignment operator.

Definition at line 123 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
bool vcg::edge::Pos< EDGETYPE >::operator== ( POSTYPE const &  p  )  const [inline]

Operator to compare two half-edge.

Definition at line 108 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
void vcg::edge::Pos< EDGETYPE >::Set ( EDGETYPE *const   ep,
VertexType *const   vp 
) [inline]

Checks if the half-edge is of border.

Return the dimension of the star Function to inizialize an half-edge.

Parameters:
fp Puntatore alla faccia
zp Indice dell'edge
vp Puntatore al vertice

Definition at line 235 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
void vcg::edge::Pos< EDGETYPE >::SetNull (  )  [inline]

Set to null the half-edge.

Definition at line 129 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
VertexType* vcg::edge::Pos< EDGETYPE >::VFlip (  )  [inline]

Definition at line 171 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
int vcg::edge::Pos< EDGETYPE >::Z (  )  [inline]

Definition at line 167 of file vcg/simplex/edge/pos.h.


Member Data Documentation

template<class EDGETYPE >
EDGETYPE* vcg::edge::Pos< EDGETYPE >::e

Pointer to the face of the half-edge.

Definition at line 97 of file vcg/simplex/edge/pos.h.

template<class EDGETYPE >
VertexType* vcg::edge::Pos< EDGETYPE >::v

Pointer to the vertex.

Definition at line 99 of file vcg/simplex/edge/pos.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:12 2013