OpenVDB  6.2.1
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
RandomLeafFilter< PointDataTreeT, RandGenT > Class Template Reference

#include <IndexFilter.h>

Public Types

using SeedCountPair = std::pair< Index, Index >
 
using LeafMap = std::unordered_map< openvdb::Coord, SeedCountPair >
 

Public Member Functions

 RandomLeafFilter (const PointDataTreeT &tree, const Index64 targetPoints, const unsigned int seed=0)
 
bool initialized () const
 
template<typename LeafT >
void reset (const LeafT &leaf)
 
void next () const
 
template<typename IterT >
bool valid (const IterT &iter) const
 

Static Public Member Functions

static index::State state ()
 
template<typename LeafT >
static index::State state (const LeafT &)
 

Friends

class ::TestIndexFilter
 

Member Typedef Documentation

using LeafMap = std::unordered_map<openvdb::Coord, SeedCountPair>
using SeedCountPair = std::pair<Index, Index>

Constructor & Destructor Documentation

RandomLeafFilter ( const PointDataTreeT &  tree,
const Index64  targetPoints,
const unsigned int  seed = 0 
)
inline

Member Function Documentation

bool initialized ( ) const
inline
void next ( ) const
inline
void reset ( const LeafT &  leaf)
inline
static index::State state ( )
inlinestatic
static index::State state ( const LeafT &  )
inlinestatic
bool valid ( const IterT &  iter) const
inline

Friends And Related Function Documentation

friend class ::TestIndexFilter
friend

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