vcg::tetra::VTIterator< MTTYPE > Class Template Reference
[Tetra]

#include <pos.h>

List of all members.

Public Types

typedef MTTYPE TetraType
 The tetrahedron type.

Public Member Functions

bool End ()
void operator++ ()
 move on the next tetrahedron that share the vertex
const int & Vi () const
 Return the index of vertex as seen from the tetrahedron.
int & Vi ()
 Return the index of vertex as seen from the tetrahedron.
TetraType *& Vt ()
 Return the tetrahedron stored in the half edge.
 VTIterator (TetraType *const tp, int const zp)
 Constructor which associates the EdgePos elementet with a face and its edge.
 VTIterator ()
 Default Constructor.
 ~VTIterator ()

Private Attributes

int _vi
 Index of one vertex.
TetraType_vt
 Pointer to a tetrahedron.

Detailed Description

template<class MTTYPE>
class vcg::tetra::VTIterator< MTTYPE >

Class VTIterator. This is a vertex - tetrahedron iterator

Parameters:
MTTYPE (Template Parameter) Specifies the type of the tetrahedron.

Definition at line 45 of file vcg/simplex/tetrahedron/pos.h.


Member Typedef Documentation

template<class MTTYPE>
typedef MTTYPE vcg::tetra::VTIterator< MTTYPE >::TetraType

The tetrahedron type.

Definition at line 49 of file vcg/simplex/tetrahedron/pos.h.


Constructor & Destructor Documentation

template<class MTTYPE>
vcg::tetra::VTIterator< MTTYPE >::VTIterator (  )  [inline]

Default Constructor.

Definition at line 57 of file vcg/simplex/tetrahedron/pos.h.

template<class MTTYPE>
vcg::tetra::VTIterator< MTTYPE >::VTIterator ( TetraType *const   tp,
int const   zp 
) [inline]

Constructor which associates the EdgePos elementet with a face and its edge.

Definition at line 59 of file vcg/simplex/tetrahedron/pos.h.

template<class MTTYPE>
vcg::tetra::VTIterator< MTTYPE >::~VTIterator (  )  [inline]

Definition at line 65 of file vcg/simplex/tetrahedron/pos.h.


Member Function Documentation

template<class MTTYPE>
bool vcg::tetra::VTIterator< MTTYPE >::End (  )  [inline]

Definition at line 85 of file vcg/simplex/tetrahedron/pos.h.

template<class MTTYPE>
void vcg::tetra::VTIterator< MTTYPE >::operator++ (  )  [inline]

move on the next tetrahedron that share the vertex

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

template<class MTTYPE>
const int& vcg::tetra::VTIterator< MTTYPE >::Vi (  )  const [inline]

Return the index of vertex as seen from the tetrahedron.

Definition at line 80 of file vcg/simplex/tetrahedron/pos.h.

template<class MTTYPE>
int& vcg::tetra::VTIterator< MTTYPE >::Vi (  )  [inline]

Return the index of vertex as seen from the tetrahedron.

Definition at line 74 of file vcg/simplex/tetrahedron/pos.h.

template<class MTTYPE>
TetraType* & vcg::tetra::VTIterator< MTTYPE >::Vt (  )  [inline]

Return the tetrahedron stored in the half edge.

Definition at line 68 of file vcg/simplex/tetrahedron/pos.h.


Member Data Documentation

template<class MTTYPE>
int vcg::tetra::VTIterator< MTTYPE >::_vi [private]

Index of one vertex.

Definition at line 54 of file vcg/simplex/tetrahedron/pos.h.

template<class MTTYPE>
TetraType* vcg::tetra::VTIterator< MTTYPE >::_vt [private]

Pointer to a tetrahedron.

Definition at line 52 of file vcg/simplex/tetrahedron/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:28 2013