OpenMesh::Iterators::ConstVertexOHalfedgeIterT< 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 const Mesh * mesh_ptr
typedef const Mesh & mesh_ref
typedef const Mesh::Halfedge * pointer
typedef const Mesh::Halfedge & reference
typedef Mesh::HalfedgeHandle value_handle
typedef Mesh::Halfedge value_type

Public Member Functions

 ConstVertexOHalfedgeIterT (const VertexOHalfedgeIterT< Mesh > &_rhs)
 construct from non-const circulator type
 ConstVertexOHalfedgeIterT (const ConstVertexOHalfedgeIterT &_rhs)
 Copy constructor.
 ConstVertexOHalfedgeIterT (mesh_ref _mesh, HalfedgeHandle _heh, bool _end=false)
 Construct with mesh and start halfedge.
 ConstVertexOHalfedgeIterT (mesh_ref _mesh, typename Mesh::VertexHandle _start, bool _end=false)
 Construct with mesh and a typename Mesh::VertexHandle.
 ConstVertexOHalfedgeIterT ()
 Default constructor.
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 ConstVertexOHalfedgeIterT &_rhs) const
 Not equal ?
reference operator* () const
 Return a reference to the current target.
ConstVertexOHalfedgeIterToperator++ ()
 Pre-Increment (next cw target).
ConstVertexOHalfedgeIterToperator-- ()
 Pre-Decrement (next ccw target).
pointer operator-> () const
 Return a pointer to the current target.
ConstVertexOHalfedgeIterToperator= (const VertexOHalfedgeIterT< Mesh > &_rhs)
 assign from non-const circulator
ConstVertexOHalfedgeIterToperator= (const ConstVertexOHalfedgeIterT< Mesh > &_rhs)
 Assignment operator.
bool operator== (const ConstVertexOHalfedgeIterT &_rhs) const
 Equal ?

Protected Attributes

HalfedgeHandle heh_
int lap_counter_
mesh_ptr mesh_
HalfedgeHandle start_

Detailed Description

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

Circulator.

Definition at line 682 of file CirculatorsT.hh.


Member Typedef Documentation

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

Definition at line 696 of file CirculatorsT.hh.

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

Definition at line 689 of file CirculatorsT.hh.

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

Definition at line 695 of file CirculatorsT.hh.

template<class Mesh>
typedef const Mesh* OpenMesh::Iterators::ConstVertexOHalfedgeIterT< Mesh >::mesh_ptr

Definition at line 698 of file CirculatorsT.hh.

template<class Mesh>
typedef const Mesh& OpenMesh::Iterators::ConstVertexOHalfedgeIterT< Mesh >::mesh_ref

Definition at line 697 of file CirculatorsT.hh.

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

Definition at line 700 of file CirculatorsT.hh.

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

Definition at line 699 of file CirculatorsT.hh.

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

Definition at line 692 of file CirculatorsT.hh.

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

Definition at line 691 of file CirculatorsT.hh.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 713 of file CirculatorsT.hh.

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

Construct with mesh and a typename Mesh::VertexHandle.

Definition at line 717 of file CirculatorsT.hh.

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

Construct with mesh and start halfedge.

Definition at line 726 of file CirculatorsT.hh.

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

Copy constructor.

Definition at line 735 of file CirculatorsT.hh.

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

construct from non-const circulator type

Definition at line 756 of file CirculatorsT.hh.


Member Function Documentation

template<class Mesh>
HalfedgeHandle OpenMesh::Iterators::ConstVertexOHalfedgeIterT< 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 815 of file CirculatorsT.hh.

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

Return the handle of the current target.

Definition at line 821 of file CirculatorsT.hh.

template<class Mesh>
OpenMesh::Iterators::ConstVertexOHalfedgeIterT< 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 854 of file CirculatorsT.hh.

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

Cast to the handle of the current target.

Definition at line 828 of file CirculatorsT.hh.

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

Not equal ?

Definition at line 788 of file CirculatorsT.hh.

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

Return a reference to the current target.

Definition at line 835 of file CirculatorsT.hh.

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

Pre-Increment (next cw target).

Definition at line 794 of file CirculatorsT.hh.

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

Pre-Decrement (next ccw target).

Definition at line 803 of file CirculatorsT.hh.

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

Return a pointer to the current target.

Definition at line 842 of file CirculatorsT.hh.

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

assign from non-const circulator

Definition at line 765 of file CirculatorsT.hh.

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

Assignment operator.

Definition at line 744 of file CirculatorsT.hh.

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

Equal ?

Definition at line 779 of file CirculatorsT.hh.


Member Data Documentation

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

Definition at line 862 of file CirculatorsT.hh.

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

Definition at line 863 of file CirculatorsT.hh.

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

Definition at line 861 of file CirculatorsT.hh.

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

Definition at line 862 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