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::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 254 of file IndexFilter.h.

Member Typedef Documentation

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

Definition at line 258 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 257 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 260 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 294 of file IndexFilter.h.

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

Definition at line 321 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 301 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 296 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 298 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 329 of file IndexFilter.h.

Friends And Related Function Documentation

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

Definition at line 336 of file IndexFilter.h.


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