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) |
|
|
static const char * | name () |
|
static int | radius () |
|
static bool | mipmap () |
|
static bool | consistent () |
|
static bool | staggered () |
|
static size_t | order () |
|
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<class TreeT > |
static TreeT::ValueType | sample (const TreeT &inTree, const Vec3R &inCoord) |
| Sample inTree at the nearest neighbor to inCoord. More...
|
|
template<typename TreeT>
class openvdb::v3_1_0::tools::internal::TileSampler< PointSampler, TreeT >
For point sampling, tree traversal is less expensive than testing bounding box membership.
TileSampler |
( |
const CoordBBox & |
, |
|
|
const typename TreeT::ValueType & |
, |
|
|
bool |
|
|
) |
| |
|
inline |
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.
TreeT::ValueType sample |
( |
const TreeT & |
inTree, |
|
|
const Vec3R & |
inCoord |
|
) |
| |
|
inlinestaticinherited |
Sample inTree at the nearest neighbor to inCoord.
- Returns
- the reconstructed value
static bool staggered |
( |
| ) |
|
|
inlinestaticinherited |
The documentation for this class was generated from the following file: