OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh > Class Template Reference

#include <OpenMesh/Mesh/Iterators/CirculatorsT.hh>

List of all members.

Public Types

typedef std::ptrdiff_t difference_type
typedef Mesh::HalfedgeHandle HalfedgeHandle
typedef
std::bidirectional_iterator_tag 
iterator_category
typedef Mesh * mesh_ptr
typedef Mesh & mesh_ref
typedef Mesh::Halfedge * pointer
typedef Mesh::Halfedge & reference
typedef Mesh::HalfedgeHandle value_handle
typedef Mesh::Halfedge value_type

Public Member Functions

HalfedgeHandle current_halfedge_handle () const
Mesh::HalfedgeHandle handle () const
 Return the handle of the current target.
 operator bool () const
 operator typename Mesh::HalfedgeHandle () const
 Cast to the handle of the current target.
bool operator!= (const VertexIHalfedgeIterT &_rhs) const
 Not equal ?
reference operator* () const
 Return a reference to the current target.
VertexIHalfedgeIterToperator++ ()
 Pre-Increment (next cw target).
VertexIHalfedgeIterToperator-- ()
 Pre-Decrement (next ccw target).
pointer operator-> () const
 Return a pointer to the current target.
VertexIHalfedgeIterToperator= (const VertexIHalfedgeIterT< Mesh > &_rhs)
 Assignment operator.
bool operator== (const VertexIHalfedgeIterT &_rhs) const
 Equal ?
 VertexIHalfedgeIterT (const VertexIHalfedgeIterT &_rhs)
 Copy constructor.
 VertexIHalfedgeIterT (mesh_ref _mesh, HalfedgeHandle _heh, bool _end=false)
 Construct with mesh and start halfedge.
 VertexIHalfedgeIterT (mesh_ref _mesh, typename Mesh::VertexHandle _start, bool _end=false)
 Construct with mesh and a typename Mesh::VertexHandle.
 VertexIHalfedgeIterT ()
 Default constructor.

Protected Attributes

HalfedgeHandle heh_
int lap_counter_
mesh_ptr mesh_
HalfedgeHandle start_

Friends

class ConstVertexIHalfedgeIterT< Mesh >

Detailed Description

template<class Mesh>
class OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >

Circulator.

Definition at line 876 of file CirculatorsT.hh.


Member Typedef Documentation

template<class Mesh>
typedef std::ptrdiff_t OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::difference_type

Definition at line 897 of file CirculatorsT.hh.

template<class Mesh>
typedef Mesh::HalfedgeHandle OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::HalfedgeHandle

Definition at line 883 of file CirculatorsT.hh.

template<class Mesh>
typedef std::bidirectional_iterator_tag OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::iterator_category

Definition at line 896 of file CirculatorsT.hh.

template<class Mesh>
typedef Mesh* OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::mesh_ptr

Definition at line 899 of file CirculatorsT.hh.

template<class Mesh>
typedef Mesh& OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::mesh_ref

Definition at line 898 of file CirculatorsT.hh.

template<class Mesh>
typedef Mesh::Halfedge* OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::pointer

Definition at line 901 of file CirculatorsT.hh.

template<class Mesh>
typedef Mesh::Halfedge& OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::reference

Definition at line 900 of file CirculatorsT.hh.

template<class Mesh>
typedef Mesh::HalfedgeHandle OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::value_handle

Definition at line 886 of file CirculatorsT.hh.

template<class Mesh>
typedef Mesh::Halfedge OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::value_type

Definition at line 885 of file CirculatorsT.hh.


Constructor & Destructor Documentation

template<class Mesh>
OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::VertexIHalfedgeIterT (  )  [inline]

Default constructor.

Definition at line 907 of file CirculatorsT.hh.

template<class Mesh>
OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::VertexIHalfedgeIterT ( mesh_ref  _mesh,
typename Mesh::VertexHandle  _start,
bool  _end = false 
) [inline]

Construct with mesh and a typename Mesh::VertexHandle.

Definition at line 911 of file CirculatorsT.hh.

template<class Mesh>
OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::VertexIHalfedgeIterT ( mesh_ref  _mesh,
HalfedgeHandle  _heh,
bool  _end = false 
) [inline]

Construct with mesh and start halfedge.

Definition at line 920 of file CirculatorsT.hh.

template<class Mesh>
OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::VertexIHalfedgeIterT ( const VertexIHalfedgeIterT< Mesh > &  _rhs  )  [inline]

Copy constructor.

Definition at line 929 of file CirculatorsT.hh.


Member Function Documentation

template<class Mesh>
HalfedgeHandle OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::current_halfedge_handle (  )  const [inline]

Get the current halfedge. There are Vertex*Iters and Face*Iters. For both the current state is defined by the current halfedge. This is what this method returns.

Definition at line 1009 of file CirculatorsT.hh.

template<class Mesh>
Mesh::HalfedgeHandle OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::handle (  )  const [inline]

Return the handle of the current target.

Definition at line 1015 of file CirculatorsT.hh.

template<class Mesh>
OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator bool (  )  const [inline]

Returns whether the circulator is still valid. After one complete round around a vertex/face the circulator becomes invalid, i.e. this function will return false. Nevertheless you can continue circulating. This method just tells you whether you have completed the first round.

Definition at line 1048 of file CirculatorsT.hh.

template<class Mesh>
OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator typename Mesh::HalfedgeHandle (  )  const [inline]

Cast to the handle of the current target.

Definition at line 1022 of file CirculatorsT.hh.

template<class Mesh>
bool OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator!= ( const VertexIHalfedgeIterT< Mesh > &  _rhs  )  const [inline]

Not equal ?

Definition at line 982 of file CirculatorsT.hh.

template<class Mesh>
reference OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator* (  )  const [inline]

Return a reference to the current target.

Definition at line 1029 of file CirculatorsT.hh.

template<class Mesh>
VertexIHalfedgeIterT& OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator++ (  )  [inline]

Pre-Increment (next cw target).

Definition at line 988 of file CirculatorsT.hh.

template<class Mesh>
VertexIHalfedgeIterT& OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator-- (  )  [inline]

Pre-Decrement (next ccw target).

Definition at line 997 of file CirculatorsT.hh.

template<class Mesh>
pointer OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator-> (  )  const [inline]

Return a pointer to the current target.

Definition at line 1036 of file CirculatorsT.hh.

template<class Mesh>
VertexIHalfedgeIterT& OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator= ( const VertexIHalfedgeIterT< Mesh > &  _rhs  )  [inline]

Assignment operator.

Definition at line 938 of file CirculatorsT.hh.

template<class Mesh>
bool OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::operator== ( const VertexIHalfedgeIterT< Mesh > &  _rhs  )  const [inline]

Equal ?

Definition at line 973 of file CirculatorsT.hh.


Friends And Related Function Documentation

template<class Mesh>
friend class ConstVertexIHalfedgeIterT< Mesh > [friend]

Definition at line 968 of file CirculatorsT.hh.


Member Data Documentation

template<class Mesh>
HalfedgeHandle OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::heh_ [protected]

Definition at line 1056 of file CirculatorsT.hh.

template<class Mesh>
int OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::lap_counter_ [protected]

Definition at line 1057 of file CirculatorsT.hh.

template<class Mesh>
mesh_ptr OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::mesh_ [protected]

Definition at line 1055 of file CirculatorsT.hh.

template<class Mesh>
HalfedgeHandle OpenMesh::Iterators::VertexIHalfedgeIterT< Mesh >::start_ [protected]

Definition at line 1056 of file CirculatorsT.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:18 2013