Developer Documentation
|
— StatusSet API — More...
#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Mesh/ArrayKernel.hh>
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. More... | |
void | clear () |
Note: O(n) complexity. More... | |
Public Attributes | |
const unsigned int | bit_mask_ |
Protected Attributes | |
ArrayKernel & | kernel_ |
— 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 637 of file ArrayKernel.hh.
typedef HandleT OpenMesh::ArrayKernel::StatusSetT< HandleT >::Handle |
Definition at line 640 of file ArrayKernel.hh.
|
inline |
Definition at line 649 of file ArrayKernel.hh.
|
inline |
Definition at line 653 of file ArrayKernel.hh.
|
inline |
Note: O(n) complexity.
Definition at line 678 of file ArrayKernel.hh.
|
inline |
Definition at line 662 of file ArrayKernel.hh.
|
inline |
Definition at line 659 of file ArrayKernel.hh.
|
inline |
Definition at line 656 of file ArrayKernel.hh.
|
inline |
Note: 0(n) complexity.
Definition at line 666 of file ArrayKernel.hh.
const unsigned int OpenMesh::ArrayKernel::StatusSetT< HandleT >::bit_mask_ |
Definition at line 646 of file ArrayKernel.hh.
|
protected |
Definition at line 643 of file ArrayKernel.hh.