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

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

List of all members.

Public Types

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

Public Member Functions

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

Private Member Functions

void skip_bwd ()
void skip_fwd ()

Private Attributes

value_handle hnd_
mesh_ptr mesh_
unsigned int skip_bits_

Friends

class ConstVertexIterT< Mesh >

Detailed Description

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

Linear iterator.

Definition at line 90 of file IteratorsT.hh.


Member Typedef Documentation

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

Definition at line 109 of file IteratorsT.hh.

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

Definition at line 108 of file IteratorsT.hh.

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

Definition at line 112 of file IteratorsT.hh.

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

Definition at line 113 of file IteratorsT.hh.

template<class Mesh>
typedef value_type* OpenMesh::Iterators::VertexIterT< Mesh >::pointer

Definition at line 111 of file IteratorsT.hh.

template<class Mesh>
typedef value_type& OpenMesh::Iterators::VertexIterT< Mesh >::reference

Definition at line 110 of file IteratorsT.hh.

template<class Mesh>
typedef Mesh::VertexHandle OpenMesh::Iterators::VertexIterT< Mesh >::value_handle

Definition at line 98 of file IteratorsT.hh.

template<class Mesh>
typedef Mesh::Vertex OpenMesh::Iterators::VertexIterT< Mesh >::value_type

Definition at line 97 of file IteratorsT.hh.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 118 of file IteratorsT.hh.

template<class Mesh>
OpenMesh::Iterators::VertexIterT< Mesh >::VertexIterT ( mesh_ref  _mesh,
value_handle  _hnd,
bool  _skip = false 
) [inline]

Construct with mesh and a target handle.

Definition at line 124 of file IteratorsT.hh.

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

Copy constructor.

Definition at line 135 of file IteratorsT.hh.


Member Function Documentation

template<class Mesh>
void OpenMesh::Iterators::VertexIterT< Mesh >::disable_skipping (  )  [inline]

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 217 of file IteratorsT.hh.

template<class Mesh>
void OpenMesh::Iterators::VertexIterT< Mesh >::enable_skipping (  )  [inline]

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 202 of file IteratorsT.hh.

template<class Mesh>
value_handle OpenMesh::Iterators::VertexIterT< Mesh >::handle (  )  const [inline]

Get the handle of the item the iterator refers to.

Definition at line 179 of file IteratorsT.hh.

template<class Mesh>
OpenMesh::Iterators::VertexIterT< Mesh >::operator value_handle (  )  const [inline]

Cast to the handle of the item the iterator refers to.

Definition at line 182 of file IteratorsT.hh.

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

Not equal?

Definition at line 189 of file IteratorsT.hh.

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

Standard dereferencing operator.

Definition at line 173 of file IteratorsT.hh.

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

Standard pre-increment operator.

Definition at line 193 of file IteratorsT.hh.

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

Standard pre-decrement operator.

Definition at line 197 of file IteratorsT.hh.

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

Standard pointer operator.

Definition at line 176 of file IteratorsT.hh.

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

Assignment operator.

Definition at line 141 of file IteratorsT.hh.

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

Are two iterators equal? Only valid if they refer to the same mesh!

Definition at line 185 of file IteratorsT.hh.

template<class Mesh>
void OpenMesh::Iterators::VertexIterT< Mesh >::skip_bwd (  )  [inline, private]

Definition at line 232 of file IteratorsT.hh.

template<class Mesh>
void OpenMesh::Iterators::VertexIterT< Mesh >::skip_fwd (  )  [inline, private]

Definition at line 223 of file IteratorsT.hh.


Friends And Related Function Documentation

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

Definition at line 168 of file IteratorsT.hh.


Member Data Documentation

template<class Mesh>
value_handle OpenMesh::Iterators::VertexIterT< Mesh >::hnd_ [private]

Definition at line 244 of file IteratorsT.hh.

template<class Mesh>
mesh_ptr OpenMesh::Iterators::VertexIterT< Mesh >::mesh_ [private]

Definition at line 243 of file IteratorsT.hh.

template<class Mesh>
unsigned int OpenMesh::Iterators::VertexIterT< Mesh >::skip_bits_ [private]

Definition at line 245 of file IteratorsT.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