HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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
 

Friends

class ::TestIndexFilter
 

Detailed Description

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

Definition at line 169 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 173 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 172 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 175 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 209 of file IndexFilter.h.

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

Definition at line 232 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 212 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 240 of file IndexFilter.h.

Friends And Related Function Documentation

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

Definition at line 247 of file IndexFilter.h.


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