Developer Documentation
OpenMesh::BaseHandle Class Reference

Base class for all handle types. More...

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

Inheritance diagram for OpenMesh::BaseHandle:
OpenMesh::BasePropHandleT< bool > OpenMesh::BasePropHandleT< Color > OpenMesh::BasePropHandleT< double > OpenMesh::BasePropHandleT< EdgeData > OpenMesh::BasePropHandleT< FaceData > OpenMesh::BasePropHandleT< float > OpenMesh::BasePropHandleT< Geometry::QuadricT< double > > OpenMesh::BasePropHandleT< HalfedgeData > OpenMesh::BasePropHandleT< HalfedgeHandle > OpenMesh::BasePropHandleT< int > OpenMesh::BasePropHandleT< level_t > OpenMesh::BasePropHandleT< Normal > OpenMesh::BasePropHandleT< NormalType > OpenMesh::BasePropHandleT< OpenMesh::Attributes::StatusInfo > OpenMesh::BasePropHandleT< OpenMesh::NormalConeT > OpenMesh::BasePropHandleT< Point > OpenMesh::BasePropHandleT< Points > OpenMesh::BasePropHandleT< Scalar > OpenMesh::BasePropHandleT< size_t > OpenMesh::BasePropHandleT< StatusInfo > OpenMesh::BasePropHandleT< std::pair< typename MeshType::OpenMesh::VertexHandle, typename MeshType::OpenMesh::VertexHandle > > OpenMesh::BasePropHandleT< TexCoord > OpenMesh::BasePropHandleT< TexCoord1D > OpenMesh::BasePropHandleT< TexCoord2D > OpenMesh::BasePropHandleT< TexCoord3D > OpenMesh::BasePropHandleT< TextureIndex > OpenMesh::BasePropHandleT< typename Mesh::Point > OpenMesh::BasePropHandleT< typename mesh_t::Point > OpenMesh::BasePropHandleT< typename MeshT::Scalar > OpenMesh::BasePropHandleT< typename MeshType::OpenMesh::VertexHandle > OpenMesh::BasePropHandleT< typename MeshType::Point > OpenMesh::BasePropHandleT< typename OpenMesh::TriMesh_ArrayKernelT::Normal > OpenMesh::BasePropHandleT< unsigned int > OpenMesh::BasePropHandleT< VertexData > OpenMesh::BasePropHandleT< T > OpenMesh::EdgeHandle OpenMesh::FaceHandle OpenMesh::HalfedgeHandle OpenMesh::Subdivider::Adaptive::RuleHandleT< R > OpenMesh::VDPM::VHierarchyNodeHandle OpenMesh::VertexHandle

Public Member Functions

 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 equal to -1.
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)

Private Attributes

int idx_

Detailed Description

Base class for all handle types.

Definition at line 67 of file Handles.hh.

The documentation for this class was generated from the following file: