OpenMesh::Iterators::HalfedgeIterT< 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::HalfedgeHandle value_handle
typedef Mesh::Halfedge 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.
 HalfedgeIterT (const HalfedgeIterT &_rhs)
 Copy constructor.
 HalfedgeIterT (mesh_ref _mesh, value_handle _hnd, bool _skip=false)
 Construct with mesh and a target handle.
 HalfedgeIterT ()
 Default constructor.
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 HalfedgeIterT &_rhs) const
 Not equal?
reference operator* () const
 Standard dereferencing operator.
HalfedgeIterToperator++ ()
 Standard pre-increment operator.
HalfedgeIterToperator-- ()
 Standard pre-decrement operator.
pointer operator-> () const
 Standard pointer operator.
HalfedgeIterToperator= (const HalfedgeIterT< Mesh > &_rhs)
 Assignment operator.
bool operator== (const HalfedgeIterT &_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 ConstHalfedgeIterT< Mesh >

Detailed Description

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

Linear iterator.

Definition at line 426 of file IteratorsT.hh.


Member Typedef Documentation

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

Definition at line 445 of file IteratorsT.hh.

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

Definition at line 444 of file IteratorsT.hh.

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

Definition at line 448 of file IteratorsT.hh.

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

Definition at line 449 of file IteratorsT.hh.

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

Definition at line 447 of file IteratorsT.hh.

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

Definition at line 446 of file IteratorsT.hh.

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

Definition at line 434 of file IteratorsT.hh.

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

Definition at line 433 of file IteratorsT.hh.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 456 of file IteratorsT.hh.

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

Construct with mesh and a target handle.

Definition at line 462 of file IteratorsT.hh.

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

Copy constructor.

Definition at line 473 of file IteratorsT.hh.


Member Function Documentation

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

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 555 of file IteratorsT.hh.

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

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 540 of file IteratorsT.hh.

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

Get the handle of the item the iterator refers to.

Definition at line 517 of file IteratorsT.hh.

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

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

Definition at line 520 of file IteratorsT.hh.

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

Not equal?

Definition at line 527 of file IteratorsT.hh.

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

Standard dereferencing operator.

Definition at line 511 of file IteratorsT.hh.

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

Standard pre-increment operator.

Definition at line 531 of file IteratorsT.hh.

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

Standard pre-decrement operator.

Definition at line 535 of file IteratorsT.hh.

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

Standard pointer operator.

Definition at line 514 of file IteratorsT.hh.

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

Assignment operator.

Definition at line 479 of file IteratorsT.hh.

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

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

Definition at line 523 of file IteratorsT.hh.

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

Definition at line 570 of file IteratorsT.hh.

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

Definition at line 561 of file IteratorsT.hh.


Friends And Related Function Documentation

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

Definition at line 506 of file IteratorsT.hh.


Member Data Documentation

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

Definition at line 582 of file IteratorsT.hh.

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

Definition at line 581 of file IteratorsT.hh.

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

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