Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
OpenMesh::ArrayKernel::StatusSetT< HandleT > Class Template Reference
Mesh Kernels

— StatusSet API — More...

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

Inheritance diagram for OpenMesh::ArrayKernel::StatusSetT< HandleT >:

## Public Types
typedef HandleT | Handle

## Public Member Functions
| StatusSetT (ArrayKernel &_kernel, const unsigned int _bit_mask)
bool | is_in (Handle _hnd) const
void | insert (Handle _hnd)
void | erase (Handle _hnd)
size_t | size () const
| Note: 0(n) complexity.
void | clear ()
| Note: O(n) complexity.

## Public Attributes
const unsigned int | bit_mask_

## Protected Attributes
ArrayKernel & | kernel_

## Detailed Description

### template<class HandleT>
class OpenMesh::ArrayKernel::StatusSetT< HandleT >

— StatusSet API —

Implements a set of connectivity entities (vertex, edge, face, halfedge) using the available bits in the corresponding mesh status field.

Status-based sets are much faster than std::set<> and equivalent in performance to std::vector<bool>, but much more convenient.

Definition at line 640 of file ArrayKernel.hh.

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

- libs_required/OpenMesh/src/OpenMesh/Core/Mesh/ArrayKernel.hh