For point sampling, tree traversal is less expensive than testing bounding box membership.
More...
#include <GridTransformer.h>
Inherits PointSampler.
Static Public Member Functions |
static const char * | name () |
static int | radius () |
static bool | mipmap () |
static bool | consistent () |
template<class TreeT > |
static bool | sample (const TreeT &inTree, const Vec3R &inCoord, typename TreeT::ValueType &result) |
| Sample inTree at the nearest neighbor to inCoord and store the result in result.
|
Detailed Description
template<typename TreeT>
struct openvdb::v1_1_0::tools::internal::TileSampler< PointSampler, TreeT >
For point sampling, tree traversal is less expensive than testing bounding box membership.
Constructor & Destructor Documentation
Member Function Documentation
static bool consistent |
( |
| ) |
|
|
inlinestaticinherited |
static const char* name |
( |
| ) |
|
|
inlinestaticinherited |
bool sample |
( |
const TreeT & |
inTree, |
|
|
const Vec3R & |
inCoord, |
|
|
typename TreeT::ValueType & |
result |
|
) |
| |
|
inlinestaticinherited |
Sample inTree at the nearest neighbor to inCoord and store the result in result.
- Returns
true
if the sampled value is active.
The documentation for this struct was generated from the following file: