Developer Documentation
Loading...
Searching...
No Matches
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::ConstVertexFaceCWRange faces_cw () const
 Returns a range of faces incident to the vertex (PolyConnectivity::vf_cw_range())
 
PolyConnectivity::ConstVertexFaceCCWRange faces_ccw () const
 Returns a range of faces incident to the vertex (PolyConnectivity::vf_ccw_range())
 
PolyConnectivity::ConstVertexEdgeRange edges () const
 Returns a range of edges incident to the vertex (PolyConnectivity::ve_range())
 
PolyConnectivity::ConstVertexEdgeCWRange edges_cw () const
 Returns a range of edges incident to the vertex (PolyConnectivity::ve_cw_range())
 
PolyConnectivity::ConstVertexEdgeCCWRange edges_ccw () const
 Returns a range of edges incident to the vertex (PolyConnectivity::ve_ccw_range())
 
PolyConnectivity::ConstVertexVertexRange vertices () const
 Returns a range of vertices adjacent to the vertex (PolyConnectivity::vv_range())
 
PolyConnectivity::ConstVertexVertexCWRange vertices_cw () const
 Returns a range of vertices adjacent to the vertex (PolyConnectivity::vv_cw_range())
 
PolyConnectivity::ConstVertexVertexCCWRange vertices_ccw () const
 Returns a range of vertices adjacent to the vertex (PolyConnectivity::vv_ccw_range())
 
PolyConnectivity::ConstVertexIHalfedgeRange incoming_halfedges () const
 Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::voh_range())
 
PolyConnectivity::ConstVertexIHalfedgeCWRange incoming_halfedges_cw () const
 Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::voh_cw_range())
 
PolyConnectivity::ConstVertexIHalfedgeCCWRange incoming_halfedges_ccw () const
 Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::voh_ccw_range())
 
PolyConnectivity::ConstVertexIHalfedgeRange incoming_halfedges (HalfedgeHandle _heh) const
 Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::vih_range())
 
PolyConnectivity::ConstVertexIHalfedgeCWRange incoming_halfedges_cw (HalfedgeHandle _heh) const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::vih_cw_range())
 
PolyConnectivity::ConstVertexIHalfedgeCCWRange incoming_halfedges_ccw (HalfedgeHandle _heh) const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::vih_ccw_range())
 
PolyConnectivity::ConstVertexOHalfedgeRange outgoing_halfedges () const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_range())
 
PolyConnectivity::ConstVertexOHalfedgeCWRange outgoing_halfedges_cw () const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_cw_range())
 
PolyConnectivity::ConstVertexOHalfedgeCCWRange outgoing_halfedges_ccw () const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_ccw_range())
 
PolyConnectivity::ConstVertexOHalfedgeRange outgoing_halfedges (HalfedgeHandle _heh) const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_range())
 
PolyConnectivity::ConstVertexOHalfedgeCWRange outgoing_halfedges_cw (HalfedgeHandle _heh) const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_cw_range())
 
PolyConnectivity::ConstVertexOHalfedgeCCWRange outgoing_halfedges_ccw (HalfedgeHandle _heh) const
 Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_ccw_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.

Constructor & Destructor Documentation

◆ SmartVertexHandle()

OpenMesh::SmartVertexHandle::SmartVertexHandle ( int  _idx = -1,
const PolyConnectivity _mesh = nullptr 
)
inlineexplicit

Definition at line 111 of file SmartHandles.hh.

Member Function Documentation

◆ edges()

PolyConnectivity::ConstVertexEdgeRange OpenMesh::SmartVertexHandle::edges ( ) const
inline

Returns a range of edges incident to the vertex (PolyConnectivity::ve_range())

Definition at line 976 of file PolyConnectivity_inline_impl.hh.

◆ edges_ccw()

PolyConnectivity::ConstVertexEdgeCCWRange OpenMesh::SmartVertexHandle::edges_ccw ( ) const
inline

Returns a range of edges incident to the vertex (PolyConnectivity::ve_ccw_range())

Definition at line 978 of file PolyConnectivity_inline_impl.hh.

◆ edges_cw()

PolyConnectivity::ConstVertexEdgeCWRange OpenMesh::SmartVertexHandle::edges_cw ( ) const
inline

Returns a range of edges incident to the vertex (PolyConnectivity::ve_cw_range())

Definition at line 977 of file PolyConnectivity_inline_impl.hh.

◆ faces()

PolyConnectivity::ConstVertexFaceRange OpenMesh::SmartVertexHandle::faces ( ) const
inline

Returns a range of faces incident to the vertex (PolyConnectivity::vf_range())

Definition at line 972 of file PolyConnectivity_inline_impl.hh.

◆ faces_ccw()

PolyConnectivity::ConstVertexFaceCCWRange OpenMesh::SmartVertexHandle::faces_ccw ( ) const
inline

Returns a range of faces incident to the vertex (PolyConnectivity::vf_ccw_range())

Definition at line 974 of file PolyConnectivity_inline_impl.hh.

◆ faces_cw()

PolyConnectivity::ConstVertexFaceCWRange OpenMesh::SmartVertexHandle::faces_cw ( ) const
inline

Returns a range of faces incident to the vertex (PolyConnectivity::vf_cw_range())

Definition at line 973 of file PolyConnectivity_inline_impl.hh.

◆ halfedge()

SmartHalfedgeHandle OpenMesh::SmartVertexHandle::halfedge ( ) const
inline

Returns an outgoing halfedge.

Definition at line 363 of file SmartHandles.hh.

◆ in()

