Developer Documentation
|
Public Types | |
typedef ValueHandle | value_handle |
typedef value_handle | value_type |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef std::ptrdiff_t | difference_type |
typedef const Mesh * | mesh_ptr |
typedef const Mesh & | mesh_ref |
typedef decltype(make_smart(std::declval< ValueHandle >(), std::declval< Mesh >())) | SmartHandle |
typedef const SmartHandle & | reference |
typedef const SmartHandle * | pointer |
Public Member Functions | |
GenericIteratorT () | |
Default constructor. More... | |
GenericIteratorT (mesh_ref _mesh, value_handle _hnd, bool _skip=false) | |
Construct with mesh and a target handle. More... | |
reference | operator* () const |
Standard dereferencing operator. More... | |
pointer | operator-> () const |
Standard pointer operator. More... | |
value_handle | handle () const |
Get the handle of the item the iterator refers to. More... | |
operator value_handle () const | |
Cast to the handle of the item the iterator refers to. More... | |
bool | operator== (const GenericIteratorT &_rhs) const |
Are two iterators equal? Only valid if they refer to the same mesh! More... | |
bool | operator!= (const GenericIteratorT &_rhs) const |
Not equal? More... | |
GenericIteratorT & | operator++ () |
Standard pre-increment operator. More... | |
GenericIteratorT | operator++ (int) |
Standard post-increment operator. More... | |
GenericIteratorT & | operator-- () |
Standard pre-decrement operator. More... | |
GenericIteratorT | operator-- (int) |
Standard post-decrement operator. More... | |
void | enable_skipping () |
Turn on skipping: automatically skip deleted/hidden elements. More... | |
void | disable_skipping () |
Turn on skipping: automatically skip deleted/hidden elements. More... | |
Protected Attributes | |
SmartHandle | hnd_ |
unsigned int | skip_bits_ |
Private Member Functions | |
void | skip_fwd () |
void | skip_bwd () |
Definition at line 82 of file IteratorsT.hh.
typedef std::ptrdiff_t OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::difference_type |
Definition at line 89 of file IteratorsT.hh.
typedef std::bidirectional_iterator_tag OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::iterator_category |
Definition at line 88 of file IteratorsT.hh.
typedef const Mesh* OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::mesh_ptr |
Definition at line 90 of file IteratorsT.hh.
typedef const Mesh& OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::mesh_ref |
Definition at line 91 of file IteratorsT.hh.
typedef const SmartHandle* OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::pointer |
Definition at line 94 of file IteratorsT.hh.
typedef const SmartHandle& OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::reference |
Definition at line 93 of file IteratorsT.hh.
typedef decltype(make_smart(std::declval<ValueHandle>(), std::declval<Mesh>())) OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::SmartHandle |
Definition at line 92 of file IteratorsT.hh.
typedef ValueHandle OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::value_handle |
Definition at line 86 of file IteratorsT.hh.
typedef value_handle OpenMesh::Iterators::GenericIteratorT< Mesh, ValueHandle, MemberOwner, PrimitiveStatusMember, PrimitiveCountMember >::value_type |
Definition at line 87 of file IteratorsT.hh.
|
inline |
Default constructor.
Definition at line 97 of file IteratorsT.hh.
|
inline |
Construct with mesh and a target handle.
Definition at line 102 of file IteratorsT.hh.
|
inline |
Turn on skipping: automatically skip deleted/hidden elements.
Definition at line 223 of file IteratorsT.hh.
|
inline |
Turn on skipping: automatically skip deleted/hidden elements.
Definition at line 211 of file IteratorsT.hh.
|
inline |
Get the handle of the item the iterator refers to.
Definition at line 124 of file IteratorsT.hh.
|
inline |
Cast to the handle of the item the iterator refers to.
Definition at line 135 of file IteratorsT.hh.
|
inline |
Not equal?
Definition at line 145 of file IteratorsT.hh.
|
inline |
Standard dereferencing operator.
Definition at line 109 of file IteratorsT.hh.
|
inline |
Standard pre-increment operator.
Definition at line 150 of file IteratorsT.hh.
|
inline |
Standard post-increment operator.
Definition at line 158 of file IteratorsT.hh.
|
inline |
Standard pre-decrement operator.
Definition at line 196 of file IteratorsT.hh.
|
inline |
Standard post-decrement operator.
Definition at line 204 of file IteratorsT.hh.
|
inline |
Standard pointer operator.
Definition at line 114 of file IteratorsT.hh.
|
inline |
Are two iterators equal? Only valid if they refer to the same mesh!
Definition at line 140 of file IteratorsT.hh.
|
inlineprivate |
Definition at line 236 of file IteratorsT.hh.
|
inlineprivate |
Definition at line 229 of file IteratorsT.hh.
|
protected |
Definition at line 243 of file IteratorsT.hh.
|
protected |
Definition at line 244 of file IteratorsT.hh.