Smart Tagger.
More...
#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Tools/SmartTagger/SmartTaggerT.hh>
|
| | SmartTaggerT (Mesh &_mesh, unsigned int _tag_range=1) |
| | Constructor.
|
| |
| | ~SmartTaggerT () |
| | Destructor.
|
| |
| void | untag_all () |
| | untag all elements
|
| |
| void | untag_all (const unsigned int _new_tag_range) |
| | untag all elements and set new tag_range
|
| |
| void | set_tag (const EHandle _eh, unsigned int _tag=1) |
| | set tag to a value in [0..tag_range]
|
| |
| unsigned int | get_tag (const EHandle _eh) const |
| | get tag value in range [0..tag_range]
|
| |
| bool | is_tagged (const EHandle _eh) const |
| | overloaded member for boolean tags
|
| |
| void | set_tag_range (const unsigned int _tag_range) |
| | set new tag range and untag_all
|
| |
template<class
Mesh, class EHandle, class EPHandle>
class OpenMesh::SmartTaggerT< Mesh, EHandle, EPHandle >
Smart Tagger.
A tagger class to be used on OpenMesh. It provides an O(1) reset function for the property.
Usage:
bool is_tagged(const EHandle _eh) const
overloaded member for boolean tags
void set_tag(const EHandle _eh, unsigned int _tag=1)
set tag to a value in [0..tag_range]
void untag_all()
untag all elements
Definition at line 124 of file SmartTaggerT.hh.
◆ SmartTaggerT()
template<class
Mesh , class EHandle , class EPHandle >
◆ ~SmartTaggerT()
template<class
Mesh , class EHandle , class EPHandle >
◆ all_tags_to_zero()
template<class
Mesh , class EHandle , class EPHandle >
◆ get_tag()
template<class
Mesh , class EHandle , class EPHandle >
get tag value in range [0..tag_range]
- Parameters
-
| _eh | Edge handle for the tag |
- Returns
- Current tag value at that edge
Definition at line 140 of file SmartTaggerT_impl.hh.
◆ is_tagged()
template<class
Mesh , class EHandle , class EPHandle >
overloaded member for boolean tags
- Parameters
-
| _eh | Edge handle for the tag |
- Returns
- Current tag value at that edge
Definition at line 160 of file SmartTaggerT_impl.hh.
◆ set_tag()
template<class
Mesh , class EHandle , class EPHandle >
set tag to a value in [0..tag_range]
- Parameters
-
| _eh | Edge handle for the tag |
| _tag | Tag value |
Definition at line 123 of file SmartTaggerT_impl.hh.
◆ set_tag_range()
template<class
Mesh , class EHandle , class EPHandle >
set new tag range and untag_all
Set new tag range and reset tagger
- Parameters
-
| _tag_range | New tag range of the tagger |
Definition at line 172 of file SmartTaggerT_impl.hh.
◆ untag_all() [1/2]
template<class
Mesh , class EHandle , class EPHandle >
◆ untag_all() [2/2]
template<class
Mesh , class EHandle , class EPHandle >
untag all elements and set new tag_range
- Parameters
-
| _new_tag_range | New tag range of the tagger |
Definition at line 112 of file SmartTaggerT_impl.hh.
◆ current_base_
template<class
Mesh , class EHandle , class EPHandle >
◆ ep_tag_
template<class
Mesh , class EHandle , class EPHandle >
◆ mesh_
template<class
Mesh , class EHandle , class EPHandle >
◆ tag_range_
template<class
Mesh , class EHandle , class EPHandle >
The documentation for this class was generated from the following files: