HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PointCount.h File Reference

Various point counting methods using a VDB Point Grid. More...

#include <openvdb/openvdb.h>
#include "AttributeSet.h"
#include "PointDataGrid.h"
#include "PointAttribute.h"
#include "IndexFilter.h"
#include <tbb/parallel_reduce.h>
+ Include dependency graph for PointCount.h:

Go to the source code of this file.

Classes

struct  openvdb::OPENVDB_VERSION_NAME::points::point_count_internal::PointCountOp< PointDataTreeT, ValueIterT, FilterT >
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::points
 
 openvdb::OPENVDB_VERSION_NAME::points::point_count_internal
 

Functions

template<typename PointDataTreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::pointCount (const PointDataTreeT &tree, const bool inCoreOnly=false)
 Total points in the PointDataTree. More...
 
template<typename PointDataTreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::activePointCount (const PointDataTreeT &tree, const bool inCoreOnly=false)
 Total active points in the PointDataTree. More...
 
template<typename PointDataTreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::inactivePointCount (const PointDataTreeT &tree, const bool inCoreOnly=false)
 Total inactive points in the PointDataTree. More...
 
template<typename PointDataTreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::getPointOffsets (std::vector< Index64 > &pointOffsets, const PointDataTreeT &tree, const std::vector< Name > &includeGroups=std::vector< Name >(), const std::vector< Name > &excludeGroups=std::vector< Name >(), const bool inCoreOnly=false)
 Populate an array of cumulative point offsets per leaf node. More...
 
template<typename PointDataTreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::groupPointCount (const PointDataTreeT &tree, const Name &name, const bool inCoreOnly=false)
 Total points in the group in the PointDataTree. More...
 
template<typename PointDataTreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::activeGroupPointCount (const PointDataTreeT &tree, const Name &name, const bool inCoreOnly=false)
 Total active points in the group in the PointDataTree. More...
 
template<typename PointDataTreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::inactiveGroupPointCount (const PointDataTreeT &tree, const Name &name, const bool inCoreOnly=false)
 Total inactive points in the group in the PointDataTree. More...
 
template<typename PointDataTreeT , typename FilterT , typename ValueIterT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::point_count_internal::threadedFilterPointCount (const PointDataTreeT &tree, const FilterT &filter, const bool inCoreOnly=false)
 
template<typename PointDataTreeT , typename FilterT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::point_count_internal::filterPointCount (const PointDataTreeT &tree, const FilterT &filter, const bool inCoreOnly=false)
 
template<typename PointDataTreeT , typename FilterT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::point_count_internal::filterActivePointCount (const PointDataTreeT &tree, const FilterT &filter, const bool inCoreOnly=false)
 
template<typename PointDataTreeT , typename FilterT >
Index64 openvdb::OPENVDB_VERSION_NAME::points::point_count_internal::filterInactivePointCount (const PointDataTreeT &tree, const FilterT &filter, const bool inCoreOnly=false)
 

Detailed Description

Various point counting methods using a VDB Point Grid.

Author
Dan Bailey

Definition in file PointCount.h.