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

#include <PointIndexGrid.h>

Public Types

typedef PointArray::PosType PosType
 
typedef PosType::value_type ScalarType
 
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 PosType &center, ScalarType radius, FilterType &op)
 Perform a radial search query and apply the given filter operator to the selected points. More...
 

Member Typedef Documentation

§ ConstAccessor

typedef tree::ValueAccessor<const TreeType> ConstAccessor

§ PosType

typedef PointArray::PosType PosType

§ ScalarType

typedef PosType::value_type ScalarType

Constructor & Destructor Documentation

§ PointIndexFilter() [1/2]

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() [2/2]

PointIndexFilter ( const PointIndexFilter< PointArray, TreeType > &  rhs)
inline

Thread safe copy constructor.

Member Function Documentation

§ searchAndApply()

void searchAndApply ( const PosType center,
ScalarType  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: