OpenVDB  3.0.0
Public Types | Public Member Functions | List of all members
PointIndexFilter< PointArray, TreeType > Struct Template Reference

#include <PointIndexGrid.h>

Public Types

typedef PointArray::value_type PointType
 
typedef PointType::ValueType PointElementType
 
typedef tree::ValueAccessor< const TreeType > ConstAccessor
 

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 PointType &center, PointElementType radius, FilterType &op)
 Perform a radial search query and apply the given filter operator to the selected points. More...
 

Member Typedef Documentation

typedef tree::ValueAccessor<const TreeType> ConstAccessor
typedef PointType::ValueType PointElementType
typedef PointArray::value_type PointType

Constructor & Destructor Documentation

PointIndexFilter ( const PointArray points,
const TreeType &  tree,
const math::Transform xform 
)
inline

Constructor.

Parameters
pointsworld-space point array conforming to the PointArray interface
treea point index tree
xformlinear, uniform-scale transform (i.e., cubical voxels)
PointIndexFilter ( const PointIndexFilter< PointArray, TreeType > &  rhs)
inline

Thread safe copy constructor.

Member Function Documentation

void searchAndApply ( const PointType center,
PointElementType  radius,
FilterType op 
)
inline

Perform a radial search query and apply the given filter operator to the selected points.

Parameters
centerworld-space center
radiusworld-space radius
opcustom filter operator (see the FilterType example for interface details)

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