For point sampling, tree traversal is less expensive than testing bounding box membership.
More...
#include <GridTransformer.h>
Inherits PointSampler.
|
| TileSampler (const CoordBBox &, const typename TreeT::ValueType &, bool) |
|
template<class TreeT > |
bool | sample (const TreeT &inTree, const Vec3R &inCoord, typename TreeT::ValueType &result) |
|
|
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. More...
|
|
template<typename TreeT>
struct openvdb::v1_2_0::tools::internal::TileSampler< PointSampler, TreeT >
For point sampling, tree traversal is less expensive than testing bounding box membership.
static bool consistent |
( |
) | |
|
|
inlinestaticinherited |
static const char* name |
( |
) | |
|
|
inlinestaticinherited |
static bool sample |
( |
const TreeT & |
inTree, |
|
|
const Vec3R & |
inCoord, |
|
|
typename TreeT::ValueType & |
result |
|
) |
| |
|
staticinherited |
Sample inTree at the nearest neighbor to inCoord and store the result in result.
- Returns
true
if the sampled value is active.
bool sample |
( |
const TreeT & |
inTree, |
|
|
const Vec3R & |
inCoord, |
|
|
typename TreeT::ValueType & |
result |
|
) |
| |
|
inlineinherited |
The documentation for this struct was generated from the following file: