IteratorT< Mesh > Class Template Reference

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

List of all members.

Public Types

typedef Mesh * mesh_ptr
typedef Mesh & mesh_ref
typedef value_typepointer
typedef value_typereference
typedef TargetHandle value_handle
typedef TargetType 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.
 IteratorT (const IteratorT &_rhs)
 Copy constructor.
 IteratorT (mesh_ref _mesh, value_handle _hnd, bool _skip=false)
 Construct with mesh and a target handle.
 IteratorT ()
 Default constructor.
 operator value_handle () const
 Cast to the handle of the item the iterator refers to.
bool operator!= (const IteratorT &_rhs) const
 Not equal?
reference operator* () const
 Standard dereferencing operator.
IteratorToperator++ ()
 Standard pre-increment operator.
IteratorToperator-- ()
 Standard pre-decrement operator.
pointer operator-> () const
 Standard pointer operator.
IteratorToperator= (const IteratorT< Mesh > &_rhs)
 Assignment operator.
bool operator== (const IteratorT &_rhs) const
 Are two iterators equal? Only valid if they refer to the same mesh!

Private Member Functions

void skip_bwd ()
void skip_fwd ()

Private Attributes

value_handle hnd_
mesh_ptr mesh_
unsigned int skip_bits_

Friends

class ConstIterT< Mesh >

Detailed Description

template<class Mesh>
class IteratorT< Mesh >

Linear iterator.

Definition at line 9 of file iterators_template.hh.


Member Typedef Documentation

template<class Mesh>
typedef Mesh* IteratorT< Mesh >::mesh_ptr

Definition at line 27 of file iterators_template.hh.

template<class Mesh>
typedef Mesh& IteratorT< Mesh >::mesh_ref

Definition at line 28 of file iterators_template.hh.

template<class Mesh>
typedef value_type* IteratorT< Mesh >::pointer

Definition at line 26 of file iterators_template.hh.

template<class Mesh>
typedef value_type& IteratorT< Mesh >::reference

Definition at line 25 of file iterators_template.hh.

template<class Mesh>
typedef TargetHandle IteratorT< Mesh >::value_handle

Definition at line 17 of file iterators_template.hh.

template<class Mesh>
typedef TargetType IteratorT< Mesh >::value_type

Definition at line 16 of file iterators_template.hh.


Constructor & Destructor Documentation

template<class Mesh>
IteratorT< Mesh >::IteratorT (  )  [inline]

Default constructor.

Definition at line 35 of file iterators_template.hh.

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

Construct with mesh and a target handle.

Definition at line 41 of file iterators_template.hh.

template<class Mesh>
IteratorT< Mesh >::IteratorT ( const IteratorT< Mesh > &  _rhs  )  [inline]

Copy constructor.

Definition at line 49 of file iterators_template.hh.


Member Function Documentation

template<class Mesh>
void IteratorT< Mesh >::disable_skipping (  )  [inline]

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 131 of file iterators_template.hh.

template<class Mesh>
void IteratorT< Mesh >::enable_skipping (  )  [inline]

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 116 of file iterators_template.hh.

template<class Mesh>
value_handle IteratorT< Mesh >::handle (  )  const [inline]

Get the handle of the item the iterator refers to.

Definition at line 93 of file iterators_template.hh.

template<class Mesh>
IteratorT< Mesh >::operator value_handle (  )  const [inline]

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

Definition at line 96 of file iterators_template.hh.

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

Not equal?

Definition at line 103 of file iterators_template.hh.

template<class Mesh>
reference IteratorT< Mesh >::operator* (  )  const [inline]

Standard dereferencing operator.

Definition at line 87 of file iterators_template.hh.

template<class Mesh>
IteratorT& IteratorT< Mesh >::operator++ (  )  [inline]

Standard pre-increment operator.

Definition at line 107 of file iterators_template.hh.

template<class Mesh>
IteratorT& IteratorT< Mesh >::operator-- (  )  [inline]

Standard pre-decrement operator.

Definition at line 111 of file iterators_template.hh.

template<class Mesh>
pointer IteratorT< Mesh >::operator-> (  )  const [inline]

Standard pointer operator.

Definition at line 90 of file iterators_template.hh.

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

Assignment operator.

Definition at line 55 of file iterators_template.hh.

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

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

Definition at line 99 of file iterators_template.hh.

template<class Mesh>
void IteratorT< Mesh >::skip_bwd (  )  [inline, private]

Definition at line 146 of file iterators_template.hh.

template<class Mesh>
void IteratorT< Mesh >::skip_fwd (  )  [inline, private]

Definition at line 137 of file iterators_template.hh.


Friends And Related Function Documentation

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

Definition at line 82 of file iterators_template.hh.


Member Data Documentation

template<class Mesh>
value_handle IteratorT< Mesh >::hnd_ [private]

Definition at line 158 of file iterators_template.hh.

template<class Mesh>
mesh_ptr IteratorT< Mesh >::mesh_ [private]

Definition at line 157 of file iterators_template.hh.

template<class Mesh>
unsigned int IteratorT< Mesh >::skip_bits_ [private]

Definition at line 159 of file iterators_template.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:11 2013