OpenMesh::Iterators::ConstHalfedgeIterT< 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 const Mesh * mesh_ptr
typedef const Mesh & mesh_ref
typedef const value_typepointer
typedef const value_typereference
typedef Mesh::HalfedgeHandle value_handle
typedef Mesh::Halfedge value_type

Public Member Functions

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

Detailed Description

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

Linear iterator.

Definition at line 595 of file IteratorsT.hh.


Member Typedef Documentation

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

Definition at line 607 of file IteratorsT.hh.

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

Definition at line 606 of file IteratorsT.hh.

template<class Mesh>
typedef const Mesh* OpenMesh::Iterators::ConstHalfedgeIterT< Mesh >::mesh_ptr

Definition at line 610 of file IteratorsT.hh.

template<class Mesh>
typedef const Mesh& OpenMesh::Iterators::ConstHalfedgeIterT< Mesh >::mesh_ref

Definition at line 611 of file IteratorsT.hh.

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

Definition at line 609 of file IteratorsT.hh.

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

Definition at line 608 of file IteratorsT.hh.

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

Definition at line 603 of file IteratorsT.hh.

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

Definition at line 602 of file IteratorsT.hh.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 625 of file IteratorsT.hh.

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

Construct with mesh and a target handle.

Definition at line 631 of file IteratorsT.hh.

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

Copy constructor.

Definition at line 642 of file IteratorsT.hh.

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

Construct from a non-const iterator.

Definition at line 660 of file IteratorsT.hh.


Member Function Documentation

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

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 724 of file IteratorsT.hh.

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

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 709 of file IteratorsT.hh.

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

Get the handle of the item the iterator refers to.

Definition at line 686 of file IteratorsT.hh.

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

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

Definition at line 689 of file IteratorsT.hh.

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

Not equal?

Definition at line 696 of file IteratorsT.hh.

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

Standard dereferencing operator.

Definition at line 680 of file IteratorsT.hh.

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

Standard pre-increment operator.

Definition at line 700 of file IteratorsT.hh.

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

Standard pre-decrement operator.

Definition at line 704 of file IteratorsT.hh.

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

Standard pointer operator.

Definition at line 683 of file IteratorsT.hh.

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

Assignment from non-const iterator.

Definition at line 666 of file IteratorsT.hh.

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

Assignment operator.

Definition at line 648 of file IteratorsT.hh.

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

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

Definition at line 692 of file IteratorsT.hh.

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

Definition at line 739 of file IteratorsT.hh.

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

Definition at line 730 of file IteratorsT.hh.


Member Data Documentation

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

Definition at line 751 of file IteratorsT.hh.

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

Definition at line 750 of file IteratorsT.hh.

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

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