Developer Documentation
OpenMesh::SmartVertexHandle Struct Reference

Smart version of VertexHandle contains a pointer to the corresponding mesh and allows easier access to navigation methods. More...

#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Mesh/SmartHandles.hh>

Inheritance diagram for OpenMesh::SmartVertexHandle:
OpenMesh::SmartBaseHandle OpenMesh::VertexHandle OpenMesh::SmartHandleStatusPredicates< SmartVertexHandle > OpenMesh::SmartHandleBoundaryPredicate< SmartVertexHandle > OpenMesh::BaseHandle

Public Member Functions

 SmartVertexHandle (int _idx=-1, const PolyConnectivity *_mesh=nullptr)
 
SmartHalfedgeHandle out () const
 Returns an outgoing halfedge.
 
SmartHalfedgeHandle halfedge () const
 Returns an outgoing halfedge.
 
SmartHalfedgeHandle in () const
 Returns an incoming halfedge.
 
PolyConnectivity::ConstVertexFaceRange faces () const
 Returns a range of faces incident to the vertex (PolyConnectivity::vf_range())
 
PolyConnectivity::ConstVertexEdgeRange edges () const
 Returns a range of edges incident to the vertex (PolyConnectivity::ve_range())
 
PolyConnectivity::ConstVertexVertexRange vertices () const
 Returns a range of vertices adjacent to the vertex (PolyConnectivity::vv_range())
 
PolyConnectivity::ConstVertexIHalfedgeRange incoming_halfedges () const
 Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::voh_range())
 
PolyConnectivity::ConstVertexOHalfedgeRange outgoing_halfedges () const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::vih_range())
 
uint valence () const
 Returns valence of the vertex.
 
bool is_manifold () const
 Returns true iff (the mesh at) the vertex is two-manifold ?
 
- Public Member Functions inherited from OpenMesh::SmartBaseHandle
 SmartBaseHandle (const PolyConnectivity *_mesh=nullptr)
 
const PolyConnectivitymesh () const
 Get the underlying mesh of this handle.
 
- Public Member Functions inherited from OpenMesh::VertexHandle
 VertexHandle (int _idx=-1)
 
- Public Member Functions inherited from OpenMesh::BaseHandle
 BaseHandle (int _idx=-1)
 
int idx () const
 Get the underlying index of this handle.
 
bool is_valid () const
 The handle is valid iff the index is not negative.
 
void reset ()
 reset handle to be invalid
 
void invalidate ()
 reset handle to be invalid
 
bool operator== (const BaseHandle &_rhs) const
 
bool operator!= (const BaseHandle &_rhs) const
 
bool operator< (const BaseHandle &_rhs) const
 
void __increment ()
 
void __decrement ()
 
void __increment (int amount)
 
void __decrement (int amount)
 
- Public Member Functions inherited from OpenMesh::SmartHandleStatusPredicates< SmartVertexHandle >
bool feature () const
 Returns true iff the handle is marked as feature.
 
bool selected () const
 Returns true iff the handle is marked as selected.
 
bool tagged () const
 Returns true iff the handle is marked as tagged.
 
bool tagged2 () const
 Returns true iff the handle is marked as tagged2.
 
bool locked () const
 Returns true iff the handle is marked as locked.
 
bool hidden () const
 Returns true iff the handle is marked as hidden.
 
bool deleted () const
 Returns true iff the handle is marked as deleted.
 
- Public Member Functions inherited from OpenMesh::SmartHandleBoundaryPredicate< SmartVertexHandle >
bool is_boundary () const
 Returns true iff the handle is boundary.
 

Detailed Description

Smart version of VertexHandle contains a pointer to the corresponding mesh and allows easier access to navigation methods.

Definition at line 109 of file SmartHandles.hh.


The documentation for this struct was generated from the following files: