#include <algorithm>
#include <cstring>
#include <iostream>
#include <openvdb/Platform.h>
#include <openvdb/Types.h>
#include <openvdb/util/Assert.h>
Go to the source code of this file.
|
Index32 | CountOn (Byte v) |
| Return the number of on bits in the given 8-bit value. More...
|
|
Index32 | CountOff (Byte v) |
| Return the number of off bits in the given 8-bit value. More...
|
|
Index32 | CountOn (Index32 v) |
| Return the number of on bits in the given 32-bit value. More...
|
|
Index32 | CountOff (Index32 v) |
| Return the number of off bits in the given 32-bit value. More...
|
|
Index32 | CountOn (Index64 v) |
| Return the number of on bits in the given 64-bit value. More...
|
|
Index32 | CountOff (Index64 v) |
| Return the number of off bits in the given 64-bit value. More...
|
|
Index32 | FindLowestOn (Byte v) |
| Return the least significant on bit of the given 8-bit value. More...
|
|
Index32 | FindLowestOn (Index32 v) |
| Return the least significant on bit of the given 32-bit value. More...
|
|
Index32 | FindLowestOn (Index64 v) |
| Return the least significant on bit of the given 64-bit value. More...
|
|
Index32 | FindHighestOn (Index32 v) |
| Return the most significant on bit of the given 32-bit value. More...
|
|
#define COUNTONB2 |
( |
|
n | ) |
n, n+1, n+1, n+2 |