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

Linear iterator. More...

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

List of all members.

Public Types

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

Public Member Functions

 VertexIterT ()
 Default constructor.
 VertexIterT (mesh_ref _mesh, value_handle _hnd, bool _skip=false)
 Construct with mesh and a target handle.
 VertexIterT (const VertexIterT &_rhs)
 Copy constructor.
VertexIterToperator= (const VertexIterT< Mesh > &_rhs)
 Assignment operator.
reference operator* () const
 Standard dereferencing operator.
pointer operator-> () const
 Standard pointer operator.
value_handle handle () const
 Get the handle of the item the iterator refers to.
 operator value_handle () const
 Cast to the handle of the item the iterator refers to.
bool operator== (const VertexIterT &_rhs) const
 Are two iterators equal? Only valid if they refer to the same mesh!
bool operator!= (const VertexIterT &_rhs) const
 Not equal?
VertexIterToperator++ ()
 Standard pre-increment operator.
VertexIterToperator-- ()
 Standard pre-decrement operator.
void enable_skipping ()
 Turn on skipping: automatically skip deleted/hidden elements.
void disable_skipping ()
 Turn on skipping: automatically skip deleted/hidden elements.

Friends

class ConstVertexIterT< Mesh >

Detailed Description

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

Linear iterator.


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