SmartHalfedgeHandle OpenMesh::SmartVertexHandle::in ( ) const
inline

Returns an incoming halfedge.

Definition at line 368 of file SmartHandles.hh.

◆ incoming_halfedges() [1/2]

PolyConnectivity::ConstVertexIHalfedgeRange OpenMesh::SmartVertexHandle::incoming_halfedges ( ) const
inline

Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::voh_range())

Definition at line 984 of file PolyConnectivity_inline_impl.hh.

◆ incoming_halfedges() [2/2]

PolyConnectivity::ConstVertexIHalfedgeRange OpenMesh::SmartVertexHandle::incoming_halfedges ( HalfedgeHandle  _heh) const
inline

Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::vih_range())

Definition at line 988 of file PolyConnectivity_inline_impl.hh.

◆ incoming_halfedges_ccw() [1/2]

PolyConnectivity::ConstVertexIHalfedgeCCWRange OpenMesh::SmartVertexHandle::incoming_halfedges_ccw ( ) const
inline

Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::voh_ccw_range())

Definition at line 986 of file PolyConnectivity_inline_impl.hh.

◆ incoming_halfedges_ccw() [2/2]

PolyConnectivity::ConstVertexIHalfedgeCCWRange OpenMesh::SmartVertexHandle::incoming_halfedges_ccw ( HalfedgeHandle  _heh) const
inline

Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::vih_ccw_range())

Definition at line 990 of file PolyConnectivity_inline_impl.hh.

◆ incoming_halfedges_cw() [1/2]

PolyConnectivity::ConstVertexIHalfedgeCWRange OpenMesh::SmartVertexHandle::incoming_halfedges_cw ( ) const
inline

Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::voh_cw_range())

Definition at line 985 of file PolyConnectivity_inline_impl.hh.

◆ incoming_halfedges_cw() [2/2]

PolyConnectivity::ConstVertexIHalfedgeCWRange OpenMesh::SmartVertexHandle::incoming_halfedges_cw ( HalfedgeHandle  _heh) const
inline

Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::vih_cw_range())

Definition at line 989 of file PolyConnectivity_inline_impl.hh.

◆ is_manifold()

bool OpenMesh::SmartVertexHandle::is_manifold ( ) const
inline

Returns true iff (the mesh at) the vertex is two-manifold ?

Definition at line 379 of file SmartHandles.hh.

◆ out()

SmartHalfedgeHandle OpenMesh::SmartVertexHandle::out ( ) const
inline

Returns an outgoing halfedge.

Definition at line 357 of file SmartHandles.hh.

◆ outgoing_halfedges() [1/2]

PolyConnectivity::ConstVertexOHalfedgeRange OpenMesh::SmartVertexHandle::outgoing_halfedges ( ) const
inline

Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_range())

Definition at line 992 of file PolyConnectivity_inline_impl.hh.

◆ outgoing_halfedges() [2/2]

PolyConnectivity::ConstVertexOHalfedgeRange OpenMesh::SmartVertexHandle::outgoing_halfedges ( HalfedgeHandle  _heh) const
inline

Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_range())

Definition at line 996 of file PolyConnectivity_inline_impl.hh.

◆ outgoing_halfedges_ccw() [1/2]

PolyConnectivity::ConstVertexOHalfedgeCCWRange OpenMesh::SmartVertexHandle::outgoing_halfedges_ccw ( ) const
inline

Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_ccw_range())

Definition at line 994 of file PolyConnectivity_inline_impl.hh.

◆ outgoing_halfedges_ccw() [2/2]

PolyConnectivity::ConstVertexOHalfedgeCCWRange OpenMesh::SmartVertexHandle::outgoing_halfedges_ccw ( HalfedgeHandle  _heh) const
inline

Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_ccw_range())

Definition at line 998 of file PolyConnectivity_inline_impl.hh.

◆ outgoing_halfedges_cw() [1/2]

PolyConnectivity::ConstVertexOHalfedgeCWRange OpenMesh::SmartVertexHandle::outgoing_halfedges_cw ( ) const
inline

Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_cw_range())

Definition at line 993 of file PolyConnectivity_inline_impl.hh.

◆ outgoing_halfedges_cw() [2/2]

PolyConnectivity::ConstVertexOHalfedgeCWRange OpenMesh::SmartVertexHandle::outgoing_halfedges_cw ( HalfedgeHandle  _heh) const
inline

Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::voh_cw_range())

Definition at line 997 of file PolyConnectivity_inline_impl.hh.

◆ valence()

uint OpenMesh::SmartVertexHandle::valence ( ) const
inline

Returns valence of the vertex.

Definition at line 373 of file SmartHandles.hh.

◆ vertices()

PolyConnectivity::ConstVertexVertexRange OpenMesh::SmartVertexHandle::vertices ( ) const
inline

Returns a range of vertices adjacent to the vertex (PolyConnectivity::vv_range())

Definition at line 980 of file PolyConnectivity_inline_impl.hh.

◆ vertices_ccw()

PolyConnectivity::ConstVertexVertexCCWRange OpenMesh::SmartVertexHandle::vertices_ccw ( ) const
inline

Returns a range of vertices adjacent to the vertex (PolyConnectivity::vv_ccw_range())

Definition at line 982 of file PolyConnectivity_inline_impl.hh.

◆ vertices_cw()

PolyConnectivity::ConstVertexVertexCWRange OpenMesh::SmartVertexHandle::vertices_cw ( ) const
inline

Returns a range of vertices adjacent to the vertex (PolyConnectivity::vv_cw_range())

Definition at line 981 of file PolyConnectivity_inline_impl.hh.


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