Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

Circulator. More...

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

List of all members.

Public Member Functions

 VertexIHalfedgeIterT ()
 Default constructor.

 VertexIHalfedgeIterT (mesh_ref _mesh, typename Mesh::VertexHandle _start)
 Construct with mesh and a typename Mesh::VertexHandle.

 VertexIHalfedgeIterT (mesh_ref _mesh, HalfedgeHandle _heh)
 Construct with mesh and start halfedge.

 VertexIHalfedgeIterT (const VertexIHalfedgeIterT &_rhs)
 Copy constructor.

VertexIHalfedgeIterToperator= (const VertexIHalfedgeIterT< Mesh > &_rhs)
 Assignment operator.

bool operator== (const VertexIHalfedgeIterT &_rhs) const
 Equal ?

bool operator!= (const VertexIHalfedgeIterT &_rhs) const
 Not equal ?

VertexIHalfedgeIterToperator++ ()
 Pre-Increment (next cw target).

VertexIHalfedgeIterToperator-- ()
 Pre-Decrement (next ccw target).

HalfedgeHandle current_halfedge_handle () const
 Get the current halfedge.

Mesh::HalfedgeHandle handle () const
 Return the handle of the current target.

 operator typename Mesh::HalfedgeHandle () const
 Cast to the handle of the current target.

reference operator * () const
 Return a reference to the current target.

pointer operator-> () const
 Return a pointer to the current target.

 operator bool () const
 Returns whether the circulator is still valid.


Detailed Description

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

Circulator.


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.

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.


The documentation for this class was generated from the following file:
acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .