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

Detailed Description

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

Linear iterator.

Definition at line 1102 of file IteratorsT.hh.


Member Typedef Documentation

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

Definition at line 1121 of file IteratorsT.hh.

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

Definition at line 1120 of file IteratorsT.hh.

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

Definition at line 1124 of file IteratorsT.hh.

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

Definition at line 1125 of file IteratorsT.hh.

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

Definition at line 1123 of file IteratorsT.hh.

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

Definition at line 1122 of file IteratorsT.hh.

template<class Mesh>
typedef Mesh::FaceHandle OpenMesh::Iterators::FaceIterT< Mesh >::value_handle

Definition at line 1110 of file IteratorsT.hh.

template<class Mesh>
typedef Mesh::Face OpenMesh::Iterators::FaceIterT< Mesh >::value_type

Definition at line 1109 of file IteratorsT.hh.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 1132 of file IteratorsT.hh.

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

Construct with mesh and a target handle.

Definition at line 1138 of file IteratorsT.hh.

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

Copy constructor.

Definition at line 1149 of file IteratorsT.hh.


Member Function Documentation

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

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 1231 of file IteratorsT.hh.

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

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 1216 of file IteratorsT.hh.

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

Get the handle of the item the iterator refers to.

Definition at line 1193 of file IteratorsT.hh.

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

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

Definition at line 1196 of file IteratorsT.hh.

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

Not equal?

Definition at line 1203 of file IteratorsT.hh.

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

Standard dereferencing operator.

Definition at line 1187 of file IteratorsT.hh.

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

Standard pre-increment operator.

Definition at line 1207 of file IteratorsT.hh.

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

Standard pre-decrement operator.

Definition at line 1211 of file IteratorsT.hh.

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

Standard pointer operator.

Definition at line 1190 of file IteratorsT.hh.

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

Assignment operator.

Definition at line 1155 of file IteratorsT.hh.

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

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

Definition at line 1199 of file IteratorsT.hh.

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

Definition at line 1246 of file IteratorsT.hh.

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

Definition at line 1237 of file IteratorsT.hh.


Friends And Related Function Documentation

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

Definition at line 1182 of file IteratorsT.hh.


Member Data Documentation

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

Definition at line 1258 of file IteratorsT.hh.

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

Definition at line 1257 of file IteratorsT.hh.

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

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