![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Seg/Utils.h>
Convenience class for handling locked/unlocked state of labels. More...
Convenience class for handling locked/unlocked state of labels.
The flags can be set one-by-one, and passed to the shader as an array of uint32_t of size 8 (totalling 256 bits). The shader must still do the bit-manipulation to retrieve the individual locking status of each label
Public Member Functions | |
| void | setLocked (uint8_t labelIndex, bool locked) |
| bool | locked (uint8_t labelIndex) const |
| void | setAll (bool locked) |
| const std::vector< uint32_t > & | flags () |