MeshLib Documentation
Loading...
Searching...
No Matches
MR::RangeCounter< TreeT > Class Template Reference

functor to calculate tile and leaf valid nodes count More...

#include <MROpenVDBHelper.h>

Public Types

using ValueT = typename TreeT::ValueType
 
using TreeAccessor = openvdb::tree::ValueAccessor<const TreeT>
 
using LeafIterT = typename TreeT::LeafCIter
 
using TileIterT = typename TreeT::ValueAllCIter
 

Public Member Functions

 RangeCounter ()
 
 RangeCounter (const RangeCounter &)
 
void action (const LeafIterT &, const TreeAccessor &, const openvdb::math::CoordBBox &)
 
void action (const TileIterT &, const TreeAccessor &, const openvdb::math::CoordBBox &)
 
void join (const RangeCounter &other)
 

Public Attributes

RangeSize size
 

Detailed Description

template<typename TreeT>
class MR::RangeCounter< TreeT >

functor to calculate tile and leaf valid nodes count

valid node - the node where the action is performed. it is necessary to calculate the progress in real action

Member Typedef Documentation

◆ LeafIterT

template<typename TreeT >
using MR::RangeCounter< TreeT >::LeafIterT = typename TreeT::LeafCIter

◆ TileIterT

template<typename TreeT >
using MR::RangeCounter< TreeT >::TileIterT = typename TreeT::ValueAllCIter

◆ TreeAccessor

template<typename TreeT >
using MR::RangeCounter< TreeT >::TreeAccessor = openvdb::tree::ValueAccessor<const TreeT>

◆ ValueT

template<typename TreeT >
using MR::RangeCounter< TreeT >::ValueT = typename TreeT::ValueType

Constructor & Destructor Documentation

◆ RangeCounter() [1/2]

template<typename TreeT >
MR::RangeCounter< TreeT >::RangeCounter ( )
inline

◆ RangeCounter() [2/2]

template<typename TreeT >
MR::RangeCounter< TreeT >::RangeCounter ( const RangeCounter< TreeT > & )
inline

Member Function Documentation

◆ action() [1/2]

template<typename TreeT >
void MR::RangeCounter< TreeT >::action ( const LeafIterT & ,
const TreeAccessor & ,
const openvdb::math::CoordBBox &  )
inline

◆ action() [2/2]

template<typename TreeT >
void MR::RangeCounter< TreeT >::action ( const TileIterT & ,
const TreeAccessor & ,
const openvdb::math::CoordBBox &  )
inline

◆ join()

template<typename TreeT >
void MR::RangeCounter< TreeT >::join ( const RangeCounter< TreeT > & other)
inline

Member Data Documentation

◆ size

template<typename TreeT >
RangeSize MR::RangeCounter< TreeT >::size

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