OpenVDB
12.0.0
|
#include <openvdb/tools/PointIndexGrid.h>
Public Types | |
using | PosType = typename PointArray::PosType |
using | ScalarType = typename PosType::value_type |
using | ConstAccessor = tree::ValueAccessor< const TreeType > |
Public Member Functions | |
PointIndexFilter (const PointArray &points, const TreeType &tree, const math::Transform &xform) | |
Constructor. More... | |
PointIndexFilter (const PointIndexFilter &rhs) | |
Thread safe copy constructor. More... | |
template<typename FilterType > | |
void | searchAndApply (const PosType ¢er, ScalarType radius, FilterType &op) |
Perform a radial search query and apply the given filter operator to the selected points. More... | |
using ConstAccessor = tree::ValueAccessor<const TreeType> |
using PosType = typename PointArray::PosType |
using ScalarType = typename PosType::value_type |
|
inline |
Constructor.
points | world-space point array conforming to the PointArray interface |
tree | a point index tree |
xform | linear, uniform-scale transform (i.e., cubical voxels) |
|
inline |
Thread safe copy constructor.
|
inline |
Perform a radial search query and apply the given filter operator to the selected points.
center | world-space center |
radius | world-space radius |
op | custom filter operator (see the FilterType example for interface details) |