#include <OpenMesh/Mesh/Iterators/CirculatorsT.hh>
Public Types | |
| typedef std::ptrdiff_t | difference_type |
| typedef Mesh::HalfedgeHandle | HalfedgeHandle |
| typedef std::bidirectional_iterator_tag | iterator_category |
| typedef Mesh * | mesh_ptr |
| typedef Mesh & | mesh_ref |
| typedef Mesh::Halfedge * | pointer |
| typedef Mesh::Halfedge & | reference |
| typedef Mesh::HalfedgeHandle | value_handle |
| typedef Mesh::Halfedge | value_type |
Public Member Functions | |
| HalfedgeHandle | current_halfedge_handle () const |
| Mesh::HalfedgeHandle | handle () const |
| Return the handle of the current target. | |
| operator bool () const | |
| operator typename Mesh::HalfedgeHandle () const | |
| Cast to the handle of the current target. | |
| bool | operator!= (const VertexOHalfedgeIterT &_rhs) const |
| Not equal ? | |
| reference | operator* () const |
| Return a reference to the current target. | |
| VertexOHalfedgeIterT & | operator++ () |
| Pre-Increment (next cw target). | |
| VertexOHalfedgeIterT & | operator-- () |
| Pre-Decrement (next ccw target). | |
| pointer | operator-> () const |
| Return a pointer to the current target. | |
| VertexOHalfedgeIterT & | operator= (const VertexOHalfedgeIterT< Mesh > &_rhs) |
| Assignment operator. | |
| bool | operator== (const VertexOHalfedgeIterT &_rhs) const |
| Equal ? | |
| VertexOHalfedgeIterT (const VertexOHalfedgeIterT &_rhs) | |
| Copy constructor. | |
| VertexOHalfedgeIterT (mesh_ref _mesh, HalfedgeHandle _heh, bool _end=false) | |
| Construct with mesh and start halfedge. | |
| VertexOHalfedgeIterT (mesh_ref _mesh, typename Mesh::VertexHandle _start, bool _end=false) | |
| Construct with mesh and a typename Mesh::VertexHandle. | |
| VertexOHalfedgeIterT () | |
| Default constructor. | |
Protected Attributes | |
| HalfedgeHandle | heh_ |
| int | lap_counter_ |
| mesh_ptr | mesh_ |
| HalfedgeHandle | start_ |
Friends | |
| class | ConstVertexOHalfedgeIterT< Mesh > |
Circulator.
Definition at line 488 of file CirculatorsT.hh.
| typedef std::ptrdiff_t OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::difference_type |
Definition at line 509 of file CirculatorsT.hh.
| typedef Mesh::HalfedgeHandle OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::HalfedgeHandle |
Definition at line 495 of file CirculatorsT.hh.
| typedef std::bidirectional_iterator_tag OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::iterator_category |
Definition at line 508 of file CirculatorsT.hh.
| typedef Mesh* OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::mesh_ptr |
Definition at line 511 of file CirculatorsT.hh.
| typedef Mesh& OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::mesh_ref |
Definition at line 510 of file CirculatorsT.hh.
| typedef Mesh::Halfedge* OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::pointer |
Definition at line 513 of file CirculatorsT.hh.
| typedef Mesh::Halfedge& OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::reference |
Definition at line 512 of file CirculatorsT.hh.
| typedef Mesh::HalfedgeHandle OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::value_handle |
Definition at line 498 of file CirculatorsT.hh.
| typedef Mesh::Halfedge OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::value_type |
Definition at line 497 of file CirculatorsT.hh.
| OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::VertexOHalfedgeIterT | ( | ) | [inline] |
Default constructor.
Definition at line 519 of file CirculatorsT.hh.
| OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::VertexOHalfedgeIterT | ( | mesh_ref | _mesh, | |
| typename Mesh::VertexHandle | _start, | |||
| bool | _end = false | |||
| ) | [inline] |
Construct with mesh and a typename Mesh::VertexHandle.
Definition at line 523 of file CirculatorsT.hh.
| OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::VertexOHalfedgeIterT | ( | mesh_ref | _mesh, | |
| HalfedgeHandle | _heh, | |||
| bool | _end = false | |||
| ) | [inline] |
Construct with mesh and start halfedge.
Definition at line 532 of file CirculatorsT.hh.
| OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::VertexOHalfedgeIterT | ( | const VertexOHalfedgeIterT< Mesh > & | _rhs | ) | [inline] |
Copy constructor.
Definition at line 541 of file CirculatorsT.hh.
| HalfedgeHandle OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::current_halfedge_handle | ( | ) | const [inline] |
Get the current halfedge. There are Vertex*Iters and Face*Iters. For both the current state is defined by the current halfedge. This is what this method returns.
Definition at line 621 of file CirculatorsT.hh.
| Mesh::HalfedgeHandle OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::handle | ( | ) | const [inline] |
Return the handle of the current target.
Definition at line 627 of file CirculatorsT.hh.
| OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator bool | ( | ) | const [inline] |
Returns whether the circulator is still valid. After one complete round around a vertex/face the circulator becomes invalid, i.e. this function will return false. Nevertheless you can continue circulating. This method just tells you whether you have completed the first round.
Definition at line 660 of file CirculatorsT.hh.
| OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator typename Mesh::HalfedgeHandle | ( | ) | const [inline] |
Cast to the handle of the current target.
Definition at line 634 of file CirculatorsT.hh.
| bool OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator!= | ( | const VertexOHalfedgeIterT< Mesh > & | _rhs | ) | const [inline] |
Not equal ?
Definition at line 594 of file CirculatorsT.hh.
| reference OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator* | ( | ) | const [inline] |
Return a reference to the current target.
Definition at line 641 of file CirculatorsT.hh.
| VertexOHalfedgeIterT& OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator++ | ( | ) | [inline] |
Pre-Increment (next cw target).
Definition at line 600 of file CirculatorsT.hh.
| VertexOHalfedgeIterT& OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator-- | ( | ) | [inline] |
Pre-Decrement (next ccw target).
Definition at line 609 of file CirculatorsT.hh.
| pointer OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator-> | ( | ) | const [inline] |
Return a pointer to the current target.
Definition at line 648 of file CirculatorsT.hh.
| VertexOHalfedgeIterT& OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator= | ( | const VertexOHalfedgeIterT< Mesh > & | _rhs | ) | [inline] |
Assignment operator.
Definition at line 550 of file CirculatorsT.hh.
| bool OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::operator== | ( | const VertexOHalfedgeIterT< Mesh > & | _rhs | ) | const [inline] |
Equal ?
Definition at line 585 of file CirculatorsT.hh.
friend class ConstVertexOHalfedgeIterT< Mesh > [friend] |
Definition at line 580 of file CirculatorsT.hh.
HalfedgeHandle OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::heh_ [protected] |
Definition at line 668 of file CirculatorsT.hh.
int OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::lap_counter_ [protected] |
Definition at line 669 of file CirculatorsT.hh.
mesh_ptr OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::mesh_ [protected] |
Definition at line 667 of file CirculatorsT.hh.
HalfedgeHandle OpenMesh::Iterators::VertexOHalfedgeIterT< Mesh >::start_ [protected] |
Definition at line 668 of file CirculatorsT.hh.