HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::PointIndexFilter< PointArray, TreeType > Struct Template Reference

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

Detailed Description

template<typename PointArray, typename TreeType = PointIndexTree>
struct openvdb::OPENVDB_VERSION_NAME::tools::PointIndexFilter< PointArray, TreeType >

Definition at line 305 of file PointIndexGrid.h.

Member Typedef Documentation

template<typename PointArray , typename TreeType = PointIndexTree>
using openvdb::OPENVDB_VERSION_NAME::tools::PointIndexFilter< PointArray, TreeType >::ConstAccessor = tree::ValueAccessor<const TreeType>

Definition at line 309 of file PointIndexGrid.h.

template<typename PointArray , typename TreeType = PointIndexTree>
using openvdb::OPENVDB_VERSION_NAME::tools::PointIndexFilter< PointArray, TreeType >::PosType = typename PointArray::PosType

Definition at line 307 of file PointIndexGrid.h.

template<typename PointArray , typename TreeType = PointIndexTree>
using openvdb::OPENVDB_VERSION_NAME::tools::PointIndexFilter< PointArray, TreeType >::ScalarType = typename PosType::value_type

Definition at line 308 of file PointIndexGrid.h.

Constructor & Destructor Documentation

template<typename PointArray , typename TreeType >
openvdb::OPENVDB_VERSION_NAME::tools::PointIndexFilter< PointArray, TreeType >::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)

Definition at line 1226 of file PointIndexGrid.h.

template<typename PointArray , typename TreeType >
openvdb::OPENVDB_VERSION_NAME::tools::PointIndexFilter< PointArray, TreeType >::PointIndexFilter ( const PointIndexFilter< PointArray, TreeType > &  rhs)
inline

Thread safe copy constructor.

Definition at line 1235 of file PointIndexGrid.h.

Member Function Documentation

template<typename PointArray , typename TreeType >
template<typename FilterType >
void openvdb::OPENVDB_VERSION_NAME::tools::PointIndexFilter< PointArray, TreeType >::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)

Definition at line 1247 of file PointIndexGrid.h.


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