HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::points::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
 

Detailed Description

template<typename PointDataTreeT, typename RandGenT>
class openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >

Definition at line 228 of file IndexFilter.h.

Member Typedef Documentation

template<typename PointDataTreeT , typename RandGenT >
using openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::LeafMap = std::unordered_map<openvdb::Coord, SeedCountPair>

Definition at line 232 of file IndexFilter.h.

template<typename PointDataTreeT , typename RandGenT >
using openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::SeedCountPair = std::pair<Index, Index>

Definition at line 231 of file IndexFilter.h.

Constructor & Destructor Documentation

template<typename PointDataTreeT , typename RandGenT >
openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::RandomLeafFilter ( const PointDataTreeT &  tree,
const Index64  targetPoints,
const unsigned int  seed = 0 
)
inline

Definition at line 234 of file IndexFilter.h.

Member Function Documentation

template<typename PointDataTreeT , typename RandGenT >
bool openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::initialized ( ) const
inline

Definition at line 268 of file IndexFilter.h.

template<typename PointDataTreeT , typename RandGenT >
void openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::next ( ) const
inline

Definition at line 295 of file IndexFilter.h.

template<typename PointDataTreeT , typename RandGenT >
template<typename LeafT >
void openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::reset ( const LeafT &  leaf)
inline

Definition at line 275 of file IndexFilter.h.

template<typename PointDataTreeT , typename RandGenT >
static index::State openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::state ( )
inlinestatic

Definition at line 270 of file IndexFilter.h.

template<typename PointDataTreeT , typename RandGenT >
template<typename LeafT >
static index::State openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::state ( const LeafT &  )
inlinestatic

Definition at line 272 of file IndexFilter.h.

template<typename PointDataTreeT , typename RandGenT >
template<typename IterT >
bool openvdb::OPENVDB_VERSION_NAME::points::RandomLeafFilter< PointDataTreeT, RandGenT >::valid ( const IterT &  iter) const
inline

Definition at line 303 of file IndexFilter.h.

Friends And Related Function Documentation

template<typename PointDataTreeT , typename RandGenT >
friend class ::TestIndexFilter
friend

Definition at line 310 of file IndexFilter.h.


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