Developer Documentation
OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface Class Reference

Heap interface. More...

#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Tools/Decimater/DecimaterT.hh>

Public Member Functions

 HeapInterface (Mesh &_mesh, VPropHandleT< float > _prio, VPropHandleT< int > _pos)
 
bool less (VertexHandle _vh0, VertexHandle _vh1)
 
bool greater (VertexHandle _vh0, VertexHandle _vh1)
 
int get_heap_position (VertexHandle _vh)
 
void set_heap_position (VertexHandle _vh, int _pos)
 

Private Attributes

Meshmesh_
 
VPropHandleT< float > prio_
 
VPropHandleT< int > pos_
 

Detailed Description

template<typename MeshT>
class OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface

Heap interface.

Definition at line 148 of file DecimaterT.hh.

Constructor & Destructor Documentation

◆ HeapInterface()

template<typename MeshT >
OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface::HeapInterface ( Mesh _mesh,
VPropHandleT< float >  _prio,
VPropHandleT< int >  _pos 
)
inline

Definition at line 152 of file DecimaterT.hh.

Member Function Documentation

◆ get_heap_position()

template<typename MeshT >
int OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface::get_heap_position ( VertexHandle  _vh)
inline

Definition at line 167 of file DecimaterT.hh.

◆ greater()

template<typename MeshT >
bool OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface::greater ( VertexHandle  _vh0,
VertexHandle  _vh1 
)
inline

Definition at line 163 of file DecimaterT.hh.

◆ less()

template<typename MeshT >
bool OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface::less ( VertexHandle  _vh0,
VertexHandle  _vh1 
)
inline

Definition at line 159 of file DecimaterT.hh.

◆ set_heap_position()

template<typename MeshT >
void OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface::set_heap_position ( VertexHandle  _vh,
int  _pos 
)
inline

Definition at line 171 of file DecimaterT.hh.

Member Data Documentation

◆ mesh_

template<typename MeshT >
Mesh& OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface::mesh_
private

Definition at line 176 of file DecimaterT.hh.

◆ pos_

template<typename MeshT >
VPropHandleT<int> OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface::pos_
private

Definition at line 178 of file DecimaterT.hh.

◆ prio_

template<typename MeshT >
VPropHandleT<float> OpenMesh::Decimater::DecimaterT< MeshT >::HeapInterface::prio_
private

Definition at line 177 of file DecimaterT.hh.


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