HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NodeMasks.h File Reference
#include <cassert>
#include <cstring>
#include <iostream>
#include <openvdb/Platform.h>
#include <openvdb/Types.h>
+ Include dependency graph for NodeMasks.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openvdb::OPENVDB_VERSION_NAME::util::BaseMaskIterator< NodeMask >
 Base class for the bit mask iterators. More...
 
class  openvdb::OPENVDB_VERSION_NAME::util::OnMaskIterator< NodeMask >
 
class  openvdb::OPENVDB_VERSION_NAME::util::OffMaskIterator< NodeMask >
 
class  openvdb::OPENVDB_VERSION_NAME::util::DenseMaskIterator< NodeMask >
 
class  openvdb::OPENVDB_VERSION_NAME::util::NodeMask< Log2Dim >
 Bit mask for the internal and leaf nodes of VDB. This is a 64-bit implementation. More...
 
class  openvdb::OPENVDB_VERSION_NAME::util::NodeMask< 1 >
 Template specialization of NodeMask for Log2Dim=1, i.e. 2^3 nodes. More...
 
class  openvdb::OPENVDB_VERSION_NAME::util::NodeMask< 2 >
 Template specialization of NodeMask for Log2Dim=2, i.e. 4^3 nodes. More...
 
class  openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask
 
class  openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::BaseIterator
 
class  openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::OnIterator
 
class  openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::OffIterator
 
class  openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::DenseIterator
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::util
 

Macros

#define B2(n)   n, n+1, n+1, n+2
 
#define B4(n)   B2(n), B2(n+1), B2(n+1), B2(n+2)
 
#define B6(n)   B4(n), B4(n+1), B4(n+1), B4(n+2)
 

Functions

Index32 openvdb::OPENVDB_VERSION_NAME::util::CountOn (Byte v)
 Return the number of on bits in the given 8-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::CountOff (Byte v)
 Return the number of off bits in the given 8-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::CountOn (Index32 v)
 Return the number of on bits in the given 32-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::CountOff (Index32 v)
 Return the number of off bits in the given 32-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::CountOn (Index64 v)
 Return the number of on bits in the given 64-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::CountOff (Index64 v)
 Return the number of off bits in the given 64-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::FindLowestOn (Byte v)
 Return the least significant on bit of the given 8-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::FindLowestOn (Index32 v)
 Return the least significant on bit of the given 32-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::FindLowestOn (Index64 v)
 Return the least significant on bit of the given 64-bit value. More...
 
Index32 openvdb::OPENVDB_VERSION_NAME::util::FindHighestOn (Index32 v)
 Return the most significant on bit of the given 32-bit value. More...
 

Detailed Description

Author
Ken Museth

Definition in file NodeMasks.h.

Macro Definition Documentation

#define B2 (   n)    n, n+1, n+1, n+2
#define B4 (   n)    B2(n), B2(n+1), B2(n+1), B2(n+2)
#define B6 (   n)    B4(n), B4(n+1), B4(n+1), B4(n+2)