HDK
|
Methods for counting points in VDB Point grids. More...
#include <openvdb/openvdb.h>
#include "PointDataGrid.h"
#include "PointMask.h"
#include "IndexFilter.h"
#include <tbb/parallel_reduce.h>
#include <vector>
#include "impl/PointCountImpl.h"
Go to the source code of this file.
Namespaces | |
openvdb | |
openvdb::OPENVDB_VERSION_NAME | |
openvdb::OPENVDB_VERSION_NAME::points | |
Functions | |
template<typename PointDataTreeT , typename FilterT > | |
Index64 | openvdb::OPENVDB_VERSION_NAME::points::pointCount (const PointDataTreeT &tree, const FilterT &filter=NullFilter(), const bool inCoreOnly=false, const bool threaded=true) |
Count the total number of points in a PointDataTree. More... | |
template<typename PointDataTreeT , typename FilterT > | |
Index64 | openvdb::OPENVDB_VERSION_NAME::points::pointOffsets (std::vector< Index64 > &pointOffsets, const PointDataTreeT &tree, const FilterT &filter=NullFilter(), const bool inCoreOnly=false, const bool threaded=true) |
Populate an array of cumulative point offsets per leaf node. More... | |
template<typename PointDataGridT , typename GridT , typename FilterT > | |
GridT::Ptr | openvdb::OPENVDB_VERSION_NAME::points::pointCountGrid (const PointDataGridT &grid, const FilterT &filter=NullFilter()) |
Generate a new grid with voxel values to store the number of points per voxel. More... | |
template<typename PointDataGridT , typename GridT , typename FilterT > | |
GridT::Ptr | openvdb::OPENVDB_VERSION_NAME::points::pointCountGrid (const PointDataGridT &grid, const openvdb::math::Transform &transform, const FilterT &filter=NullFilter()) |
Generate a new grid that uses the supplied transform with voxel values to store the number of points per voxel. More... | |
Methods for counting points in VDB Point grids.
Definition in file PointCount.h.